J
John
I'm trying to call a Webservice (Non-.NET) That requires the insertion
of security credentials into the SOAP header. Up until know I've been
creating Dynamic proxy classes to call web services and not been
dealing with the inner workings of SOAP.
Looks Like I need to learn a little about soap and Manually calling
Web Services.....
Any help will be very appreciated !!!
I've been told my SOAP message needs to look as follows:
<SOAP-ENV:Header>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/
secext">
<wsse:UsernameToken>
<wsse:Username>AUSER</wsse:Username>
<wsseassword Type="wsseasswordText">APassword</
wsseassword>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:Search_spcUser xmlns:ns1="http://myapp.com/asi">
<UserId>John</UserId>
</ns1:Search_spcUser>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
of security credentials into the SOAP header. Up until know I've been
creating Dynamic proxy classes to call web services and not been
dealing with the inner workings of SOAP.
Looks Like I need to learn a little about soap and Manually calling
Web Services.....
Any help will be very appreciated !!!
I've been told my SOAP message needs to look as follows:
<SOAP-ENV:Header>
<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/
secext">
<wsse:UsernameToken>
<wsse:Username>AUSER</wsse:Username>
<wsseassword Type="wsseasswordText">APassword</
wsseassword>
</wsse:UsernameToken>
</wsse:Security>
</SOAP-ENV:Header>
<SOAP-ENV:Body>
<ns1:Search_spcUser xmlns:ns1="http://myapp.com/asi">
<UserId>John</UserId>
</ns1:Search_spcUser>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>