aspose file tools*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 2906
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).


"Don't succumb to the false authority of a tool or model. There is no substitute for thinking."
Andy Hunt, Pragmatic Thinking & Learning: Refactor Your Wetware p.41
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need a java sample for invoking a web service which supports DIME message
 
Similar Threads
DIME, SOAP-RPC
Need a help on Web service startup
Adding attachments to web service response
Web Services and DIME
Consuming SOAP Web Service