hi,
Are you referring to the GUI tool available with the WSAS Admin console.
With that tool you can not use the imports and includes since the server
can not upload these imports automatically. The only option you have is
to codegen with the Wsdl2java tool.

thanks,
Amila.

On Fri, 2008-02-01 at 02:27 -0800, stlecho wrote:
> Hi,
> 
> I am using a WSDL that imports an XSD by using <xsd:import
> namespace="http://wsdl.credoc.be/v2/asf"; schemaLocation="CredocASF.xsd"/>.
> This XSD is located at the same location as the WSDL. 
> 
> When using the WSDL in the WSDL2Code tool, I get the following error
> message: "An error occurred trying to resolve schema referenced at
> 'CredocCommon.xsd', relative to
> 'file:/G:/progs/wso2wsas-2.2/./work/extra/1.2018581221507517E12/ASF.wsdl'.:
> java.io.FileNotFoundException: This file was not found:
> file:/G:/progs/wso2wsas-2.2/work/extra/1.2018581221507517E12/CredocCommon.xsd"
> 
> Generating Java code for this WSDL works perfectly with Axis2, so I suppose
> that the import statement is correct. WSAS however has a problem to find the
> imported XSD, because it works on a copy of the original WSDL and in that
> location the XSD does not exist.
> 
> Is there a solution/workaround to this problem ?
> 
> Regards, Stefan Lecho.


_______________________________________________
Wsas-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user

Reply via email to