You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Desmond Whewell (CV/ETL)" <de...@ericsson.com> on 2007/07/16 15:32:07 UTC
RE: Pulling wsdl off a server (solved)
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:desmond.whewell@ericsson.com]
Sent: 16 July 2007 13:16
To: axis-user@ws.apache.org
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:atmanes@gmail.com]
Sent: 16 July 2007 13:14
To: axis-user@ws.apache.org
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) <de...@ericsson.com>
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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org