Hi Doug-
I am making a Natural program available as a web service and calling it from the SAG servlet: xmlrt.
Here is what I am doing and maybe there is a better way. I generate an idl from Natural library ABC. In the Exx workbench I change the library name to DATAPROC and move ABC to the alias lib name. I then create soap mappings in all programs and in the mapping parameters I put urn:com-softwareag-entirex-rpc:ABC as the Defaul Namespace for payload Root element (m) prefix. I save the xmm and then generate a wsdl.
I then import the entirex.war into Rational Application Developer, drop in the xmm file, wsdl, tweak the xml-init with broker parms and then create a test web service client. I start the RPC server and make sure that it logs onto library ABC (to avoid Nat 82 errors). All works fine.
Now, my Natural code gets staged to library DEF. I have to repeat the whole process and replace ABC with DEF and add different broker parms.
Is there any way that one can generate the idl, xmm, and wsdl once so that the library isn’t even used and have the broker and the RPC server tied to the library where the Natural code resides? I’ve tried playing around and I haven’t figured it out yet.
Also, does the soap parameter (urn:com-softwareag-entirex-rpc:ABC) need to have the library name in it?
Thanks,
Chris
#EntireX#Mainframe-Integration#webMethods