Skip to Content
0
Former Member
Oct 11, 2005 at 12:34 PM

How to pass user credentials to a soap sender adapter?

14 Views

Hello XI Guys,

can anybody tell me how to pass user-credentials to the soap adapter.

We have an application, where we collect data, generate a soap message and post it via soap to the soap-adapter.

Prompt for user / pwd pops up. We don't want this pop-up, so we try to send the user/pwd information in the soap message.

We have tried something like this:

...

<SOAP-ENV:Header>

http://schemas.xmlsoap.org/ws/2002/01/sec" mustUnderstand="1">

<sec:userName>xiappluser</sec:userName>

<sec:userPassword>xipass</sec:userPassword>

</sec:credentials>

</SOAP-ENV:Header>

<SOAP-ENV:Body>

...

with no success.

If we remove the security-constraint section of the web.xml of the message-servlet, the pop-up is gone, but we give-up the basic authentification security.

So whow do we achieve posting a soap message with no user/pwd pop-ups.

Thanks in advance.

Frank