users@jax-ws.java.net

SOAP attachments Interoperability

From: Florian Rengers <rengers_at_grit.de>
Date: Tue, 28 Feb 2006 12:49:21 +0100

Hi all,

I have to write a SOAP Service with J2EE that deliver different
documents like Word, pdf and image files.

As a Service Consumer I have to write a dotNET Client which invokes the
service with the identifier of the desired document.


I have three main questions:

1.)
There are many types of attachment handlings and encodings like MTOM,
sWA, DIME and MIME.
Which of these are really both supported from .NET and from a Java.
A read that I should use mime for an interoperable service, but I also
read that dotNET does not support MIME encoding.


2.)
Which Java Technology should I use for this, Apache Axis or JAX-WS?
I personally would prefer JAX-WS, but AXIS is in a wide use, has a more
production state and has a better support for attachment handling, I
suppose.


3.)
Do I have to define the attachment type in the wsdl-file. I saw some
examples in which that was done.
This is a problem for me because as I described the attachment type will
differ for each response.


Hope that someone can help me out of my uncertainty.

greetings

Florian
istList