axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Hawkins <>
Subject Re: Use of DataHandler in a webservice
Date Fri, 16 Dec 2005 09:42:04 GMT
please could you send the whole wsdl. Yes creation of the datahandler 
classes is normal

What version of axis cpp are you using ?

Arnault BELLINA <> 
16/12/2005 09:33
Please respond to
"Apache AXIS C User List"


Use of DataHandler in a webservice

Hello all !

I have a WSDL interface from a Web Service (AXIS-based).
A web service accepts a file as an attachment and a string and return an 
I got the wsdl from this service (see at the end of the mail).

As soon as I try to create the client stub for this WSDL I get a possible 
error of DataHandler use : 

Possible error in class DataHandler: class with no 
Possible error in class DataHandler: class with no 

The webservice is in Doc mode, can I use dataHander with this mode ?
the WSDL2Ws tool create me a DataHandler.cpp and a DataHandler.hpp.
Does this is normal ? I thought DataHandler was a defined type like an 

Could somebody advise me if it's wrong and how to solve this
problem. If it's for you it's correct, is there somebody who can tell me 
how to use  datahandler in c++

Thanks a lot f or your answer.


This is my wsdl. 

<wsdl:definitions targetNamespace="urn:Message" xmlns:tns3="" xmlns:impl="urn:Message" 
xmlns:intf="urn:Message" xmlns:apachesoap="" 
xmlns:wsdlsoap="" xmlns:xsd=""  xmlns:wsdl="">

  <schema xmlns="" 
targetNamespace="urn:Message" elementFormDefault="qualified">
   <import namespace=""/>
   <element name="pushNewMessage">
      <element name="in0" type="xsd:string"/>
      <element name="in3" type="apachesoap:DataHandler"/>

<element name="pushNewMessageResponse">
      <element name="pushNewMessageReturn" type="xsd:int"/>
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les 
tarifs exceptionnels pour appeler la France et l'international. 
Téléchargez la version beta.

View raw message