cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Soap Client error

Former Member
0 Kudos

Hi experts,

I am tring to sena a SOAP request throught Soap Client provided by SAP but it gives me error as

``Failed to parse soap message

Original(raw) message:

com.sap.uddi.generic.impl.soap.NativeSOAPException : Failed to open socket

Cause : class java.net.ConnectException : Connection refused: connect```

But the same messge is posted sucessfully through XML SPY.My spy evaluation version is expired.

can anybody pls let me know what could be the reason.

regards,

nidhi

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Nidhi

Why don't u use MicroSoft InfoPath. it is easy to use.

/people/community.user/blog/2006/10/24/exposing-bapi-as-web-services-through-sap-xi

in this blog steps are given.

Regards,

Manisha

Former Member
0 Kudos

solved.

former_member185881
Active Participant
0 Kudos

Hi nidhi

In Receiver SOAP Communication Channel check the URL you have given is correct or not and check Action field too.

Regards

Dheeraj Kumar

former_member200962
Active Contributor
0 Kudos

Under the View ---> Settings section of your SAP SOAP Client check if the entries corresponding to Port fields are blank...if not then remove all the port entries and then check.

Regards,

Abhishek.

Former Member
0 Kudos

Hi Abhishek,

I did that now I am getting error as

``

Failed to parse soap message

Original(raw) message:

com.sap.uddi.generic.impl.soap.NativeSOAPException : Server returned: 401 Unauthorized``

But I have authorization to execute this sopa request.I can execute this request through XML SPY.

Do I need to do something elase also??

former_member200962
Active Contributor
0 Kudos

>

> Hi Abhishek,

> I did that now I am getting error as

> ``

> Failed to parse soap message

> Original(raw) message:

> com.sap.uddi.generic.impl.soap.NativeSOAPException : Server returned: 401 Unauthorized``

>

> But I have authorization to execute this sopa request.I can execute this request through XML SPY.

> Do I need to do something elase also??

You were able to test using XML SPY because the ID and Password seems to have been used there.

Now in SAP SOAP CLient also you need to maintain the User-Id and Password....

Under View ---> Settings ---> there will be a section (for me it is Use HTTP Basic Auth.)....click on the check-box and then enter the user-id and password......the user-id and password should be of the SAP-XI server

Regards,

Abhishek.

Former Member
0 Kudos

Hi....

You can send your soap request using Microsoft infopath.

In the below link. Check from page 18. Step by step procedure is there.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/404fc9c1-e592...

Regards,

Leela