[JBoss-dev] [JBossWS] - Re: jboss-saaj attachmentpart problem

2004-12-17 Thread p_nevilleuk
Okay, I have a solution. I was using: | AttachmentPart attachmentPart = message.createAttachmentPart(); | attachmentPart.setContentId(""); | attachmentPart.setMimeHeader("Content-Type", "text/xml"); | attachmentPart.setContent(new JDOMSource(document), "text/xml"); | message.addAttachm

[JBoss-dev] [JBossWS] - Re: jboss-saaj attachmentpart problem

2004-12-17 Thread p_nevilleuk
Does this relate to https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1039881&group_id=22866? If so, is when will able stable version of 4.0.1 be available? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3859033#3859033 Reply to the post :

[JBoss-dev] [JBossWS] - jboss-saaj attachmentpart problem

2004-12-17 Thread p_nevilleuk
Hi, I'm using jboss 4.0.0. and am having problems with attachments when using saaj. The only success I have is if I attach using MIME type text/plain and set content to a String. If I try to set MIME type to application/xml or text/xml and set content to be JDOMSource then I get IllegalArgument

[JBoss-dev] [JBossWS] - Re: document/literal wrapped and jbossws / jbossDotNet

2004-12-17 Thread p_nevilleuk
Hi, I have been investigating using jboss-saaj and am fairly happy with this. I notice that with JAXM, there is a JAXMServlet and ReqRespListener class. Can you confirm whether it would be wise to use JAXM with JBoss and whether I can simply drop the two JAXM jar files into the jboss server/lib?

[JBoss-dev] [JBossWS] - saaj namespace issue

2004-12-16 Thread p_nevilleuk
Hi, I am trying to using saaj to create ebXML soap message. I have two problems: 1) I cannot change the prefix of the Envelope, Header etc. I would like SOAP instead of soapenv. 2) More importantly, it repeats the namespace uri on each element, which is not necessary as it is declared in a paren

[JBoss-dev] [JBossWS] - Re: document/literal wrapped and jbossws / jbossDotNet

2004-12-16 Thread p_nevilleuk
Thanks Thomas, I am having a little difficulty choosing appropriate technology for this. I am a huge fan of jboss and would like to use it, but have difficulty in finding the answers to problems, but I am getting there... If I were to use doc/lit (not wrapped), for ebXML SOAP messages would the

[JBoss-dev] [JBossWS] - document/literal wrapped and jbossws / jbossDotNet

2004-12-13 Thread p_nevilleuk
Hi, I'm about to start work on doc/lit wrapped SOaP client and endpoint on jboss 4.0.0. and am considering using saaj api. Before I do, can anyone confirm the following please? Can jboss 4.0.0. still l work with jbossDotNET If so, does DotNET work with doc/lit wrapped as server/client? Am I corr

[JBoss-dev] [JBossWS] - Re: writing the java-wsdl-mapping

2004-10-13 Thread p_nevilleuk
Thanks for your comments. I find it hard to understand why jsr-109 failed to include this. I found the following link useful: http://www-128.ibm.com/developerworks/webservices/library/ws-whichwsdl/ Can you suggest what the best approach is if using jboss 4 to provide a wrapped web service? Wo

[JBoss-dev] [JBossWS] - Re: writing the java-wsdl-mapping

2004-10-12 Thread p_nevilleuk
I can use wscompile to generate the mapping.xml and wsdl for an RPC style web service and this works in jboss. However, if I use it to generate the files for a DOCUMENT/literal wrapped style web service I get the following deployment error: org.apache.axis.InternalException: java.lang.Excepti

[JBoss-dev] [JBossWS] - writing the java-wsdl-mapping

2004-10-12 Thread p_nevilleuk
Hi, Does anyone know if there is a tool that can create this mapping for a WRAPPED style wsdl? Or, does anyone have a very simple example? Can I use wscompile and then use the generated mapping.xml with jbossWS? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=vie

[JBoss-dev] [JBossWS] - Where's the echoElement() example for jbossWS?

2004-10-12 Thread p_nevilleuk
Sorry to post a similar message to my last one, but not having any response is becoming very frustrating... I'm simply trying to code an ejb or pojo endpoint that can receive any message (xml payload) and process it. The echoElements() example did this very well on jbossdotnet. I'm struggling t

[JBoss-dev] [JBossWS] - Re: ws4ee client programming question

2004-10-07 Thread p_nevilleuk
I also require an example of using a message style web service for jbossws. If you find one, please let me know! Seems that for rpc style, jboss generates the wsdd and drops it in data/wsdl/jarname. The service tag here has the attribute style set to 'rpc' so I am guessing that other styles wi

[JBoss-dev] [JBossWS] - Re: message style web service using jbossws on jboss 4

2004-10-07 Thread p_nevilleuk
Sorry, should say: With jboss 3.2.5 I could update the web-service.xml like: | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850622#3850622 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-dev] [JBossWS] - message style web service using jbossws on jboss 4

2004-10-07 Thread p_nevilleuk
Does anyone have any advice on how to create message style web service using jbossws? I have done this on jboss 3.2.5, but can only see how to do RPC style on jboss 4. Can't see anything in www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd about this and have also looked at 'web services fo