cancel
Showing results for 
Search instead for 
Did you mean: 

Error when calling a .NET Webservice via SOAP

Former Member
0 Kudos

Hello,

I am trying to call a .NET Webservice via XI and SOAP protocol.

Unfortunately I'm getting the following error:

Message-Verarbeitung fehlgeschlagen. Grund: com.sap.aii.af.ra.ms.api.RecoverableException: There is no process to read data written to a pipe.: java.net.SocketException: There is no process to read data written to a pipe.

Does anyone have experience with this error? I have never seen this error beforce and also I did not find anything in the sdn forum or in google.

Thanks for your help!

Greetings

Habib Sarbas

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

I solved the problem.

The service expects a string in base64binary format an I filled it with the wrong data.

Because of that I got this strange error. After filling base64 into the field everything worked fine....

Nevertheless... thanks for your help

Regards

Habib Sarbas

Former Member
0 Kudos

Hi,

yes, our system is installed on AIX and Oracle.

Ping and telnet from XI system to service URL are succesful.

I am using a SOAP receiver channel, but I did not import the .net WSDL because the service has a tag named <file></file> where you should insert a xml-file. I agreed with the service provider not to add a file there, but to map the xml-string into the field. Because of this I could not use the WSDL.

But I configured the channel with the data given in the service description.

Just this moment I got a call from the service provider telling me that the request receives their system.

But the only thing they can see in their logs is an web service error HTTP 500.

If it helps... the description of the .net operation is:

POST /EA-Online/EA-Online.asmx HTTP/1.1

Host: www.embargopruefung.de

Content-Type: text/xml; charset=utf-8

Content-Length: length

SOAPAction: "http://ea.cda.org/uploadFile"

<?xml version="1.0" encoding="utf-8"?>

<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">

<soap:Body>

<uploadFile xmlns="http://ea.cda.org/">

<eaLogin>

<strCustomerID>string</strCustomerID>

<strUsername>string</strUsername>

<strPassword>string</strPassword>

</eaLogin>

<strFilename>string</strFilename>

<file>base64Binary</file>

</uploadFile>

</soap:Body>

</soap:Envelope>

In the configuration channel I call the url fo the service with the given Soap-Action

(https://www.embargopruefung.de:8443/EA-Online/EA-Online.asmx with SOAP-Action http://ea.cda.org/uploadFile)

Edited by: Habib Sarbas on Mar 9, 2009 3:20 PM

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

please have a look at this thread:

Regards,

Michal Krawczyk

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

is your XI/PI installed on AIX & Oracle ?

Regards,

Michal Krawczyk

former_member206760
Active Contributor
0 Kudos

Dear Habib,

1. hope u are using receiver SOAP adapter.

2. did u import the wsdl file provided by the receiver web servcie

3. alsod chk the URL address inside the wsdl and try to ping the IP given in that URL

4. Also try to start/stop the SOAP channel

5. chk that the quality of servcie ion the receiver adapter is EO