Has anyone actually tried using the XML RPC Server to access a web service from a Natural program runing on OS/390? I’m a bit unclear on how to configure both the server and the mainframe RPC client.
The XML RPC server configuration uses the xmm SOAP mapping resulting from importing the service wsdl into the workbench. Should the “TargetServer” name point to the connection endpoint (url) of the web service itself? What about the soapaction? I know it’s not always required, but what if it is? Can a header be added? The documentation here is very sparse.
In addition, I’ve successfully setup the SYSRPC Service Directory to access the server and can see the calls in the control center. However, I’m unsure of how to setup the SYSRPC Service Directory using the default Library and Program names generated in the idl by the workbench. These names are longer than the 8 characters allowed in SYSRPC. Should I use the alias feature in the workbench to give them short names? I’m getting very strange errors in the Natural client like a NAT0004 ‘Define Data’ error. Also, I’ve tried using both the AUTORPC=ON parm (without the client stub generated) as well as with a stub. Still no luck.
Finally, I’ve tried testing with a SOAP document generated from my xmm by the workbench, but it fails with a ‘500’ error from the web service. So, I can’t even be certain that the SOAP is generated properly.
Again, does anyone have much experience with this scenario?
Ned
Remember to never burn bridges. Unless you drive a Hummer!
#webMethods#EntireX#Mainframe-Integration