Hi,

I'm having a problem with a WSDL file that I have been supplied with.

It references a type:

  <wsdl:message name="getPositionsResponse">
    <wsdl:part name="returnqname" type="apachesoap:DataHandler"/>
  </wsdl:message>

Which I understand should be understood by Axis as returning an
Attachment.

I'm getting an error of:

java.io.IOException: Type {http://xml.apache.org/xml-soap}DataHandler is
referenced but not defined. 

Please can anybody shed some light on what I'm missing?

Thanks for your help!!

James

My command line is (so you have the version information)

java -cp
/home/richja/.maven/repository/commons-logging/jars/commons-logging-1.0.3.
jar:/home/richja/.maven/repository/axis/jars/axis-1.1.j
ar:/home/richja/.maven/repository/commons-discovery/jars/commons-discovery
-0.2.jar:/home/richja/.maven/repository/wsdl4j/jars/wsdl4j-1.0.j
ar:/home/richja/.maven/repository/jaxrpc/jars/jaxrpc-api-1.1.jar:/home/ric
hja/.maven/repository/saaj/jars/saaj-api-1.1.jar org.apache.axis
.wsdl.WSDL2Java $*

(Java 1.4 or 1.5)

Reply via email to