I have a WSDL that was written in AXIS/Java. and the client is .NET C++ . I used SPROXY to read that WSDL file and receive the following error: how should I handle: "Anytype??
Thanks, Aria: C:\UIX\UIXClient\UIXClient>sproxy /out:C:\UIX\EOBservice.h http://ccvaapps02:80 80/axis/services/MessageService4?wsdl Microsoft (R) Native Web Service Proxy Generator 7.00.9466 Copyright (C) Microsoft Corporation 1999-2001. All rights reserved. sproxy : error SDL1009 : could not resolve element, with [ namespace = "http://www.w3.org/2001/XMLSchema" name = "anyType" ] sproxy : error SDL1002 : failure in generating output file: "C:\UIX\EOBservice.h " SPROXY Error SDL1009 See Also SPROXY.EXE: Web Service Proxy Generation Tool <ms-help://MS.VSCC/MS.MSDNVS/vccore/html/vcconsproxyexe.htm> could not resolve element, with [ namespace = "namespace" name = "name" ] SPROXY has encountered a reference to an element it cannot find in the WSDL document. This is my WSDL file: <?xml version="1.0" encoding="UTF-8" ?> - <wsdl:definitions targetNamespace="http://localhost:8080/axis/services/MessageService4" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/axis/services/MessageService4" xmlns:intf="http://localhost: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="echoElementsResponse"> <wsdl:part name="echoElementsReturn" type="xsd:anyType" /> </wsdl:message> <wsdl:message name="echoElementsRequest" /> - <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="" /> - <wsdl:input name="echoElementsRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/MessageService4" use="literal" /> </wsdl:input> - <wsdl:output name="echoElementsResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/MessageService4" use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> - <wsdl:service name="MessageService4"> - <wsdl:port binding="impl:MessageService4SoapBinding" name="MessageService4"> <wsdlsoap:address location="http://localhost:8080/axis/services/MessageService4" /> </wsdl:port> </wsdl:service> </wsdl:definitions>