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


Reply via email to