cancel
Showing results for 
Search instead for 
Did you mean: 

SSL SOAP Adapter Error - SSLException while handshaking -

george_hamilton
Participant
0 Kudos

I'm receiving the following error in a SOAP receiver adapter over https:

ssl_debug(9): Sending v3 client_hello message, requesting version 3.1...

ssl_debug(9): Received alert message: Alert Fatal: unexpected message

ssl_debug(9): SSLException while handshaking: Peer sent alert: Alert Fatal: unexpected message

ssl_debug(9): Shutting down SSL layer...

Both the ABAP and JAVA stacks are configured properly for SSL as per the help.sap.com instructions.

Here is more detailed information (sorry for the formatting):

#1.5#00144F37BB49006B0000010000001F4D00043969FB64B9E3#1189027258874#com.sap.aii.messaging.net.HTTPClientConnection#sap.com/com.sap.aii.af.soapadapter#com.sap.aii.messaging.net.HTTPClientConnection.getInputStream(Socket)#J2EE_GUEST#0##sl07e02_DX2_1679550#PIAPPLUSER#d86bf0a05bf511dcba2f00144f37bb49#XI SOAP[BS_XXX_SOAP_getUpdateHTTPSTesting/BS_MDX/MDX]_58508##0#0#Error#1#/Applications/ExchangeInfrastructure/AdapterFramework/SAPLibraries/SAPXDK#Plain###failed to get the input stream from socket: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: unexpected message#

Any help is greatly appreciated. I've searched everywhere for any help on "unexpected message" but have found none. There is no info here. I hope you can help. Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

george_hamilton
Participant
0 Kudos

Firewall problem. Wasn't allowing v3 through. Wasted a ton of time on this.

Former Member
0 Kudos

First try to test webservice with some XML spy tool.

If that works successfully then try to test with your SAP & XI scenario.

may be some problem in webservice or network issue.

Regards

george_hamilton
Participant
0 Kudos

Can you suggest a spy tool? Is SOAP Sonar something I could use?

Former Member
0 Kudos

Altova XML spy, free trial version available on net

or if you have MS-office then you can use InfoPath2003.

Regards

george_hamilton
Participant
0 Kudos

Thanks. This is great. Do you know of any Unix versions? We run on Citrix and can't access the site I want to test unless I am on the UNIX system which has connectivity.

Former Member
0 Kudos

I think you can use Altova XML spy, see following link:

http://www.altova.com/support_faq_installation.html#q4_install

-

-


Is XMLSpy® 2007 also available for Linux, Unix, Macintosh, OS/2, etc.?

Since XMLSpy® 2007 is a high-performance development environment, it is written entirely in C++ and is tightly integrated with the Windows operating system. It is also possible to use XMLSpy® 2007 on other operating systems with Windows Emulation Software. More Information can be found on our Platforms page. Please note that we cannot give any technical support or make any warranties regarding the usability of XMLSpy® 2007 in such a scenario.

Is it possible to install XMLSpy® 2007 on a Citrix / Windows Terminal Server?

If you wish to install XMLSpy® 2007 on a server such as Citrix or Windows Terminal Server then there are two things to bear in mind:

A) You MUST purchase concurrent licenses of XMLSpy® 2007 for use in a terminal server environment as opposed to the installed (per seat) licensing model.

B) No technical support can be provided by Altova for technical issues that may arise as a result of using XMLSpy® 2007 in a Terminal Server environment.

george_hamilton
Participant
0 Kudos

I can't install this debug tool on the UNIX system for security reasons. Are there any internal connections that need to be changed? I've configured SSL properly for both the ABAP and JAVA (I can hit https://<abap_stack>:443 and https://<hostname>:50001 with no issues.

Any suggestions would be great as I am completely out of ideas.

george_hamilton
Participant
0 Kudos

This webservice works fine over http.

Former Member
0 Kudos

Hi,

how do u hit the https://hostname:50001 ... is 50001 the https port?

george_hamilton
Participant
0 Kudos

It's on 50001. I hit the page https://<host>.<domain name>:50001

Hitting the ABAP stack on the https port is fine too:

https://<hostname>.<domain name>:443/sap/bc/bsp/sap/it00/default.htm

and I get the successful test screen for the abap stack.

The certificate is fine, the certification path is fine for both the ABAP and JAVA stacks. We are using a SAP Trust Center Services certificate because we are just using anonymous SSL to get the data on the SOAP Receiver channel.

Thanks for replying. Any help is greatly appreciated. Thanks!