Thanks Agus! I just figured that out after I posted my message. I am trying
to test it myself, and do not see any reason why it won't work.

In the example, I can see a java class can be used in the following way:
<process name="Ping"
...
xmlns:fun="java:org.apache.ode.ping.AttachPing"
...>

...
            <copy>
               
<from>fun:attachPing($pingRequest.body/ping:text/text())</from>
                <to variable="text"/>
            </copy>
...
</process>

I read somewhere else that to "invoke" a java method directly (instead of as
WS), the following may be used (in the wsdl file):

<binding name="JavaBinding" ...>
  <java:binding/>
  <format:typeMapping encoding="Java" style="Java">
   ...
  <operation ...>
    <java:operation ...>

Is it the right way to do it? I am going to test it anyway to see whether it
could work. But if anyone has used similar or some other ways to invoke a
java method directly, please let me know.

Thanks,
HART


-- 
View this message in context: 
http://servicemix.396122.n5.nabble.com/ODE-BPEL-process-in-ServiceMix-4-tp2851609p2852761.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to