Webservice : attachment , use javax.activation.DataHandler?

Hi,

I wish to create a WS to receipt attachment from a client. To be compliant with standard WS, i wish use javax.activation.DataHandler class.

But it seems not possible.

So, Lotus proposes to use WS but not possible to transfert attachment ? somebody has an experience in this ?

exemple :

Part_1_470817808.1228921816490

Content-Type: text/xml

<soap-env:Envelope xmlns:soap-env=“http://schemas.xmlsoap.org/soap/envelope/”>

soap-env:Header</soap-env:Header>

soap-env:Body

GSH

testenvoi.txt

0.8575144189895471

</soap-env:Body>

</soap-env:Envelope>

------=_Part_1_470817808.1228921816490

Content-Type: text/plain

Content-Id: 0.857

regards.

Subject: Find any solution?

Hi,Did you find any solution to this?

I have the same problem when trying to use javax.activation.DataHandler. Impossible to save the Web Service because I’m getting the error:

Data type javax.activation.DataHandler is not a conforming value type or enumeration, and has no registrered XSD type mapping.

Tried to add actiovation.jar to the Java Build Path and to the servers and clients CLASSPATH, but no success.

I’m able to handle attachments by using base64 encoding, but it only works for very small attachments.