cancel
Showing results for 
Search instead for 
Did you mean: 

how to generate wsdl using user credencials in sap pi 7.4

former_member190681
Active Participant
0 Kudos

Dear Experts,

i have problem regarding soapUI Testing of Soap to RFC interface, i created the .wsdl with out usercredencials, previously the same wsdl is used in pi 7.0.

the same wsdl i triggered in pi 7.4 version it is throwing html like error " Error:Unauthorised".

Then in Soap UI tool i have given the pisuper user credencials in the properties like username and password then i triggered, i has gone successfuly to the receiver.

wsdl url is :

http://<ServerIP:Port>/XISOAPAdapter/MessageServlet?channel=:BusSerAM:CC_SOAP_OrderStatus_Sen&versio...

how to overcome to this type of issue in PI 7.4 version.

Regards,

Kiran Polani

Accepted Solutions (1)

Accepted Solutions (1)

former_member190681
Active Participant
0 Kudos

Dear Venkat,

Thanks for response for the thread.

i created wsdl i have given the credencials & given to third party application one of the application is working, we need to test for other applications also.

i will update status after end-to-end testing for all soap to rfc interfaces.

Thanks you,

Kiran Polani


former_member190681
Active Participant
0 Kudos

Dear,

Plese find the attached url and credencials

http://ipaddress:port/sap/xi/engine?type=entry&amp;sap-user=piappluser&amp;sap-password=welcome1

Reagrds,

Kiran polani

Answers (1)

Answers (1)

former_member190681
Active Participant
0 Kudos

Dear Friends,

I am facing one issue in Soap to RFC interface, i created the wsdl file but it is asking user credentials & got error 401: unauthorized while testing the data in soap UI. Then i created one user with Application roles and created wsdl again. then i trigger but that is not executing same problem. i have taken the URL which i created and tested in internet explorer but it is asking to enter pi system.

what i observed is the newly created user is not having roles to enter into PI system then i decide to give dialog user and tested it then it is working properly.

Please suggest me which user roles it should be for accessing third party system in to PI/PO.

Please find the generated wsdl URL below, that url is not correct please send me proper URL for authorized PI System.

http://10.1.66.59:50000/sap/xi/engine?type=entry&version=3.0&Sender.Service=BusSer_AM&Interface=http...

Regards,

Kiran Polani

Former Member
0 Kudos

Hi,

Below is the sample working url for your reference.

http://hostname:8115/sap/xi/engine?type=entry&version=3.0&Sender.Service=ESRI&Interface=urn:GDFO:ESR...

Generally we use service username and pwd in url and share to sender system folks to invoke web service hosted by SAP PI .

Regards

Venkat

former_member190681
Active Participant
0 Kudos

Dear Venkat,

You mean user Authentication not required to enter in URL right? PI user credencials we should give to sender/ third party system right?

Please suggest what can do for this.

Regards,

Kiran Polani.

Former Member
0 Kudos

Hi,

In the url that I shared to you does contain (service)username and pwd to connect to PI server .

Will share the wsdl file and url to sender system folks.For triggering from SOAP UI we just need to upload the wsdl in SOAP UI and need to give our credentials to post to PI server.

Regards

Venkat