cancel
Showing results for 
Search instead for 
Did you mean: 

sending SOAP message with user name and password in URL

former_member232455
Participant
0 Kudos


Hi Friends,


1.I have one requirement, we need to send one message using sender SOAP adapter. I have done the testing while sending message soap UI tool with below URL,but i am geeting an error like,"unauthorized error".

 

http://  

<host name>

 :  

<port name>

 /XISOAPAdapter/MessageServlet?senderParty=  

<name of the sender party>

 &senderService=  

<name of the sender service>

 &interface=  

<name of the interface>

 &receiverParty=  

<name of the receiver  party>

 &receiverService=  

<name of the receiver service>

 &interfaceNamespace=  

<name of the interface namespace>

 

2. I want to provide the URL without user name and password, COuld you please suggest us how can i do this?

 

 

Thanks,

Janardhan

 

 

 

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member232455
Participant
0 Kudos

Hi All,

Thnaks for you reply.

while testing i can provide user name & password in SOAP UI tool,but in my requirement while providing the URL to the user i cannot mention use name and password. could you please suggest what is possible soultion for this?

Thanks,

Janardhan

former_member186851
Active Contributor
0 Kudos


Hi,

No need to provide any username/password in the URL

Port/XISOAPAdapter/MessageServlet?senderParty=&senderService=XXXX&receiverParty=&receiverService=&interface=XXXX&interfaceNamespace

former_member232455
Participant
0 Kudos

Hi Raghu,

we have tested with above URL, but they are getting error like" unauthorization error". here we are using SOAP adapter for HTTP call. sender is SAP system. in the program level they will maintian this URL.

Thanks,

Janardhan

former_member186851
Active Contributor
0 Kudos

Hello Janardhan,

Give the username and password but no need to hardcode in the URL

Former Member
0 Kudos

Hello Janardhan,

If you have firewall between SOAP sender and PI system, then you need to provide the url of the firewall, and the user and pwd credentials in "Security Profile" of SOAP sender channel. This credential will allow PI to be accessible from client/Web service.

Regards,

Souvik

aby_jose
Explorer
0 Kudos

Hi Janardhan,

Which 'SOAP UI tools' you are using?.

There should be fields like "Username" & 'Password' in the SOAP UI tool. No need of passing as parameter.

Regards,

Aby

former_member186851
Active Contributor
0 Kudos

Hello Jana,

Try with this URL-

Host:Port/XISOAPAdapter/MessageServlet?senderParty=&senderService=XXXX&receiverParty=&receiverService=&interface=XXXX&interfaceNamespace=XXXX

Give the username and password in the SOAP UI

vinaymittal
Contributor
0 Kudos

There's an option in the SOAP adapter (Authorization Required) there you can enter the username password, no need to mention in the URL

Configuring the Receiver SOAP Adapter - Advanced Adapter Engine - SAP Library