For anyone else who is curious,

Ok, just looked on the wire and it appears that Axis2 is munging the
schema locations as

Formal:
<xs:include schemaLocation="myImportedSchema.xsd"/>

Supplied by Axis2:
<xs:include schemaLocation="MyService?xsd=xsd0"/>

Dropping ".../axis2/service/MyService?xsd=xsd0" into a browser returns
the schema contents (ie myImportedSchema.xsd).

It does this for all the schemas it comes across.

Cheers,

-----Original Message-----
From: Desmond Whewell (CV/ETL) [mailto:[EMAIL PROTECTED] 
Sent: 16 July 2007 13:16
To: [email protected]
Subject: RE: Pulling wsdl off a server

So if my wsdl used:

...
<xs:include schemaLocation="myImportedSchema.xsd"/>
...

Would that be sufficient? Or do I have to specify the location as a URL?

Cheers, Des

-----Original Message-----
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: 16 July 2007 13:14
To: [email protected]
Subject: Re: Pulling wsdl off a server

Included or imported schemas should specify a schemaLocation attribute
that specifies the path to the XSDs.

Anne

On 7/16/07, Desmond Whewell (CV/ETL) <[EMAIL PROTECTED]>
wrote:
> I understand that I can retrieve the WSDL of  a service by performing 
> a GET to a URL, ".../axis2/service/MyService?wsdl", say. If I choose 
> to use the original WSDL and that WSDL performs includes or imports, 
> from where should the referenced XSD files be retrieved?
>
> Cheers, Des
>
> Axis2 1.2/Tomcat 5.5.9
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to