Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to publish web service namespace uri/url?
How to publish web service namespace uri/url? [message #326412] Wed, 19 March 2008 00:15
Eclipse UserFriend
Originally posted by: slatteryd002.hawaii.rr.com

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 with the following ns0 namespace
id generated by the web service archiver and subsequently uploaded via the
axis2 admin web page:

<wsdl:definitions ... xmlns:ns0="http://beans.myapp.com/xsd" ...
targetNamespace="http://webservices.myapp.com">
<wsdl:documentation>ApplicationUserService</wsdl:documentation >
<wsdl:types>
...
<xs:schema ... >
<xs:element name="loginResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return"
nillable="true" type="ns0:WSAppUser"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
...
</wsdl:types>
</wsdl:documentation>
</wsdl:definitions>


The ns0 namespace is generating the following 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?

Aloha,
Doug

Nothing is impossible if I'mPossible
Previous Topic:No local history?
Next Topic:Removing preference store
Goto Forum:
  


Current Time: Tue Sep 17 16:21:20 GMT 2024

Powered by FUDForum. Page generated in 0.03474 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top