on 03-03-2016 10:37 AM
So I've got a rather complex CIS interface response file that I need to get the response code from to send to our ECC system, via idoc.. The structure of the XML is quite complex. Can anybody suggest a method to write the DT/MT's quickly and accurately. I can only think that to go from top to bottom, working out which DT begots its child DT and work that way.. Unless theres a better way... Below is an example of the XML and the data I want to send to eCC is highlighted...
George,
Try Generating XSD from the XML file using the below link
Free Online XSD/XML Schema Generator From XML - FreeFormatter.com
and try importing the same in DT ,XSD import option in ESR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anyways: The third party you are trying to integrate should really provide you with a WSDL from the very start in such cases. There's hardly ever a need to create a DT for yourself from bottom up for the 3rd party side of an interface (provided your 3rd party isn't half-witted or trolling )
But as I see you got hands on the WSDL, and as TGIF applys, I'll call it a day.
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, ideally it's best to have a direct match where the definition (XSD or WSDL) contains all the fields that you'd expect to be populated during runtime. The best way would always be to get it from the third party who owns the service.
It's just in the case where you can't get a hold on such a "complete" definition, then you can make do with an incomplete one as a start, and make adjustments as you go along.
Anyway, glad that it's all sorted for you now!
Hi George,
I prefer to use external definitions option. With a third party tool like XMLSPY or editxFree you can construct your XSDs really very quick.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.