Hi,
HTTP is a BindingComponent : it allows the mediation with transport protocol.
But it's not responsible of the operation.
You need a ServiceEngine that implement your process logic.
In the same SA, you can have :
- One CXF-SE SU based on MyClass1 (POJO)
- One CXF-SE SU based on MyClass2 (POJO)
- One HTTP consumer linked with MyClass1
- One HTTP producer linked with MyClass2
Using only HTTP, you can make a kind of "bridge" between the producer and the
consumer.
Regards
JB
On Wednesday 21 January 2009 - 06:50, MrNinni wrote:
>
> Hi,
> I'm a novice, sorry for my bad english.
> I wish create two services, one published in the http-consumer and one
> published in the http-provider.
> The first service has a client in order to insert the name.
>
> public class MyClass1 {
> public String myMethod1 (String name1) {
> return "Hello1"+name;
> }
> }
>
> public class MyClass2 {
> public String myMethod2 (String name2) {
> return "Hello2"+name;
> }
> }
>
> I wish send the name1 at the ServiceMix, the ServiceMix sends it at the
> second service that adds "Hello2", and returns the String at the client that
> display the final String.
> The two methods have two name-methods different, and the ServiceMix doesn't
> find the second method, because tries the method "myMethod1".
> How do I do?
> Thank you.
> --
> View this message in context:
> http://www.nabble.com/http-consumer-doesn%27t-speak-with-http-provider-tp21584624p21584624.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
--
Jean-Baptiste Onofré (Nanthrax)
BuildProcess/AutoDeploy Project Leader
http://buildprocess.sourceforge.net
[email protected]
PGP : 17D4F086