aspose file tools
The moose likes Web Services and the fly likes How to publish web service namespace uri/url? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "How to publish web service namespace uri/url?" Watch "How to publish web service namespace uri/url?" New topic
Author

How to publish web service namespace uri/url?

Doug Slattery
Ranch Hand

Joined: Sep 15, 2007
Posts: 294
I'm using eclipse to generate a web service archive and in turn create the client from the wsdl. There's a problem in the wsdl that was generated by the web service archiver wizard having to do with the namespaces.

The problem is the wizard is creating a namespace that can't be resolved in corresponding elements. As an example:

is generated by the wizard. The ns0 namespace is generating an error in the web service client wizard.
src-resolve.4.2: Error resolving component 'ns0:WSAppUser'. It was detected that 'ns0:WSAppUser' is in namespace 'http://beans.myapp.com/xsd', but components from this namespace are not referenceable from schema document 'http://10.190.6.21/axis2/serv

I'm pretty sure the error message is truncated.
It makes sense that the wizard can't resolve the namespace element ns0 to it's source uri/url.

beans.myapp.com is the package WSAppUser is in. It's also in the aar file that was uploaded using the Axis2 Admin page that ultimately ended up creating the wsdl file. I'm unsure how to format the xml to point to the correct package via a uri/url.

Anyone have any insight to this?

It also seems a couple other threads are having similar problems.

Aloha,
Doug

Nothing is impossible if I'mPossible
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How to publish web service namespace uri/url?
 
Similar Threads
Axis 2 - MTOM Service problem
Objects, web services and netbeans
Axis2 (1.5) - Unable to see POJO deployed as service
Apache Axis2: sent method arguments are not received
cvc-complex-type.4: Attribute 'part' must appear on element 'mime:content'.