cancel
Showing results for 
Search instead for 
Did you mean: 

Does Message Type name have to be the same in XI --> WebService Scenario

Former Member
0 Kudos

Hi,

Say that the receiving webservice is expecting an XML of the type below. Do we need to create the message type with the name, Position, and with a namespace of "http://ns.hr-xml.org/2007-04-15"?

<?xml version="1.0" encoding="UTF-8"?>

<Position xmlns="http://ns.hr-xml.org/2007-04-15" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<PositionRecord>Test</PositionRecord>

</Position>

Thank you.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Well, you need to generate with whatever the format is specified. There are many ways to accomplish that. Are you asking how to go about it.

Former Member
0 Kudos

I had doubts on weather the message type name had to be specific to the web service we post to. Unfortunately, we do not have a WSDL from the client, which would make life easier.

Thanks for your help.

Former Member
0 Kudos

Hi,

The WebService is already expecting the XML as per give format. It means the wsdl with WebService is already ready.

Plesae you need to deploy the existing wsdl in XI. or if you are expecting that to create the Message type as per the XMl then you are right about the suggestion. But Let me aware you as it will require lots of manipulations.

Thanks

swarup