ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lsanchez <lennin.sanc...@cinetsolutions.net>
Subject Re: ODE - Getting ode message request
Date Thu, 06 Mar 2008 17:28:14 GMT

Hi Alex. Thanks for your quick answer !!

   Well, I’ve been working with this two classes ExternalService and
SoapMessageConverter, However I figured out that I don´t want to try to
convert theses messages to soap I just want to convert these ode messages
into and java Object that java methods can understands them. 
   So I need to get the contents inside Ode Message Request  but I just get
something like this : <message
xmlns:TimeService="http://ws.intalio.com/TimeService/" /> and I want to get
the contents inside this message, the question is: how can I get this
contents from OdeMex.getRequest().getMessage and how I can convert it in a
java object ?? and pretty new in SOAP and XML´s things so may be is a
foolish question !!!


Alex Boisvert-3 wrote:
> On 3/6/08, lsanchez <lennin.sanchez@cinetsolutions.net> wrote:
>>         Right now I'm trying to integrated ODE + WSIF to allow java
>> methods
>> invocations from ODE.  At this point I've had several advance in this,
>> the
>> problem right now, is around hot to get the data that is needed in the
>> java
>> method, as far as I know in ode you can get this data from
>> odeMex.getRequest
>> but it doesn't work at all. well I really don´t know if the problem is
>> related with the way that I'm processing this Message. It look like
>> follow
>>    OMElement methodElement =
>> org.apache.axis2.util.XMLUtils.toOM(odeMex.getRequest().getMessage());
>> or for some other reasons. If anybody have any clue  around how to fix
>> this
>> issues. I will appreciated .
> Hi Lennin,
> Can you elaborate on what "does't work at all"?
> odeMex.getRequest().getMessage()
> should provide you with the message content provided that is was properly
> initialized by your BPEL process.
> You can find an example usage of this in
> ExternalService<http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.1/axis2/src/main/java/org/apache/ode/axis2/ExternalService.java>and
> the
> SoapMessageConverter.<http://svn.apache.org/repos/asf/ode/branches/APACHE_ODE_1.1/axis2/src/main/java/org/apache/ode/axis2/util/SoapMessageConverter.java>
> cheers,
> alex

View this message in context: http://www.nabble.com/ODE---Getting-ode-message-request-tp15876763p15879203.html
Sent from the Apache Ode User mailing list archive at Nabble.com.

View raw message