cancel
Showing results for 
Search instead for 
Did you mean: 

https webservcie access from PI

Former Member
0 Kudos

Hi Experts,

How to consume/invoke https webservice(which was created from non-SAP platform) from PI 7.0?

I created a PI SOAP -> non-SAP SOAP scenario, but when I execute the scenario. I am getting the below error.

<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">

<SAP:Category>XIAdapter</SAP:Category>

<SAP:Code area="PARSING">ADAPTER.SOAP_EXCEPTION</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>soap fault: An error occurred when verifying security for the message.</SAP:AdditionalText>

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

How to setup other platform security stuff, to access it from PI? Please share your suggestions.

Thanks & Regards

Sara

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This is HTTPS communication, you need to configure the SSL for this scenario.

SSL Configuration

You need to setup SSL layer for HTTPS endpoint.

Possible HTTP security levels are (in ascending order):

HTTP without SSL

HTTP with SSL (= HTTPS), but without client authentication

HTTP with SSL (= HTTPS) and with client authentication

Please go through below link for referance (above information is from below link)

Step by step guide for SSL security

http://help.sap.com/saphelp_nw04/helpdata/en/14/ef2940cbf2195de10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw04/helpdata/en/ff/7932e4e9c51c4fa596c69e21151c7d/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/13/4a3ad42ae78e4ca256861e078b4160/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/3a/7cddde33ff05cae10000000a128c20/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/0a/0a2e0fef6211d3a6510000e835363f/content.htm

General guide

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a09f3d8e-d478-2910-9eb8-caa6516d...

Message level security

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d024ca8e-e76e-2910-c183-8ea4ba68...

http://help.sap.com/saphelp_nw04/helpdata/en/f7/c2953fc405330ee10000000a114084/content.htm

Also read thru this link for message level security - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d024ca8e-e76e-2910-c183-8ea4ba68...

Also find soeminformation in these links

http://help.sap.com/saphelp_nw2004s/helpdata/en/a8/882a40ce93185de10000000a1550b0/frameset.htm

thanks

Swarup

Former Member
0 Kudos

Even to invoke the non-SAP https webservice, we have to create a https client..Is it so?

Former Member
0 Kudos
Even to invoke the non-SAP https webservice, we have to create a https client..Is it so?

yes you need to Create https client

Former Member
0 Kudos

hi,

Yes, to invoke the non-SAP https webservice you need to use the client Certificate which will tally with the server certificate of non-SAP https webservice.

The above given link will cover this part also.

Thanks

Swarup

prateek
Active Contributor
0 Kudos

we have to create a https client

U r not creating an HTTPS client. Rathe u should say that u have to configure SSL on XI system for communication with any webservice which supports https protocol.

Regards,

Prateek

Former Member
0 Kudos

Hi,

The SSL Configuration is done at PI level and when we try to access the https webservice from https client(both services are created in PI 7.1) getting the below error.Used SOAPUI to test the client service.

<text>java.security.AccessControlException: client certificate required

at com.sap.aii.adapter.soap.ejb.XISOAPAdapterBean.process(XISOAPAdapterBean.java:886)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

Could you please tell me how to set the client certifcate.

Thanks & Regards

Sara

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

check the XML that you send to the WS

if the server returned this soap fault it might mean that XML was not correct .

also take a look at the default.trc log file from visual administrator-> server -> services -> log viewer -> locations -> com -> aii -> bc -> soap

check this blog

Regards,

Jayasimha Jangam

Former Member
0 Kudos

Hi,

The webservice is proper, but I couldn't access as a client. Please provide the info how to test the https webservice. Where to import the certificates in client side?

Regards

Sara

Former Member
0 Kudos

Sara,

Any luck with this?

reg

Former Member
0 Kudos

When I try to access the https service from https client getting the same error..