Hello Mr. Ruwan.

I would like to know how can I connect wso2esb and wso2wsas through a
proxy.

Thank you and best regards
Javier López del Castillo Caymares.

On Thu, 2010-07-15 at 21:47 +0530, Ruwan Linton wrote:
> Javier Lopez del Castillo Caymares wrote:
> > Thank you very much.
> >   
> You are welcome, hope you got it sorted.
> 
> Thanks,
> Ruwan
> > best regards
> > jlcc
> >
> > ----- Original Message -----
> > From: "Ruwan Linton" <[email protected]>
> > To: [email protected]
> > Sent: Wednesday, July 14, 2010 12:30:06 AM
> > Subject: Re: [esb-java-user] injecting message
> >
> > Hi Javier,
> >
> > The synapseEnvironment.injectMessage(mc) is a asynchronous call, which 
> > will return once you call that method, and another thread will mediate 
> > the message and invoke the actual ws.
> >
> > The response will be received by the main sequence, so what you could do 
> > is to write a custom mediator, to act as a callback an place that on the 
> > main sequence for out path, which will callback to the task with the 
> > response.
> >
> > <sequence name="main">
> > <in>
> > <send/>
> > </in>
> > <out>
> > <class name="your-custom-class-name-which-acts-as-a-callback-to-the-task"/>
> > </out>
> > </sequence>
> >
> > Thanks,
> > Ruwan
> >
> > Javier López del Castillo Caymares wrote:
> >   
> >> Hello:
> >>
> >> A have a task where I inject a message to synapse environment, the
> >> message is a web service call, I need to get the response. Could any
> >> body tell me what to do?
> >>
> >> here is the code:
> >>
> >> ...
> >>
> >> MessageContext mc = synapseEnvironment.createMessageContext();
> >> mc.setTo(new EndpointReference(this.do));
> >> mc.setSoapAction(this.soapAction);
> >> synapseEnvoronment.injectMessage(mc);
> >>
> >> ...
> >>
> >>
> >> it works, the service is invoked, but I don't know how to get the
> >> result.
> >>
> >> thx and best regards.
> >>
> >> jlcc
> >>
> >>
> >>
> >> _______________________________________________
> >> Esb-java-user mailing list
> >> [email protected]
> >> https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user
> >>
> >>   
> >>     
> >
> >
> >   
> 
> 



_______________________________________________
Esb-java-user mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to