Hi, My service published a WSDL. My client is trying to create Visual studio C++ .Net while she is trying to "Add a Web Reference to the the XML Web Service Client Project". It does not generate the srvice header file. I believe it is an issue of versioning. While reading a sample wsdl file in C++.Net, it structured a bit different. Do you have an idea how should I deal with that problem.
While I run the SPROXY.exe from the command line, the error says: "SPROXY has encountered an Operation that meets these conditions: style = "document" use = "encoded" This combination is not supported by SPROXY. Thanks you, Aria Here is a sample WSDL from C++ sample: <?xml version="1.0"?> <!-- ATL Server generated Web Service Description --> <definitions xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s0="urn:CWeatherService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:atls="http://tempuri.org/vc/atl/server/" targetNamespace="urn:CWeatherService" xmlns="http://schemas.xmlsoap.org/wsdl/" > <types> <s:schema targetNamespace="urn:CWeatherService" attributeFormDefault="qualified" elementFormDefault="qualified"> <s:complexType name="GetAvailableCities_cities_Array"> <s:complexContent> <s:restriction base="soapenc:Array"> <s:attribute ref="soapenc:arrayType" wsdl:arrayType="s:string[]"/> </s:restriction> </s:complexContent> ......... ......... WSDL generated by AXIS: <?xml version="1.0" encoding="UTF-8" ?> - <wsdl:definitions targetNamespace="http://ccvaapps02:8080/axis/services/MessageService4" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://ccvaapps02:8080/axis/services/MessageService4" xmlns:intf="http://ccvaapps02:8080/axis/services/MessageService4" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <wsdl:message name="echoElementsRequest" /> - <wsdl:message name="echoElementsResponse"> <wsdl:part name="echoElementsReturn" type="xsd:anyType" /> </wsdl:message> - <wsdl:portType name="MessageService4"> - <wsdl:operation name="echoElements"> <wsdl:input message="impl:echoElementsRequest" name="echoElementsRequest" /> <wsdl:output message="impl:echoElementsResponse" name="echoElementsResponse" /> </wsdl:operation> </wsdl:portType> - <wsdl:binding name="MessageService4SoapBinding" type="impl:MessageService4"> <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> - <wsdl:operation name="echoElements"> <wsdlsoap:operation soapAction="" /> ...... ........
