Hello,
I have deployed a proto for a WS in Axis 1.2.1 that is working
just fine with a dummy Axis client but I have some problems getting it
to work with the O2003 Toolkit. The wizard finds the WS just fine and
generates the code but when running it an error occurs when initing the
service:
"SoapMapper:The schema definition with a targetnamespace of http://schemas.xmlsoap.org/soap/encoding/ for
SoapMapper string could not be found HRESULT=0x80004005: Unspecified error - WSDLOperation:Initialization
of a SoapMapper for operation dump failed HRESULT=0x80004005: Unspecified error - WSDLOperation:
Initializing of the output messaged failed for operation dump HRESULT=0x80004005: Unspecified error"
I am quite the noob when it comes to XML and WS :-/ Is it something
with the namespace/soapenc or? It would be nice if I could present an
Excel view of the data generated in Axis to our customer. It is
supposed to return an array of Product objects (containing only a
string attribute for now).
Thankful for any assistance!,
- Nik
The wsdl generated by Axis is:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="urn:dumper" xmlns:impl="urn:dumper" xmlns:intf="urn:dumper"
xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<!--WSDL created by Apache Axis version: 1.2.1
Built on Jun 14, 2005 (09:15:57 EDT)-->
<wsdl:types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:dumper">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="Product">
<sequence>
<element name="name" nillable="true" type="soapenc:string"/>
</sequence>
</complexType>
<complexType name="ArrayOfProduct">
<complexContent>
<restriction base="soapenc:Array">
<attribute ref="soapenc:arrayType"
wsdl:arrayType="impl:Product[]"/>
</restriction>
</complexContent>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="dumpRequest">
</wsdl:message>
<wsdl:message name="dumpResponse">
<wsdl:part name="dumpReturn" type="impl:ArrayOfProduct"/>
</wsdl:message>
<wsdl:portType name="DumperService">
<wsdl:operation name="dump">
<wsdl:input name="dumpRequest" message="impl:dumpRequest"/>
<wsdl:output name="dumpResponse" message="impl:dumpResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="DumperSoapBinding" type="impl:DumperService">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="dump">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="dumpRequest">
<wsdlsoap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:dumper"/>
</wsdl:input>
<wsdl:output name="dumpResponse">
<wsdlsoap:body use="encoded"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
namespace="urn:dumper"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="DumperServiceService">
<wsdl:port name="Dumper" binding="impl:DumperSoapBinding">
<wsdlsoap:address location="http://localhost:8080/axis/services/Dumper"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
- Axis 1.2.1 and Microsoft Office 2003 Web Services Toolki... Nicklas Karlsson
- RE: Axis 1.2.1 and Microsoft Office 2003 Web Servic... Flores, Raul
- Re: Axis 1.2.1 and Microsoft Office 2003 Web Se... Anne Thomas Manes
- Re: Axis 1.2.1 and Microsoft Office 2003 We... Nicklas Karlsson
- Re: Axis 1.2.1 and Microsoft Office 200... Anne Thomas Manes
- Re: Axis 1.2.1 and Microsoft Offic... Nicklas Karlsson
- Re: Axis 1.2.1 and Microsoft O... Elaine
- Re: Axis 1.2.1 and Microso... Anne Thomas Manes
