Hi Torsten,

I've had teh same problem.

currently the WSDL MIME binding is not implemented in AXIS.
There is some special support which will not lead to interoperable
solutions.

I've attached an earlier mail from Russel.

There is one example which does not use any WSDL tool in
samples/attachments.

I've been working on a service which uses the
{http://xml.apache.org/xml-soap}DataHandler type in WSDL which will be
mapped to javax.activation.DataHandler type for generic mime attachments.
But I still have problems with that.

This support is not included in RC1 so you will have to checkout one of the
recent nightly builds or build AXIS from CVS.



Bye,
Uli

--
Ulrich Winter
100world AG


----- Original Message -----
From: "Torsten Kablitz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 27, 2002 2:58 AM
Subject: Help with MIME


I'm building a client system using Axis, but I need to send and receive
MIME attachments. One, the WSDL2Java tool fails when the wsdl file
includes MIME definitions and two, where do I find a good example of how
to do this with the Axis toolkit?



Thanks,



Torsten


--- Begin Message ---




There is limited support for mime bindings.  See
test/wsdl/attachments/mime.wsdl.  This WSDL follows the WSDL 1.1 spec, but
the WSDL 1.1 spec is broken wrt mime bindings so AXIS has also added a few
AXIS-specific (ie., it won't interoperate with anyone else's SOAP engine)
MIME types:

... xmlns:axis="http://xml.apache.org/xml-soap";...

<message name="x" type="axis:Image"/> => image/jpeg => java.awt.Image
<message name="x" type="axis:PlainText"/> => text/plain => java.lang.String
<message name="x" type="axis:Multipart"/> => multipart/related =>
javax.mail.internet.MimeMultipart
<message name="x" type="axis:Source"/> => text/xml =>
javax.xml.transform.Source
<message name="x" type="axis:DataHandler"/> => javax.activation.DataHandler

Russell Butek
[EMAIL PROTECTED]


Davanum Srinivas <[EMAIL PROTECTED]> on 09/26/2002 06:29:05 AM

Please respond to [EMAIL PROTECTED]

To:    [EMAIL PROTECTED], [EMAIL PROTECTED]
cc:
Subject:    Re: WSDL MIME binding support in axis?



It will be added as soon as you send in a patch for it :)

No ETA as yet, Definitely Post 1.0.

-- dims

--- Ulrich Winter <[EMAIL PROTECTED]> wrote:
> Hi,
>
> the JAX-RPC spec doesn't require an implementation to use the WSDL MIME
> binding to support remote method calls with MIME encoded content.
>
> It seems, that AXIS currently doesn't use the WSDL mime binding.
> Is this right?
> When will WSDL MIME binding support be added to AXIS?
>
> Thank you,
> Uli
>


=====
Davanum Srinivas - http://xml.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
 http://sbc.yahoo.com

--- End Message ---

Reply via email to