• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

How to publish web service namespace uri/url?

Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 '

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.


Nothing is impossible if I'mPossible
No holds barred. And no bars holed. Except this tiny ad:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic