File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes SOAP with attachment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "SOAP with attachment" Watch "SOAP with attachment" New topic
Author

SOAP with attachment

Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Hi,
I'm trying to develop a webservice which will send and receive messages(string) with attachments(xml,pdf).Currently using Apache SOAP(working fine).
May i know what sort of interoperability problem i will face if my client uses different SOAP implementation(MSSOAP,IBM WebSp,SOAP-lite ..)to access my service.
Regards
Balaji


Spritle Software Blogs
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Well, one problem is that very few SOAP implementations currently correctly interpret WSDL that specifies MIME attachments. For instance, neither Axis nor the IBM implementation in WSAD will handle it. I'm not sure about MS...
Kyle


Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by Kyle Brown:
Well, one problem is that very few SOAP implementations currently correctly interpret WSDL that specifies MIME attachments. For instance, neither Axis nor the IBM implementation in WSAD will handle it. I'm not sure about MS...
Kyle

So does that mean,IBM WSAD and Apache Axis cannot interoperate with each other for SOAP with attachment ?. Actually I'm using example supplied with Apache Axis(EchoAttachmentService.java).
I tried to convert the EchoAttachmentService WSDL file into VB.NET like WSDLtoJava, I only got errors saying namespace not found.. ?
Isn't that we running again into a vendor locking for clients that we had RMI-IIOP,..?
Kyle Brown
author
Ranch Hand

Joined: Aug 10, 2001
Posts: 3892
    
    5
Yes that's right. However, this is a temporary thing -- I'd expect this to be addressed relatively quickly since the specs are already agreed to.
Kyle
John Radko
Greenhorn

Joined: Feb 08, 2002
Posts: 2
Regretfully, the attachments standard is still being hammered out SwA (SOAP with Attachments) is not endorsed by MS, who prefer a standard called DIME. The WS-I is working on something to standardize everyone called WS-Attachments.
You might look at PocketSOAP in the meantime, which I believe supports SwA.
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Originally posted by John Radko:

You might look at PocketSOAP in the meantime, which I believe supports SwA.

then i have to switch to VB/ASP/C# ..
I would better wait for some time as suggested by kyle.
John Radko
Greenhorn

Joined: Feb 08, 2002
Posts: 2
"switch to VB..."
Oops, you're right. It was the MSSoap that threw me. Check out GLUE from the Mind Electric. www.themindelectric.com
Cheers . . . John
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SOAP with attachment
 
Similar Threads
Apache SOAP. Does vectorized parameter equal SOAP Body?
Passed SCDJWS 5 with 98.4%
Erotic site ! should / shouldn't ?
Learning Guitar
Mock Question