If you are using EntireX and the wrappers, the conversion from XML to CALLNAT parameter values is done by the wrapper and RPC server. Using EntireX RPC technology, you don’t have to deal with XML parsing at all.
If you want to use Natural to access a web service (e.g. SOAP), then the Natural program just does a CALLNAT to an EntireX XML RPC Server. If you want an outside application to call a Natural subprogram as a web service, you need the EntireX XML/SOAP Listener that does the web service call to RPC translation, calling your Natural subprogram.
In either case, you do not have to deal with parsing XML from your Natural program/subprogram.
The Natural XML Toolkit and PARSE statement comes in to play if you are reading files with XML or are using the REQUEST DOCUMENT statement to call web services. If you can use EntireX, I urge you to do so as it transfers the tedious work of managing and parsing XML documents to the generated wrapper code.
#EntireX#Mainframe-Integration#webMethods