Can't generate client from WSDL
WCF and WF
1
Posts
1
Posters
0
Views
1
Watching
-
I cannot add a service reference for my java-side web service, WCF (or svcutil) simply does not generate the client. :( I have stripped it down to this simple example, but still, there seems to be something wrong with the Fault... can anybody help me? I am currently lost.
<wsdl:definitions name="HelloWorldService"
targetNamespace="http://my.samle.com/HelloWorldService/"
xmlns:tns="http://my.samle.com/HelloWorldService/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><wsdl:types> <xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://my.samle.com/HelloWorldService/"> <xsd:simpleType name="NoObjectFoundFault"> <xsd:restriction base="xsd:int"></xsd:restriction> </xsd:simpleType> <xsd:element name="NoObjectFoundFault" type="tns:NoObjectFoundFault"></xsd:element> <xsd:simpleType name="SayHelloRequest"> <xsd:restriction base="xsd:string"></xsd:restriction> </xsd:simpleType> <xsd:element name="SayHelloRequest" type="tns:SayHelloRequest"></xsd:element> <xsd:simpleType name="SayHelloResponse"> <xsd:restriction base="xsd:int"></xsd:restriction> </xsd:simpleType> <xsd:element name="SayHelloResponse" type="tns:SayHelloResponse"></xsd:element> </xsd:schema> </wsdl:types> <wsdl:message name="NoObjectFoundFault"> <wsdl:part name="faultCode" element="tns:NoObjectFoundFault"></wsdl:part> </wsdl:message> <wsdl:message name="sayHello"> <wsdl:part element="tns:SayHelloRequest" name="parameters1" /> </wsdl:message> <wsdl:message name="sayHelloResponse"> <wsdl:part element="tns:SayHelloResponse" name="parameters2" /> </wsdl:message> <wsdl:portType name="HelloWorld"> <wsdl:operation name="sayHello"> <wsdl:input message="tns:sayHello"></wsdl:input> <wsdl:output message="tns:sayHelloResponse"></wsdl:output> <wsdl:fault name="fault" message="tns:NoObjectFoundFault"></wsdl:fault> </wsdl:operation> </wsdl:portType> <wsdl:binding name="HelloWorldSOAP" type="tns:HelloWorld"> <soap12:binding style="document" transport="http://w