cancel
Showing results for 
Search instead for 
Did you mean: 

WebService to File Scenario

Former Member
0 Kudos

Hi All,

I am doing WebService to File Scenario.

Here I am facing problem when I am sending request .

It is saying

" http error.Could not post file"

I have given the url as

http://<server>.domain:<port>/XISOAPAdapter/MessageServlet?channel=:BS_SOAP2FILE:CC_SOAP2FILE_SENDER

Can anyone suggest me why is this coming.

I searched for SDN and changed the address location in wsdl file to above url.

but still it is coming.

I checked the url in browser .It is saying "Message Servlet is in Status OK ......."

Any kind of tips or suggestion will be appreciated.

Thanks

Rabi

Edited by: RabiPanda on Nov 15, 2011 8:21 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

a) Are u using client authentication such as logon credentials user/password? If so , input logon credentials.

If not, check https without client authentication.

I checked the url in browser .It is saying "Message Servlet is in Status OK ......."

Alternatively ,you could try using SOAP UI(XMLSPy) as your SOAP Client.

regards,

ganesh.

Edited by: ganesh.nijampudi on Nov 15, 2011 9:21 AM

martin_dejl2
Participant
0 Kudos

Hi,

I agree with Ganesh. Try to use SOAP UI to call your service URL to see if it's working.

You can find a tool called TCPGateway in the attachment section of the SOAP Adapter FAQ note 856597. Please see tcpgw.zip for more details. Use it on Client side to see the complete HTTP response from PI for more info. If it does not help, try to compare your HTTP request and request generated by SOAP UI if they are created the same way. Especially HTTP header parameters like Content-Type.

Let us know if you find the problem.

Martin

Former Member
0 Kudos

Hi,

I am using the xmlspy for sending request and it is saying same error as "http error :Could not post file..........".

Can you please help me to solve this??

Thanks

Rabi

Former Member
0 Kudos

Hi,

Can u pls check the communication channel log for both the adapters.

Did you tried with Web service navigator page....and run the scenario...

thanks

chirag

Former Member
0 Kudos

Hi,

The URL shoudl be of this format (in wsdl)

http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel

Check it once.

please go throug below blog,

reagrds,

ganesh.

baskar_gopalakrishnan2
Active Contributor
0 Kudos

I believe you specified quality of service EO not BE. Also check your mapping objects both request and response.

Also see this thread.

Answers (0)