Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to publish web service namespace uri/url?  RSS feed

 
Doug Slattery
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!