cancel
Showing results for 
Search instead for 
Did you mean: 

Error by sending a Web Service request

Former Member
0 Kudos

Hi,

we generated a WSDL from an outbound-interface and build a web application with it. When we send a Web Service request to SAP-XI from our Web Dynpro client application, we get an error "CALL_CONSUMER_ERROR" (of category "XI_J2EE_MESSAGING_SYSTEM"). We find the following entry in the message-log of the adapter engine:

Error: Return of synchronous errormessage to the calling application: com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier.

Error: The Transmission of the message with https://hpsaps01.inveos.com:8001/sap/xi/engine?type=entry failed, because: com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: iaik.security.ssl.SSLException: Server certificate rejected by ChainVerifier

does anybody know, how to solve this problem?

Greetings

Hildegard

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

Hi Hildegard,

I assume the connection between Adapter Framework and XI does not work.

It seems that you use an HTTP connection and your server certificates are not valid.

You can change the connection to HTTP or apply the correct certificates.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan,

correct certificates are established in the meantime and the error-message in the adapterlog has changed. The errorcode still remains "CALL_CONSUMER_ERROR" of category "XI_J2EE_MESSAGING_SYSTEM".

Adapter-log:

Error: Return of synchronous errormessage to the calling application: com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: java.net.ConnectException: Connection refused.

Error: The Transmission of the message with https://hpsaps01.inveos.com:8001/sap/xi/engine?type=entry failed, because: com.sap.aii.af.ra.ms.api.RecoverableException: java.lang.RuntimeException: Error while silently connecting: org.w3c.www.protocol.http.HttpException: java.net.ConnectException: Connection refused

Are there missing any more permissions or is this another error in the configuration?

Regards

Hildegard

Former Member
0 Kudos

Hi Hildegard,

Did you solve the problem described in this issue?

I have the same error at this moment and don't know how to continue.

Thanks

Ron

Former Member
0 Kudos

While creating the WSDL, what was the URL given ?? IT has to be of the form...

http://<serverhost>:<port>/XISOAPAdapter/MessageServlet?channel=<party>:<ServiceName>:<Channel Name>

Pls check this weblog....and the part it says about Defining Web service to generate a WSDL...

If you are doing this already ...pls ignore my reply...

Thanks,

Renjith

Former Member
0 Kudos

Hi Renjith,

the URL in the WSDL has exactly this structure.

Greetings

Hildegard