|
Hi!
As I have seen in the archive others have this
problem too, but I couldn't find a solution in the archive... When I deploy
the Attachment example, and try it out with testit.cmd, everything works fine.
But I can't get a valid WSDL file out of it (see attachment in this mail).
The errormessage of XML Spy says, that the parameter DataHandler
is not defined.
Somewhere else I read, that DataHandler should be
in the apachesoap Namespace...
Can anyone tell me what I do wrong, or how I
can get a valid WSDL-file? Your help would be very much
appreciated!
With best regards,
Thomas Lukasser
|
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://localhost:8080/axis/services/urn:EchoAttachmentsService" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/axis/services/urn:EchoAttachmentsService" xmlns:intf="http://localhost:8080/axis/services/urn:EchoAttachmentsService" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns1="urn:EchoAttachmentsService" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <!--WSDL created by Apache Axis version: 1.3 Built on Oct 05, 2005 (05:23:37 EDT)--> <wsdl:types> <schema targetNamespace="http://localhost:8080/axis/services/urn:EchoAttachmentsService" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="urn:EchoAttachmentsService"/> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="ArrayOf_tns1_DataHandler"> <complexContent> <restriction base="soapenc:Array"> <attribute ref="soapenc:arrayType" wsdl:arrayType="tns1:DataHandler[]"/> </restriction> </complexContent> </complexType> </schema> </wsdl:types>
<wsdl:message name="echoRequest">
<wsdl:part name="dh" type="tns1:DataHandler"/>
</wsdl:message>
<wsdl:message name="echoDirRequest">
<wsdl:part name="attachments" type="impl:ArrayOf_tns1_DataHandler"/>
</wsdl:message>
<wsdl:message name="echoDirResponse">
<wsdl:part name="echoDirReturn" type="impl:ArrayOf_tns1_DataHandler"/>
</wsdl:message>
<wsdl:message name="echoResponse">
<wsdl:part name="returnqname" type="tns1:DataHandler"/>
</wsdl:message>
<wsdl:portType name="EchoAttachmentsService">
<wsdl:operation name="echo" parameterOrder="dh">
<wsdl:input message="impl:echoRequest" name="echoRequest"/>
<wsdl:output message="impl:echoResponse" name="echoResponse"/>
</wsdl:operation>
<wsdl:operation name="echoDir" parameterOrder="attachments">
<wsdl:input message="impl:echoDirRequest" name="echoDirRequest"/>
<wsdl:output message="impl:echoDirResponse" name="echoDirResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="urn:EchoAttachmentsServiceSoapBinding" type="impl:EchoAttachmentsService">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="echo">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="echoRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/urn:EchoAttachmentsService" use="encoded"/>
</wsdl:input>
<wsdl:output name="echoResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/urn:EchoAttachmentsService" use="encoded"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="echoDir">
<wsdlsoap:operation soapAction=""/>
<wsdl:input name="echoDirRequest">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://attachments.samples" use="encoded"/>
</wsdl:input>
<wsdl:output name="echoDirResponse">
<wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://localhost:8080/axis/services/urn:EchoAttachmentsService" use="encoded"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="EchoAttachmentsServiceService">
<wsdl:port binding="impl:urn:EchoAttachmentsServiceSoapBinding" name="urn:EchoAttachmentsService">
<wsdlsoap:address location="http://localhost:8080/axis/services/urn:EchoAttachmentsService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
