This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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).
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Need a java sample for invoking a web service which supports DIME message
 
Similar Threads
Web Services and DIME
Need a help on Web service startup
Adding attachments to web service response
DIME, SOAP-RPC
Consuming SOAP Web Service