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
