<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsx="http://schemas.xmlsoap.org/ws/2004/09/mex" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:tns="http://tempuri.org/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" name="myWCF" targetNamespace="http://tempuri.org/">
<wsdl:import namespace="" location="http://ip_address/Test/myWCF.svc?wsdl=wsdl0"/>
<wsdl:types/>
<wsdl:service name="myWCF"/>
</wsdl:definitions>
它是从WCF生成的。 它丢失了什么吗?因为当我从Java生成它的客户端时,我没有得到这些方法,而且它们似乎不是我的wsdl。
如果此wsdl缺少方法,或者服务器端出现问题,有人可以确认我。
谢谢。
答案 0 :(得分:2)
这取决于包含的WSDL文档中包含的内容。 请参阅第二行中的WSDL:
<wsdl:import namespace="" location="http://ip_address/Test/myWCF.svc?wsdl=wsdl0"/>