请帮我帮测试一下WSDL文件
要求平台:VS2008
<?xml version="1.0" encoding="utf-8"?>
<WSDL:definitions xmlns:MIME="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.hectrix.com/ACTAtek.service" xmlns:DIME="http://schemas.xmlsoap.org/ws/2002/04/dime/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.hectrix.com/ACTAtek.xsd" xmlns="http://schemas.xmlsoap.org/wsdl/" name="ACTAtek" targetNamespace="http://www.hectrix.com/ACTAtek.service" xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/">
<WSDL:types>
<documentation>
</documentation>
<xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://www.hectrix.com/ACTAtek.xsd">
<xsd:element name="sessionID" type="xsd:long" />
<xsd:element name="username" type="xsd:string" />
<xsd:element name="password" type="xsd:string" />
</xsd:schema>
</WSDL:types>
<WSDL:message name="loginRequest">
<WSDL:part name="username" element="ns:username" />
<WSDL:part name="password" element="ns:password" />
</WSDL:message>
<WSDL:message name="loginResponse">
<WSDL:part name="sessionID" element="ns:sessionID" />
</WSDL:message>
<WSDL:portType name="ACTAtekPortType">
<WSDL:operation name="login">
<documentation>Return sessionID for subsequent calls</documentation>
<WSDL:input message="tns:loginRequest" />
<WSDL:output message="tns:loginResponse" />
</WSDL:operation>
</WSDL:portType>
<WSDL:binding name="ACTAtek" type="tns:ACTAtekPortType">
<SOAP:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" />
<WSDL:operation name="login">
<SOAP:operation soapAction="" style="rpc" />
<WSDL:input>
<SOAP:body use="literal" namespace="http://www.hectrix.com/ACTAtek.xsd" />
</WSDL:input>
<WSDL:output>
<SOAP:body use="literal" namespace="http://www.hectrix.com/ACTAtek.xsd" />
</WSDL:output>
</WSDL:operation>
</WSDL:binding>
<WSDL:service name="ACTAtek">
<documentation>WebService API for ACTAtek</documentation>
<WSDL:port name="ACTAtek" binding="tns:ACTAtek">
<SOAP:address location="http://www.hectrix.com/ACTAtek.wsdl" />
</WSDL:port>
</WSDL:service>
</WSDL:definitions>
我在测试时发生错误:
命名空间“http://www.hectrix.com/ACTAtek.service”中的操作绑定“login”已被忽略。在 use=literal style=rpc 消息的每个消息部分都必须指定类型。
我已经指定了类型,
<WSDL:part name="username" element="ns:username" />
<WSDL:part name="password" element="ns:password" />
为什么说没有指定?
有哪位高手指点一下,困绕我好久了,谢谢!