• Post Reply Bookmark Topic Watch Topic
  • New Topic

Axis2 datatype namespace  RSS feed

Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have two WSDLs. One WSDL defines an interface that lists the services running on the node. The other WSDL really has nothing to do with the first but it does use the URL name returned by an operation defined in the first WSDL. I use Axis2 1.6.2 to generate the services as separate Eclipse projects where I generate both the client and the server. The server-side is clean as each server is separate from the other running in Tomcat. The client-side is giving me issues as we are trying to create a GUI that talks to both. I an using the WSDL#1 service to return a list of services (thats it nothing else). So i copied the client stub into the project for the client-side of WSDL#2. This is where I run into issues as the data type the holds the list of services has different namespace in the generated code ns2 in WSDL#1's project and ns9 in WSDL#2's project. The result of this is I can request the type, the server-side returns the type, but the client-side goes into an infinite loop because it does not know how to parse it. I am not allowed to change the WSDLs.

How does one handle cases like this? Is there a way to generate everything all at once so the namespaces are aligned?


It will give me the powers of the gods. Not bad for a tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!