cancel
Showing results for 
Search instead for 
Did you mean: 

Error Code 0 in Web Service to File

Former Member
0 Kudos
265

Hi all,

I am trying to do an webservice to file scenario.

When I am trying to send the WSDL file, SOAP - send request to server, I am getting the following error.

" http: could not post file' and return code is '0' and no text is displayed in text area.

This is the WSDL data i am sending:

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

<SOAP-ENV:Body>

<m:mt_webservice2file xmlns:m="http://ehro.eds.com/csk/ws2file">

<EmpID>9999</EmpID>

<StartDate>10/10/2004</StartDate>

<EndDate>10/10/2005</EndDate>

<Reason>ABC</Reason>

</m:mt_webservice2file>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Can anybody suggest me, how to solve this problem?

Shylesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In addition to Krishna's reply

1. First check for Adapter Paarameters ( User ID / Password)

2. Also check if user has an authorization to create file on target directory.

Nilesh

moorthy
Active Contributor
0 Kudos

Hi,

How are you testing your scenario? Using XMLSPy or SOAP Client ...

Check out all the parameters given in Sender SOAP adapter.. I think problem with some config. in the Adapter ..check out the ports etc used.

Refer SAP note : 856597 to look for SOAP channel configuration

Hope this helps,

Rgds,

Moorthy

Former Member
0 Kudos

Hi,

In addition to Krishna's reply

1. First check for Adapter Paarameters ( User ID / Password)

2. Also check if user has an authorization to create file on target directory.

Nilesh