on 01-27-2015 1:14 PM
Hi All,
I am working on SOAP to RFC Synchronous scenario on SAP PI 7.31 AEX.
I have shared SAP PI Webservice (and .wsdl file) with the 3rd party team who'll consume it in their Java Client Project.
In SAP PI webservice signature, there are 2 SOAP addresses/locations showing up (HTTP-50000 and HTTPS-50001).
When the 3rd party trying to consume SAP PI webservice, it shows by default endpoint as HTTPS-50001 and hence the SOAP request hits on HTTPS URL and gives error. 3rd party team has to manually add/change the endpoint as HTTP-50000 and then send the SOAP data and then it reaches SAP PI.
When I test it using SOAPUI tool, it runs perfectly by taking port/endpoint as HTTP-50000.
My question is -> For SOAP Adapter, port/endpoint has got set as HTTPS-50001 by default somewhere in PI-NWA or PI-Administration?
Thanks,
Amit Patil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Amit,
When sender channel is HTTP, SOAP, XI and WS. SAP PI will expose web-service. We can get WSDL in sender agreement. This web-service can be consumed using http and https port.
In SOAPUI, there is drop down after http link, to select https. SOAPUI can post to both http and https.
In short, It is client (requester) choice to hit http or https port. I think, there is no configuration to be done in PI.
Hi Raghu,
In SOAPUI, it takes HTTP-50000 port/endpoint as a default port/endpoint to push the SOAP request and then SAP PI webservice works perfectly when I push data to HTTP-50000 port/endpoint.
But when I manually change the port/endpoint to HTTPS-50001 in SOAPUI and push data to HTTPS-50001 port/endpoint, it doesn't show anything. Even the SOAP request doesn't reach SAP PI.
What may be the reason for the same???
And in 3rd party's Java Application, when they try and consume SAP PI webservice, it takes HTTPS-50001 an a default port/endpoint. Hence they doesn't work. And then they manually change the port/endpoint to HTTP-50000 and then it works.
They are all also finding the work-around for this issue.
Can we remove the HTTPS-50001 port/endpoint from the SAP PI webservice in any way??? Will it work then???
Thanks,
Amit Patil
Amit,
Why https in SOAPUI is not working?
Certificate needs to be used in SOAPUI. More info What is HTTPS? - YouTube
Can we remove https in PI web-service (WSDL)?
No.
Solution?
Client (3rd party Java requester) has to point to http OR use certificates and post on https.
Hi Amit,
If you are trying to connect to HTTPS you have 2 option :
1.With UserID/Passowrd : U need to provide userid and passowrd for external system to connect to your PI system through HTTPS . Before that in communication you need to chosse option HTTPS WITHOUT CLIENT AUTHENTICATION in your comm channel.
Get in touch with you security team to get userid/passowrd.
2.With Certificates : In this case you need to provide Certificates get in touch with Basis team they will genrate Private and Public key certificates and provide you which you need to share with third party . but in this case you need to choose HTTPS WITH CLIENT AUTHENTICATION in you comm channel.
Hello Amit,
Please check if your Sender SOAP CC is using HTTP protocol.
Regards,
Azhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Azhar,
Using SOAPUI, I'm able test the PI webservice successfully which only takes HTTP-50000 port as an default end-point.
But when try and consume the PI webservice in their Java Code, it is taking HTTPS-50001 port an default end-point.
So is there place SAP PI(NWA or Administartion or somewhere else) where it is defaulted as HTTPS-50001 port as an end-point fpr PI webservice?
Thanks,
Amit Patil
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.