[jboss-user] [JBossWS] - Re: Problem with SOAP Attachments using EJB 2.1 Web Service

2006-08-01 Thread mnorthu
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

[jboss-user] [JBossWS] - Re: Problem with SOAP Attachments using EJB 2.1 Web Service

2006-08-01 Thread mnorthu
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

[jboss-user] [JBossWS] - Re: Problem with SOAP Attachments using EJB 2.1 Web Service

2006-08-01 Thread [EMAIL PROTECTED]
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

[jboss-user] [JBossWS] - Re: Problem with SOAP Attachments using EJB 2.1 Web Service

2006-07-18 Thread mnorthu
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