cancel
Showing results for 
Search instead for 
Did you mean: 

WebService Call

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (1)

Answers (1)

Former Member
0 Kudos

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