WSDL生成java文件有问题,请大家帮忙看看啊?
文件1:Request.xsd
<?xml version="1.0" encoding="windows-1252" ?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://mypackage/type" elementFormDefault="qualified"
xmlns:tns="http://mypackage/type/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/"
attributeFormDefault="unqualified">
<complexType name="ValidateUserRequest">
<sequence>
<element name="userName" type="String"/>
<element name="password" type="String"/>
</sequence>
</complexType>
</schema>
文件2 Response.xsd:
<?xml version="1.0" encoding="windows-1252" ?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://mypackage/type" elementFormDefault="qualified"
xmlns:tns="http://mypackage/type/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soap11-enc="http://schemas.xmlsoap.org/soap/encoding/">
<complexType name="ValidateUserResponse">
<sequence>
<element name="Result" type="String" nillable="true"/>
</sequence>
</complexType>
</schema>