-
1. Re: Access to Message esbMessage = SOAPProcessor.getMessage();
mageshbk Sep 27, 2013 3:57 AM (in response to alcanrom)Hi,
Message esbMessage = SOAPProcessor.getMessage();
This feature has been removed. [JBESB-3567] Remove thread local use within SOAPProcessor. You should not rely on this any longer.
When you are developing a webservice on ESB, you have to create a folder webservice.war to public the webservice, are there some automatic procces to do this task?.
Yes. If you use our IDE, JBoss Developer Studio, you can create the webservice war files with easy clicks of button.
-
2. Re: Access to Message esbMessage = SOAPProcessor.getMessage();
alcanrom Sep 30, 2013 6:04 AM (in response to mageshbk)Hi Magesh, if I want to access to ESB Message from webservice how can I do it?
I need proccess in message in a webservice and I want to build ESB-Message from code of the webservice and in the next action proccess it. I pass data in a variable message more or less webservice_producer quickstart, and if I want to acces to the ESB Message I need use the sentence, Message esbMessage = SOAPProcessor.getMessage();
I don´t understand your response.
About the second, Ho can i do it? , I am using JBOSS DEVELOPER STUDIO and I have to create the folder XXXXX_war in esbcontent and when I compile the class put the class file in the folder.
Thanks for your response.
-
3. Re: Access to Message esbMessage = SOAPProcessor.getMessage();
hongan Nov 27, 2013 10:12 PM (in response to alcanrom)I'm also having this problem. Would like to know if someone can help?
-
4. Re: Access to Message esbMessage = SOAPProcessor.getMessage();
mageshbk Dec 3, 2013 4:40 AM (in response to hongan)It is a bad design to tightly-couple the Webservice being called with the ESB service that is invoking it. The reason being that the Webservice can be running in an entirely different server. That said, one can serialize the message information to a Database, File or even send it to a JMS Queue which is accessible by both the Webservice and the ESB service. Remember that now the Message is de-coupled from the Webservice point of view, as any changes to that object will not be visible to the ESB service. You can see the helloworld series quickstarts for further help on these sql, jms and file actions.