I have a couple of questions. Are X, Y, and Z in different JVMs or separate machines? The webservice that you are call, does it ever receive the soap message and do work on it or does it just modify the soap to a different XML? Is it the modified xml that is sent to Z where all the magic happens?
On 9/26/07, David Villegas <[EMAIL PROTECTED]> wrote: > > Thanks for the idea, Ajith and Paul... I have been following synapse's > docs and it seems very promising. However, I have a doubt about how this can > help me... I see the role of Mediators and Proxies in the scenario: > > X ---> Y (X being the client and Y the web service) > > where you need to intercept the request > > X ---> P ---> Y (P being a proxy defined with synapse) > > Now, in my particular case, what I want is to do this > > X ---> Y ---> Z > > where Z is a web-service agnostic application. > In short, I already have the web service interface (Y), and now I need it > to delegate the incoming requests (ideally calling some method from Z). The > problem I find is that Z has a different scope than the request -meaning > that I cannot instantiate it at every request- . > > That's why I had considered doing the communication using Sockets, or even > embedding Axis2 on Z so I could redirect the request to some kind of method > in my logic. > > I hope what I'm saying makes some sense, remember this is a newbie > question :-) > Regards, > David. > > > On 9/25/07, Paul Fremantle <[EMAIL PROTECTED]> wrote: > > > > Yep! That's exactly what I was going to suggest. You want the "proxy > > service" from Synapse. See sample #100 > > http://ws.apache.org/synapse/Synapse_Samples.html#Sample100 > > > > Paul > > > > On 9/25/07, Ajith Ranabahu <[EMAIL PROTECTED]> wrote: > > > Hi, > > > You guys should look at Synapse ( http://ws.apache.org/synapse/). > > > Synapse is based on Axis2 and is the perfect thing for what you are > > > looking for > > > > > > Ajith > > > > > > On 9/24/07, David Villegas < [EMAIL PROTECTED]> wrote: > > > > Hi, > > > > > > > > I think this is exactly the same problem I'm facing right now... I > > want to > > > > adapt an application running as a server to receive a notification > > from Axis > > > > when there is a SOAP request: I have defined the interface of the > > service > > > > with a WSDL file, and I have a simple skeleton working, but I don't > > know how > > > > to do the communication between axis and my application. So far, the > > only > > > > ways of doing this I could think of are: 1- Sending the notification > > from > > > > the skeleton to my application through a socket or 2- Embedding axis > > in my > > > > original app, and registering some listeners to be notified when the > > request > > > > comes in... > > > > > > > > Anyway, the first solution looks too complicated, and I don't know > > if the > > > > second is possible. > > > > > > > > Does anybody know about a better option? > > > > > > > > Regards, > > > > David Villegas > > > > > > > > > > > > On 9/24/07, Alexander Philippi <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > > > Yes. > > > > > System X sends me the SOAP stream, > > > > > Y is the webservice and > > > > > System Z is the "receiver". > > > > > > > > > > (The webservice should work in both directions) > > > > > > > > > > > > > > > ----- Ursprüngliche Mail ---- > > > > > Von: Paul Fremantle < [EMAIL PROTECTED]> > > > > > An: [email protected] > > > > > Gesendet: Montag, den 24. September 2007, 19:30:36 Uhr > > > > > Betreff: Re: Beginner Q: How can I handle incoming SOAP streams > > with > > > > axis2? > > > > > > > > > > > > > > > > > > > > Alexander > > > > > > > > > > How many systems are there? > > > > > > > > > > What I think you are describing is > > > > > > > > > > X------>Y------>Z > > > > > > > > > > Is that right? > > > > > > > > > > Paul > > > > > > > > > > On 9/24/07, Alexander Philippi < [EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > Hi, > > > > > > I have to handle incoming SOAP streams from a "third system" > > with axis2. > > > > > > This stream comes within a HTTP Post. The Webservice should > > receive the > > > > SOAP > > > > > > stream, transform it to a new XML-structure and send this new > > generated > > > > > > xml-stream to an other system. > > > > > > I was able to set up the webservice easily, but I have no idea > > how I can > > > > > > handle this incoming stream. Do you know any link to a tutorial > > who > > > > could > > > > > > help me? Do I realize this with Handlers? Do you have any > > suggestions > > > > how I > > > > > > can solve this problem? > > > > > > > > > > > > Regards, > > > > > > Alex > > > > > > > > > > > > ________________________________ > > > > > > Beginnen Sie den Tag mit den neuesten Nachrichten. Machen Sie > > Yahoo! zu > > > > > > Ihrer Startseite! > > > > > > > > > > > > > > > -- > > > > > Paul Fremantle > > > > > Co-Founder and VP of Technical Sales, WSO2 > > > > > OASIS WS-RX TC Co-chair > > > > > > > > > > blog: http://pzf.fremantle.org > > > > > [EMAIL PROTECTED] > > > > > > > > > > "Oxygenating the Web Service Platform", www.wso2.com > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: > > > > [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > ________________________________ > > > > Beginnen Sie den Tag mit den neuesten Nachrichten. Machen Sie Yahoo! > > zu > > > > Ihrer Startseite! > > > > > > > > > > > > > > > > > -- > > > Ajith Ranabahu > > > > > > Reading, after a certain age, diverts the mind too much from its > > > creative pursuits. Any man who reads too much and uses his own brain > > > too little falls into lazy habits of thinking - Albert Einstein > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Paul Fremantle > > Co-Founder and VP of Technical Sales, WSO2 > > OASIS WS-RX TC Co-chair > > > > blog: http://pzf.fremantle.org > > [EMAIL PROTECTED] > > > > "Oxygenating the Web Service Platform", www.wso2.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >
