on 02-24-2008 6:03 PM
Hi all,
I've faced a trouble, calling WS using SOAP adapter.
Here is WS Description(calling func):
POST /irexservice/irex.asmx HTTP/1.1
Host: eam.resumemirror.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://resumemirror.com/ProcessResumeStream"
<?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>
<ProcessResumeStream xmlns="http://resumemirror.com">
<resumestream>base64Binary</resumestream>
<login>string</login>
<pwd>string</pwd>
</ProcessResumeStream>
</soap:Body>
</soap:Envelope>
And here is the message I'm sending:
- <ns0:ProcessResumeStream xmlns:ns0="http://erecruit">
<resumestream>0M8R4KGxGuEAAAAAAAAAAAAAAAAAAAAAPgADAP7...</resumestream>
<login>login...</login>
<pwd>pass...</pwd>
</ns0:ProcessResumeStream>
WS gives a message in the response, that it's unavaliable at the moment, though I know it's all right (I can check it by another program).
The properties of my SOAP adapter are:
-type: reciever;
-target url: http://..
-action: http://resumemirror.com/ProcessResumeStream
What's wrong? Why does the service sends an error instead of correct msg??
Please respond as soon as possible, it's really essential.
Thank you,
Dmitriy.
Hi,
I think below entry in ur soap request is wrong..as it is not as per the bod strcture given in wsdl file. namespace given below is not same as is in the wsdl file.
- <ns0:ProcessResumeStream xmlns:ns0="http://erecruit">
change http://erecruit to http://resumemirror.com and send the SOAP request again. It should work.
Ranjeet Singh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The problem was in namespace prefix. It can be removed according to this weblog: https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/5767. [original link is broken] [original link is broken] [original link is broken]
That's it! Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.