cancel
Showing results for 
Search instead for 
Did you mean: 

How to convert a WSDL to a XSD or data type ?

Former Member
0 Kudos

I have a WSDL containing multiple messages. For one of my scenarios, I want to have 3 of the many messages in WSDL on a single target structure.

Example :

MT_Target

     AAA

     BBB

     CCC

Is there a possibility to take out just one of the messages from a WSDL to a individual XSD or a Data Type?

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member183908
Active Contributor
0 Kudos

Under wsdl:types node copy the complete xsd:schema and save it as .xsd and import in ESR. This will be the single structure.You can also exclude the other message types.

<wsdl:types>


<xsd:schema targetNamespace

</xsd:schema>

</wsdl:types>

Thanks

prasannakrishna_mynam
Contributor
0 Kudos

Hi Shankar,

We have Java, xslt mapping to achive this in case you don't want to opt for xsd apprach.

Make copy of original WSDL and create a complet type including all three structures, easy way!!

Thanks,

Prasannakrishna.

prasannakrishna_mynam
Contributor
0 Kudos

Hi Shankar,

Besides creating new xsd from WSDL for 3 message structures, we can have
workaround to use 3 WSDL message types as one to achieve a single structure
with some mapping technique.

Regards,
Prasannakrishna

Former Member
0 Kudos

Hi Prasanna,

By mapping technique, you mean Multi-mapping? If so, I do not want that solution. Because, that would create the structure as,

Messages

     Message1

          AAA

     Message2

          BBB

     Messgae3

          CCC

Which I don't want, because I would have a second step mapping, which would have the final structure as

     MT_Target

          AAA(0..u)

          BBB(0..u)

          CCC(0..u)

So, the second step mapping has to re-arrange the XML structure.


If the solution you propose is different, I would love to hear it.

markangelo_dihiansan
Active Contributor
0 Kudos

Hi Shankar,


Is there a possibility to take out just one of the messages from a WSDL to a individual XSD or a Data Type?

Yes it is possible, but of course you need to have xsd encoding skills

Regards,

Mark

azharshaikh
Active Contributor
0 Kudos

Hi Shankar,

Please check with Altova XML tool. Refer following link:

How to convert wsdl to xsd with detail steps? | SCN

Regards,

Azhar