You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Mark D. Hansen" <kh...@yahoo.com> on 2004/05/06 19:58:10 UTC
RE: schema definition for DataHandler
Did you ever get an answer to this? I'm having a similar issue. Where is the schema for things like apachesoap:DataHandler, apachesoap:Element? Are we supposed to generate these ourselves using tools like JAXB and the java interface definitions?
Thanks,
Mark
> -----Original Message-----
> From: kiran patchigolla [mailto:pgkiran@hotmail.com]
> Sent: Thursday, October 30, 2003 7:15 PM
> To: axis-user@ws.apache.org
> Subject: Re: schema definition for DataHandler
>
>
> Well, I understand that. But what I am trying to find out is
> the xml schema
> definition, not the location of the java class file.
>
> If I try to validate my WSDL file which has a reference to
> the DataHandler,
> I get the following error:
>
> Error The qname reference to apachesoap:DataHandler made by
> the Element
> named "data" could not be resolved. the namespace prefix
> "apachesoap" here
> denotes the namespace URI http://xml.apache.org/xml-soap.
>
> For avoiding this error I need to import a schema that has a
> definition for
> DataHandler. Did anyone face this? Am I missing something?
>
> Thanks,
>
> Kiran.
>
>
>
> From: Stephen Gordon <steve () student ! usyd ! edu ! au>
> Date: 2003-10-30 23:34:08
>
> javax.activation.DataHandler I think
> It's in activation.jar
> Google for the API docs :)
>
> stephen
>
> kiran patchigolla wrote:
> >I am trying to find the where is the DataHandler defined
> (schema, encoding
> >etc) ? One of my API returns a data handler for returning
> attachments. The
> >namespace for the DataHandler in the generated WSDL is
> >http://xml.apache.org/xml-soap, however that is not a schema
> location. How
> >would a non-Java clients understand this?
> >
> >Thanks,
> >
> >Kiran.
> >
> >_________________________________________________________________
> >Cheer a special someone with a fun Halloween eCard from
> American Greetings!
> >Go to
http://www.msn.americangreetings.com/index_msn.pd?source=msne134
>
>
>
_________________________________________________________________
Never get a busy signal because you are always connected with high-speed
Internet access. Click here to comparison-shop providers.
https://broadband.msn.com