Russell Butek
[EMAIL PROTECTED]
Please respond to [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: RE: WSDL types schema definition
�
� Thanks for the information.� I tried to find documentation on import but was unsuccessful.� Do you know if import is supported by Wsdl2Java?� When I try to use it, I get the error message:�
��� WSDLException:� faultCode=OTHER_ERROR:� Unable to resolve imported document�at 'http://...'. : no content-type: java.net.UnknownServiceException:� no content-type
...
...
...
�
I know the xsd file is in the correct place as I'm able to retrieve it from the command line using wget.� FYI, as soon as I can figure all this out, I'll be happy to write some user doc on the subject.
�
Thanks,
Mathew
�
���
-----Original Message-----
From: Russell Butek [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 05, 2002 3:30 PM
To: [EMAIL PROTECTED]
Subject: Re: WSDL types schema definition
If the schema file is defined at "http://www.com.xxx/remoteschema.xsd", and it contains a complexType named "XXX", then you could import it:
<definitions
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:otherStuff="urn:otherStuff"
...>
<import
location="http://www.com.xxx/remoteschema.xsd"
namespace="urn:otherStuff">
</import>
...
...<element name="x" type="otherStuff:XXX">...
...
</definitions>
Russell Butek
[EMAIL PROTECTED]
Please respond to [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
cc:
Subject: WSDL types schema definition
Can anyone tell me if it's possible to define a schema within types in
which the schema xsd exists on another server? �I want to reuse and
reference a schema already defined in a different location. �Do I have to
define the schema within the wsdl document? �Any insight would be
appreciated.
Thanks,
Mathew
