axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ghershony, Arie" <Arie.Ghersh...@GDC4S.Com>
Subject interoperability
Date Mon, 10 Mar 2003 23:22:13 GMT

I am running Sproxy to read WSDL and received an error.  How
showld I handle it??  here is the Service signature I am using:
public SOAPBodyElement[] retbattle(SOAPBodyElement[] elems) 

Does any one have a better way of generating .Net C++ header files?

The Error:

C:\UIX\UIXClient\UIXClient>sproxy  /out:C:\UIX\EOBservice.h
http://ccvaapps02:80

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>


Thank you,
Aria

Mime
View raw message