Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to publish web service namespace uri/url?

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 '', but components from this namespace are not referenceable from schema document '

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. 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.


Nothing is impossible if I'mPossible
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic