[jboss-user] [Beginners Corner] - jBPM + WebServices + EJB 3.0

2008-09-03 Thread cdc08x
Hi all! I've been searching for days for a good solution to my problem: due to university work, I have to find something able to describe the behaviour of a web-application (server-side) as a graph (state-transitions network), in XML, then translate it as a real application able to make its sta

[jboss-user] [Beginners Corner] - Re: jBPM + WebServices + EJB 3.0

2008-09-04 Thread cdc08x
Thank you very very VERY much Francesco! I'll carefully read your article, and the documentation. anonymous wrote : The webservice encoded using ejb 3.0 what do you mean ? using annotations @Webservice ? About "using EJB 3", yes, I meant "@WebService" annotations over Session Beans, and so on. Ac

[jboss-user] [Beginners Corner] - Re: jBPM + WebServices + EJB 3.0

2008-09-05 Thread cdc08x
Hi Francesco (and who reads here)! I searched and read and searched again, after reading your very useful links, and my problem remained the same: WebService in EJB 3.0 must be deployed over StateLESS Session Beans, then there is no way to mantain the state of the current process running - apar

[jboss-user] [JBoss jBPM] - WS-Addressing to mantain the state of jBPM, used to describe

2008-09-07 Thread cdc08x
Hi all, and sorry for the LONG title of my post. But I hoped to be the most precise I could. I suppose that jBPM is the best framework to describe a process behaviour and link it to Java components. A WebService can be a process itself, and have its own states, internal transitions, and so on. S

[jboss-user] [JBossWS] - My WS doesn't send any attachment... why?

2007-12-06 Thread cdc08x
Hi all! I'm using the EJB3.0 spec. with JBoss AS 4.2.2 (and the related JBossWS version inside, of course), in order to create a Web Service using a Stateless Session Bean instead of a Servlet. I'd like to send an attachment from within a Web Service method. Here I explain my problem. I program

[jboss-user] [JBossWS] - Re: My WS doesn't send any attachment... why?

2007-12-09 Thread cdc08x
Ok, I understood that the main problem is that I'm trying to send back to the client, with a server-response, the attachment. Instead, this code: SOAPMessageContext msgContext = (SOAPMessageContext)context.getMessageContext(); gives back the request message, not the response one. Does anyone k

[jboss-user] [JBossWS] - Re: My WS doesn't send any attachment... why?

2007-12-15 Thread cdc08x
Thank you Alessio for your response. Considering that my web service client is a PHP page, I suppose I cannot use MTOM. I'll try with SWA-REF. I read that article before, actually, but I hoped there could be something more direct to access the response message and attach anything that way. It s

[jboss-user] [JBossWS] - Re: My WS doesn't send any attachment... why?

2008-02-22 Thread cdc08x
Ok, I tried and used the SwAref technique many times, and everything worked perfectly. Sadly, a new problem: when I wanted to send back to the client a List of complex objects, each with a DataHandler field, to treat as an attachment, a problem came. In detail, here's the webservice interface

[jboss-user] [JBossWS] - Re: My WS doesn't send any attachment... why?

2008-02-24 Thread cdc08x
Thank you very much, Martin, for your help! Sadly, the solutions you suggested me aren't suitable for my case, because the other fields into the DocumentoData class are tightly connected to the DataHandler - that is, it's a design issue: they're all meta-information about the pdf file the DataH

[jboss-user] [JBossWS] - Re: My WS doesn't send any attachment... why?

2008-02-25 Thread cdc08x
Thank you Martin for your kind reply. I did appreciate it very much but... Here is the new wrapper class: | @XmlRootElement(name="Documenti") | public class DocumentiDataList { | @XmlMimeType("application/octet-stream") | protected String dummy; | | @XmlElement(name=

[jboss-user] [JBossWS] - Re: My WS doesn't send any attachment... why?

2008-02-25 Thread cdc08x
Thank you very very VERY much Martin, for your patience, your kindness, and your competence. I'm very glad to confirm that it works that way! Uhh... did I forget to thank you? THANKS! :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4131988#4131988 Reply to