cancel
Showing results for 
Search instead for 
Did you mean: 

How to copy this wsld

Former Member
0 Kudos

H i Experts ,

mine is a Idoc to Webservice scenerio. I have 2 fields from R3 taht is going to go to web service. I cannot do 2 things.

The below mentioned part.. I dont know how do i store it in desktop,, and hw much should i copy , before i import it in XI as External Definitions and Use it in Target Mapping.

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /testserv/service.asmx HTTP/1.1

Host: X.X.X.X

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

Content-Length: length

SOAPAction: "http://tempuri.org/save_data"

<?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>

<save_data xmlns="http://tempuri.org/">

<data1>string</data1>

<data2>string</data2>

</save_data>

</soap:Body>

</soap:Envelope>

HTTP/1.1 200 OK

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

Content-Length: length

<?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>

<save_dataResponse xmlns="http://tempuri.org/">

<save_dataResult>string</save_dataResult>

</save_dataResponse>

</soap:Body>

</soap:Envelope>

.

Accepted Solutions (1)

Accepted Solutions (1)

abhay_rajhans2
Contributor
0 Kudos

Hi Arnab,

As mentioned by Abhishek ask target system to provide the WSDL.Directly import it into external definition. If you face any error inform it to your target system. After successful import it will show you some some information in message tab of external definition. Then create a message interface using the external definition. In context object of Message interface you will be able to see the structure that is passed by the WSDL.

Former Member
0 Kudos

Abhey , Abhishek all ..,, I have asked the web serviec team forvthe team. In the eman time i made teh Communication Channel and just wanted to try out the status of the CC.

The CC is active however in the RWB i see in the Componet Monitering section , it says

Channel started but Not active.

I wish to ask, is there any thing else I need to ask the web team !

former_member200962
Active Contributor
0 Kudos

The channel seems to have been configured properly.....it is a SOAP receiver right?....If yes then you need to wait till the target application provides you a WSDL....this WSDL will have a soap: address tag which will have your Target URL....you need to enter this in the channel.....also Action (if required...optional).

Once you pass some message through the channel the status will change (success/ failuer).....as of now it is showing proper status...started but Inactive.

Answers (1)

Answers (1)

former_member200962
Active Contributor
0 Kudos

The files which you have shown are XMLs and not WSDLs.....you need to ask the target application developers to provide you with a valid WSDL file which you can import as ED in your IR and then use in mappings.

The WSDL that you include shoud have both Request and Response, in case it is a SYNC scenario.

Regards,

Abhishek.