cancel
Showing results for 
Search instead for 
Did you mean: 

Username and password through SOAP header

Former Member
0 Kudos

Hi Gurus

I am developing web service model in webdynpro by consuming third-party WSDL. This third party web service expecting me to send the user name &password through SOAP header.

Can any body tell me how to pass the username password through SOAP header using webdynpro model?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try following the replies in [this|https://forums.sdn.sap.com/click.jspa?searchID=16519306&messageID=3350612] thread.

Regards,

Satyajit.

Former Member
0 Kudos

Thankyou Satyajit.

But the link you provided is not through the SOAP header.

Former Member
0 Kudos

Hi,

In WD there's no direct way to access the SOAP message header. If the web service defines implicit headers in JAX-RPC then you have to use the setProperty methods of the javax.xml.rpc.Stub interface so that the JAX-RPC handler can retrieve these via the getProperty methods.

Regards,

Satyajit.

Former Member
0 Kudos

Thank you very much Satyajit,It is very helpful

I have question in above approach, Where we have to use this setProperty in the server or in the client?

If you have any sample codes please share with me. Thank you again for your help.

Answers (0)