CrazyEngineers
  • Problem while creating Web Service Client

    ankur8819

    Member

    Updated: Oct 15, 2024
    Views: 1.1K
    Hi,
    I am trying to create a WebService client using WAS 5 and RAD 7.
    The Webservice requires some hard coded authentication details in the SOAP header .
    Can anyone tell me how to configure them using WAS 5 and RAD 7.
    I was able to do that using WAS 6.
    These two app servers generate different xml files and I am not able to find the right place for configuration when I use WAS 5.
    I am pasting the SOAP request for reference.


    <soap:Envelope xmlns:soap="https://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="https://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <soap:Header>
    <wsse:Security xmlns:wsse="https://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="https://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="https://schemas.xmlsoap.org/soap/envelope/" soap:mustUnderstand="1">
    <wsse:UsernameToken xmlns:wsse="https://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="https://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:Username>
    YYY
    </wsse:Username>

    <wsse😛assword Type="https://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">
    XXX
    </wsse😛assword>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    <soap:Body xmlns:ns1="https://xmlns.oracle.com/WISCOWSMBPEL">

    </soap:Body>
    </soap:Envelope>

    Let me know if anyone has the solution to this.
    Thanks ,
    Ankur
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • ankur8819

    MemberNov 3, 2011

    Any one worked with Axis2 ???
    Are you sure? This action cannot be undone.
    Cancel
  • PraveenKumar Purushothaman

    MemberDec 22, 2011

    You can call using XmlHttpRequest right?
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register