axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 蘇 軼(CEC) <s_i...@cec-ltd.co.jp>
Subject Re: -- Why there is No DataHandler definition in wsdl?
Date Wed, 07 Jun 2006 01:33:52 GMT
hi Stepan,

Thank you VERY much for your help !

The problem was solved by changing the namespace 'tns1' to 'apachesoap'.
I think it is a bug of this sample, because the 'tns1' is written in the
deploy.wsdd file.

BTW: the namespace 'apachesoap' references to
'http://xml.apache.org/xml-soap',
by the page is not found. Is it a namespace defined inside the axis
implementation?

Thanks again !

- sukie

----- Original Message ----- 
From: "Stepan Kalichkin" <stepura@ngs.ru>
To: "itsu sukie" <s_itsu@cec-ltd.co.jp>
Sent: Tuesday, June 06, 2006 7:25 PM
Subject: -- Why there is No DataHandler definition in wsdl?


> 1. Check you CLASSPATH for org.apache.axis.wsdl.WSDL2Java
> my output is:
> echo $AXISCLASSPATH
>
/srv/www/tomcat5/base/webapps/axis/WEB-INF/lib/axis.jar:/srv/www/tomcat5/bas
e/webapps/axis/WEB-INF/lib//commons-discovery-0.2.jar:/srv/www/tomcat5/base/
webapps/axis/WEB-INF/lib//commons-logging-1.0.4.jar:/srv/www/tomcat5/base/we
bapps/axis/WEB-INF/lib//jaxrpc.jar:/srv/www/tomcat5/base/webapps/axis/WEB-IN
F/lib//saaj.jar:/srv/www/tomcat5/base/webapps/axis/WEB-INF/lib//log4j-1.2.8.
jar:/srv/www/tomcat5/base/webapps/axis/WEB-INF/lib//mail.jar:/srv/www/tomcat
5/base/webapps/axis/WEB-INF/lib//wsdl4j-1.5.1.jar:/srv/www/tomcat5/base/weba
pps/axis/WEB-INF/lib//jaf-1.0.2.jar
>
> It must include implementation of javax.activation lib.  jaf-1.0.2.jar in
my
> case.
>
> 2. check your wsdl
> it should like this
>
>
> ........
> <definitions name="urn:ProductsFetcher"
>              targetNamespace="urn:Products"
>              xmlns:tns="urn:Products"
>              xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"
>              xmlns:type_ns="urn:Products"
>              xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>              xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
>              xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
>              xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
>              xmlns:apachesoap="http://xml.apache.org/xml-soap"
>              xmlns="http://schemas.xmlsoap.org/wsdl/">
>
>
> ..........
>         <xsd:complexType name="ArrayOfDocuments">
>           <xsd:complexContent>
>               <xsd:restriction base="soapenc:Array">
>                   <xsd:attribute ref="soapenc:arrayType"
> arrayType="apachesoap:DataHandler[]"/>
>               </xsd:restriction>
>           </xsd:complexContent>
>         </xsd:complexType>
> .............
> or some stuff suitable for your case
> So DataHandler should be in apachesoap namespace.
>
> P.S. If it'll help for you please submit it in axis-user mail list.
>
> Stepan.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message