Meaningless Drivel is fun!*
The moose likes Web Services and the fly likes Need a java sample for invoking a web service which supports DIME message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Need a java sample for invoking a web service which supports DIME message" Watch "Need a java sample for invoking a web service which supports DIME message" New topic
Author

Need a java sample for invoking a web service which supports DIME message

Ajayyy Guptaaa
Greenhorn

Joined: Jan 23, 2008
Posts: 1
Hi I am trying to access a PHP based Web service from a Java application. The web service accepts a file as attachemnt but only when he SOAP message with attachement is in DIME format.

I tried serching for any sample web service client application in Java which sends DIME message but I couldn't see any sample available.

Can any body please provide me with a SA

which takeunserstands SOAP attachement
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Welcome to JavaRanch!

Java web services and DIME don't play well together unless you are using IBM WebSphere Process attachments using JAX-RPC handlers: Extend handlers to support both MIME and DIME.

Java web services have always preferred the MIME-based SOAP with Attachments (SwA) and then skipped DIME to go straight to the SOAP Message Transmission Optimization Mechanism (MTOM).

However there is a LGPL constrained Java DIME Library (Article).
 
jQuery in Action, 2nd edition
 
subject: Need a java sample for invoking a web service which supports DIME message