Ok, I found some samples for jbossws 1.0.1 GA.
It would be nice to see a working sample where the Server returns an attachment
to the Client. The example which I have shown seems to indicate that there may
be a bug in this scenario.
It would be great if we could return arbitrary content types
The SOAP w/ Attachments example shows a procedure for port operations with a
"known" mime-type. We have a method for retrieving arbitrary files, and we
would like to set the mime-type correctly based on the file extension.
The user's guide chapter 11 seems to suggest that MTOM/XOP is a good cho
Have a look at the attachment samples + test cases
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962213#3962213
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962213
___
jbos
FYI - this is the code in the Handler
package com.rtn.ejb;
import java.io.*;
import java.util.*;
import java.util.logging.*;
import javax.activation.*;
import javax.xml.namespace.*;
import javax.xml.rpc.handler.*;
import javax.xml.rpc.handler.soap.*;
import javax.xml.soap.*;
import com.rtn.util