PB9.0能处理这样的WebService吗
乐不 2012-11-01 05:17:56 <complexType name="requestMessage"> 和包含的 type="xsd:base64Binary" 这种, PB9.0能处理这样的WebService吗?
--------------------------------------------------
?wsdl如下:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://192.168.1.10:8081/nsam-public/services/ediEnterprisesService" xmlns:apachesoap="http://xml.apache.org/xml-soap"
xmlns:impl="http://192.168.1.10:8081/nsam-public/services/ediEnterprisesService" xmlns:intf="http://192.168.1.10:8081/nsam-public/services/ediEnterprisesService"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns1="RequestMessage"
xmlns:tns2="ResponseMessage"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis version: 1.4
Built on Apr 22, 2006 (06:55:48 PDT)-->
<wsdl:types>
<schema targetNamespace="RequestMessage" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="ResponseMessage"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="requestMessage">
<sequence>
<element name="busKey" nillable="true" type="xsd:string"/>
<element name="cnc" nillable="true" type="xsd:string"/>
<element name="dataType" nillable="true" type="xsd:string"/>
<element name="file" nillable="true" type="xsd:base64Binary"/>
<element name="fileKind" nillable="true" type="xsd:string"/>
<element name="filename" nillable="true" type="xsd:string"/>
<element name="mac" nillable="true" type="xsd:string"/>
<element name="mgj" nillable="true" type="xsd:string"/>
<element name="ownerCode" nillable="true" type="xsd:string"/>
<element name="password" nillable="true" type="xsd:string"/>
<element name="userName" nillable="true" type="xsd:string"/>
<element name="version" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</schema>
<schema targetNamespace="ResponseMessage" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="RequestMessage"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="responseMessage">
<sequence>
<element name="fileMessage" nillable="true" type="xsd:base64Binary"/>
<element name="messageType" nillable="true" type="xsd:int"/>
<element name="result" nillable="true" type="xsd:int"/>
<element name="tipsMessage" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="requestDataRequest">
<wsdl:part name="request" type="tns1:requestMessage"/>
</wsdl:message>
<wsdl:message name="putFileToNsamResponse">
<wsdl:part name="putFileToNsamReturn" type="tns2:responseMessage"/>
</wsdl:message>
<wsdl:message name="activateTransMailResponse">
<wsdl:part name="activateTransMailReturn" type="tns2:responseMessage"/>
</wsdl:message>
<wsdl:message name="putFileToNsamRequest">
<wsdl:part name="request" type="tns1:requestMessage"/>
</wsdl:message>
<wsdl:message name="returnOkAfterGettingRequest">
<wsdl:part name="request" type="tns1:requestMessage"/>
</wsdl:message>
<wsdl:message name="requestDataResponse">
<wsdl:part name="requestDataReturn" type="tns2:responseMessage"/>
</wsdl:message>
<wsdl:message name="getFileFromNsamRequest">
<wsdl:part name="request" type="tns1:requestMessage"/>
</wsdl:message>
<wsdl:message name="getTransMailConfigResponse">
<wsdl:part name="getTransMailConfigReturn" type="tns2:responseMessage"/>
</wsdl:message>
<wsdl:message name="getTransMailConfigRequest">
<wsdl:part name="request" type="tns1:requestMessage"/>
</wsdl:message>
<wsdl:message name="returnOkAfterGettingResponse">
<wsdl:part name="returnOkAfterGettingReturn" type="tns2:responseMessage"/>
</wsdl:message>
<wsdl:message name="getFileFromNsamResponse">
<wsdl:part name="getFileFromNsamReturn" type="tns2:responseMessage"/>
</wsdl:message>
<wsdl:message name="activateTransMailRequest">
<wsdl:part name="request" type="tns1:requestMessage"/>
</wsdl:message>
<wsdl:portType name="EdiEnterprisesService">
<wsdl:operation name="activateTransMail" parameterOrder="request">
<wsdl:input message="impl:activateTransMailRequest" name="activateTransMailRequest"/>
<wsdl:output message="impl:activateTransMailResponse" name="activateTransMailResponse"/>
</wsdl:operation>
...
</wsdl:portType>
<wsdl:binding name="ediEnterprisesServiceSoapBinding" type="impl:EdiEnterprisesService">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="activateTransMail">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="activateTransMailRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://webservice.nsam.application.customs.gov.cn" use="encoded"/>
</wsdl:input>
<wsdl:output name="activateTransMailResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://192.168.1.10:8081/nsam-public/services/ediEnterprisesService" use="encoded"/>
</wsdl:output>
</wsdl:operation>
....
</wsdl:binding>
<wsdl:service name="EdiEnterprisesServiceService">
<wsdl:port binding="impl:ediEnterprisesServiceSoapBinding" name="ediEnterprisesService">
<wsdlsoap:address location="http://192.168.1.10:8081/nsam-public/services/ediEnterprisesService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>