We are exposing three Natural subprograms as web services via SOAP/XML. These three services are invoked by SOA which exposes them to the ultimate client in a composite service. The SOA team is telling me that because the three services define the same WSDL namespace, this is causing issues. They told me this before but resolved it by creating an OSB proxy in front of the service to control the namespace and root element from their side.
Now they want me to fix this. However, I cannot find anywhere that I control the WSDL namespace name in Designer. I can see other namespace definitions that affect the xsd and SOAP namespaces, though.
Thinking I would be clever, I extracted the .aar file, and in the META-INF folder I manually changed the WSDL namespace, saved it, and zipped it back into the *.aar file but I can’t seem to fool anyone as Tomcat warns:
-
Unable to generate WSDL 1.1 for this service
If you wish Axis2 to automatically generate the WSDL 1.1, then please set useOriginalwsdl as false in your services.xml
The namespace in the WSDL file is:
targetNamespace=“http://namespace.softwareag.com/entirex/xml/mapping”
I wanted just to update it to something like:
targetNamespace=“http://namespace.softwareag.com/entirex/xml/mapping/OrderDetails”
Thanks in advance!
#Mainframe-Integration#EntireX#webMethods