cancel
Showing results for 
Search instead for 
Did you mean: 

SOAP Error: java.security.AccessControlException: https scheme required

manikandan_shanmugam3
Active Participant
0 Kudos

HI All,

I am facing below error while pushing SOAP message from SOAPUI to PI for sync scenario.

link : https://Host/XISOAPAdapter/MessageServlet?channel=:<Business system>:<channel>

<SOAP:Body>

      <SOAP:Fault>

         <faultcode>SOAP:Server</faultcode>

         <faultstring>Server Error</faultstring>

         <detail>

            <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">

               <context>XIAdapter</context>

               <code>ADAPTER.JAVA_EXCEPTION</code>

               <text>java.security.AccessControlException: https scheme required

    at com.sap.aii.adapter.soap.web.SOAPHandler.checkHTTPSecuritylevel(SOAPHandler.java:833)

    at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:635)

    at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:530)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

    at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:202)

PI Channel Configuration:

Regards,

Mani

Accepted Solutions (0)

Answers (6)

Answers (6)

former_member183816
Active Participant
0 Kudos

http://scn.sap.com/thread/3744888

Hi,

Please checkout my answer in above post.

May be something can help you out. Most probably, either your webservice url is not correct or it has something to do with access issue to your PI server from outside (check with basis). You can also form URL using your PI server IP (not recommended).

Let us know, what is happening when you are trying to hit it using HTTP instead of HTTPS from soapui.

manikandan_shanmugam3
Active Participant
0 Kudos

Hi Ambuj,

I have created Async scenario and triggered message using link " https:// " with channel configuration HTTP Security Level : HTTP, it was working fine, but same configuration is not working with Sync scenario and getting below error "com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.io.IOException: Communication over HTTPS. Unable to create a socket"

when i use HTTP Security Level: HTTPS Without Client Authentication for Sync scenario, getting below error "

java.security.AccessControlException: https scheme required

    at com.sap.aii.adapter.soap.web.SOAPHandler.checkHTTPSecuritylevel(SOAPHandler.java:826)"

Wondering why it is working with Aync but not with Sync scenario

Regards,

Mani

iaki_vila
Active Contributor
0 Kudos

Hi Manikandan,

Are you using the right certificate in SOAPui to connect to PI?, because you are using HTTPS. Check this link How to configure SoapUI with client certificate authentication&lt;/title&gt;&lt;meta http-equiv=&qu...


The same URL has been used, but no use.

Then with this you are saying that the https service is up in PI and you have other scenarios with SOAP sender and https communcation, isn't it?

Regards.

manikandan_shanmugam3
Active Participant
0 Kudos

HI ,

I am using HTTPS without client authentication

Regards,

Mani

Former Member
0 Kudos

Hi Mani,

First thing you need to check is the certificate. You have mentioned https as protocol.

Try to open this url where you are triggering the message to, in your browser and see if you see any certificate provided by the server.

If you are not getting any response on the browser itself, then your ssl port might be wrong.

In case you see the certificate in the browser, download that and provide it in preferences->ssl settings in SOAP UI and try again.

regards,

Anirudh Vyas

former_member183908
Active Contributor
0 Kudos

please go to SICF t-code if you are on PI dual stack to get the exact port details.

Thanks

manikandan_shanmugam3
Active Participant
0 Kudos

Hi Pavan,

I am using Single stack PI system.

Regards,

Mani

former_member183908
Active Contributor
0 Kudos

okay then please follow above suggestions also while using https auth options please make sure your PO enabled for https or not also share the screen shot of your SOAP UI error.

Thanks

maheswarareddykonda
Active Contributor
0 Kudos

Hi Mani,

i think mostly error due WSDL url is wrong.

here is the navigation to get URL.

go to sender agreement or ICO---->click disply wsdl  then you can see one popup with wsdl data and URL

copy that URL and test in SOAP UI

manikandan_shanmugam3
Active Participant
0 Kudos

Hi Maheswar,

The same URL has been used, but no use.

Any other suggestion?

Regards,

Mani

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Manikandan,

Have you tried my suggestion?

Regards,

Mark

manikandan_shanmugam3
Active Participant
0 Kudos

Hi Mark,

URL is not working in browser with 50xxx port, same with 433 but works without port.

Regards,

Mani

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Manikandan,

No, I mean use port 5xx01 . If https is not activated, please ask your basis to configure it.

Regards,

Mark

Former Member
0 Kudos

Hi Mani,

That means ssl service is not enabled on PI system. You cannot make https PO server. You have to use http.

You might have a case where an external party is trying to send message via ssl, and you have a web dispatcher (between external system and PO) which will convert that https to http and fwd you that request.

Confirm if that is the design.

We can't enable https on PO just like that as it is an architectural and security decision.

regards,

Anirudh Vyas

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Manikandan,

Can you check the port that you are using? Usually, it is 5xx00 for http where xx is the instance number. For https it is usually 5xx01.

Regards,

Mark