on 07-27-2015 8:41 AM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shankar,
Please check with Altova XML tool. Refer following link:
How to convert wsdl to xsd with detail steps? | SCN
Regards,
Azhar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
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.