cancel
Showing results for 
Search instead for 
Did you mean: 

Username and password for SOAP sender call

Former Member
0 Kudos

Hello,

does anyone know how to provide the username and password to a SOAP sender call, e.g. XI receives the ws via soap and needs to know which userid and password to check. When you use a SOAP client they use basic authentication which sends the request first to XI and XI send a request back for password. This would work for an online app but not for ws from machine to machine. I read some docu about query strings but no where it has an example what to put either on the request URL, the adapter or the SOAP envelope. SOAP 1.1 seems to have left that open and IBM has an example using SOAP Header which did not work with XI.

Thanks

Stefan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

do you use the javax.xml.rpc.Call class? Because then

you can supply username and password to the call via

the addParameter method. I think I did that with XI 3.0

and it worked. If you need more information please consult

the javax.xml.rpc.Call javadoc.

Best regards,

Hermann

Former Member
0 Kudos

Hi Hermann,

the class on the XI SOAP Sender on the module tab is localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean. This is the standard SAP one when you create the adapter. No idea what the javax.xml.rpc is.

Thanks

Stefan