axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jing Xue <jxu...@digizenstudio.com>
Subject wsdlInputSchema causes empty import namespace
Date Tue, 29 Nov 2005 21:12:28 GMT
Without any wsdlInputSchema, ?wsdl always generates a line:
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
at the begining of the schema.

However, as soon as I added:
<parameter name="wsdlInputSchema"
value="http://127.0.0.1:8080/myservice/my-types.xsd"/>
?wsdl instead would generate simply:
<import namespace=""/>

Which causes the wsdl to become invalid.

my-types.xsd has one simpleType and one complexType, and looks like:
<?xml version="1.0"?>
<schema targetNamespace="http://mycompany.com/myservice"
            xmlns="http://www.w3.org/2001/XMLSchema">

<!-- here goes the types -->

</schema>

Is there anything I'm missing?
Thanks.
--Jing Xue


Mime
View raw message