Quantcast
Channel: SCN : Popular Discussions - Custom Code Management
Viewing all articles
Browse latest Browse all 731

Regarding message level authentication in WSDL

$
0
0

Hi,

We developed scenario like below.

  • There is a consumer webservice interface which we developed through proxy class.
  • When we created the binding, selected 'Message level authentication' with 'Username and password' option.
  • But in the XML I couldn't see any tags asking for user name and password.
  • The requirement is to take the credentials through message header.

 

My queries are:

  • How do I edit the <sp:WssUsernameToken10 /> in XML to input username and password?
  • I tried to research and found out that IF_WSPROTOCOL_WS_HEADER can be used here but dont know where to call this in my code.
  • Also how this will validate the user name and password?
  • Or is there any other way to include username and password in the XML?

 

Please help as this is causing so much issues.


Viewing all articles
Browse latest Browse all 731

Trending Articles