1) Can you tell how I can apply this patch? 2) To pick up my service instance from a Hash map at configuration context map must be populated with that instance .How will this map get populated? And I don't having prior experience with web services. So I need step wise explanation to implement the Message receiver. I have only implemented BPEL process which I am using as web service. So I will need your help.
Thanks and regards Nancy Aggarwal -----Original Message----- From: Srinath Perera [mailto:[EMAIL PROTECTED] Sent: Saturday, April 15, 2006 5:16 PM To: [email protected] Subject: Re: VERY URGENT Please HELP[Axis2] How to send message to a particular instance of that webservice? Hi Nancy; As I understood your BPEL2 is stateful and you need same instance to be called across number of instances. 1) if http://issues.apache.org/jira/browse/AXIS2-532 covers your senario, and it is integrated to main tree (Sorry I was not involved on this, so I do not know) you can use it. May be Rajith can shed somelight on this 2) implement a custom Message Reciver,that do the session for you. You have a to introduce a new header and overide protected Object getTheImplementationObject(MessageContext msgContext) throws AxisFault; method to lookup the header and pick up your service instance from a hashmap at configuration context. (You have to add a new Map) This method is called before service impl invocaion to locate the service instance. Let me know if you plan to do this I will give more info Thanks Srinath You have two options On 4/15/06, nancy <[EMAIL PROTECTED]> wrote: > Hi Ali, > > Yah you can say that scenario is like this. > > convID2 > client2 ------------> BPEL2 > > -----Original Message----- > From: Ali Sadik Kumlali [mailto:[EMAIL PROTECTED] > Sent: Saturday, April 15, 2006 3:05 PM > To: [email protected] > Subject: RE: VERY URGENT Please HELP[Axis2] How to send message to a > particular instance of that webservice? > > Hi Nancy, > > I'm examining BPEL solutions nowadays. Since I'm not an expert on Axis2 > and BPEL, wanted to understand your scenario clearly. > > AFAIK, you are able to do following: > > client ------------> BPEL1 --------------> BPEL2 > <----------- <-------------- > convID1 & convID2 convID2 > > > and want to accomplish following: > > convID2 > client2 ------------> BPEL2 > > Do you? > > Thanks, > > Ali Sadik Kumlali > > > --- nancy <[EMAIL PROTECTED]> wrote: > > > Hi Srinath, > > > > I am really struck with my problem. > > > > I think I am not able to clear my problem/requirement through my > > queries. > > > > Let me try once again. > > > > *I am having two Servers: > > > > One is Tomcat server in which axis2 is deployed and my web service > > java > > client (implemented using axis2) is deployed > > > > Another is BPEL server/engine in which my 2 BPEl web services are > > running. > > > > *Through my client I invoked my first bpel web service which in turn > > invoked > > second bpel web service. > > > > *Now to complete my first bpel service I need to complete my second > > bpel web > > service and I am having the id (conversation id) of the second bpel > > process/bpel service instance. I need to create a client of my second > > bpel > > service through which I need to send message to second bpel service > > to > > complete. > > > > And I am unable to implement its Client. That's my problem. > > > > I hope this clears my requirement. Please suggest something ASAP. Can > > you > > give any example? > > > > > > > > > > -----Original Message----- > > From: Srinath Perera [mailto:[EMAIL PROTECTED] > > Sent: Friday, April 14, 2006 4:26 PM > > To: [email protected] > > Subject: Re: VERY URGENT Please HELP[Axis2] How to send message to a > > particular instance of that webservice? > > > > Hi Nancy; > > > > check these are they what you need. If not you have to implemented > > conversation with handlers. > > > > http://issues.apache.org/jira/browse/AXIS2-532 > > http://issues.apache.org/jira/browse/AXIS2-548 > > > > Generally Web Services are stateless, I do not know specific header > > we > > used to transfer conversation ID. Any way good luck > > Srinath > > > > On 4/12/06, nancy <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > > > > Please tell how can I interact with a webservice instance created > > somewhere > > > else by setting its conversationid.? > > > > > > ________________________________ > > > > > > > > > From: nancy [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, April 12, 2006 1:31 PM > > > To: '[email protected]' > > > Subject: RE: [Axis2] How to send message to a particular instance > > of that > > > webservice? > > > > > > > > > > > > Is there no way to set Conversation id or soap header in stub in > > axis2? > > > > > > In Axis1, in binding stub generated by axis there were methods to > > set > > > header, timeout etc. What is the way to do all this with stubs > > generated > > by > > > axis2? > > > > > > Please Help > > > > > > > > > > > > > > > > > > ________________________________ > > > > > > > > > From: nancy [mailto:[EMAIL PROTECTED] > > > Sent: Wednesday, April 12, 2006 1:06 PM > > > To: [email protected] > > > Subject: [Axis2] How to send message to a particular instance of > > that > > > webservice? > > > > > > > > > > > > Hi, > > > > > > > > > > > > I want to use Axis2 to create client for invoking the web service > > running > > in > > > BPEL Engine. I have successfully created stub using my BPEl web > > service's > > > wsdl. My BPEL service1 invoke another BPEL service2.I have > > successfully > > > invoked BPEL service1.But when it invokes service2, I need to send > > a > > message > > > to webservice2 using its conversation ID. I have created stub for > > second > > web > > > service also. But can't find a way how to send message to a > > particular > > > instance of that webservice2. > > > > > > > > > > > > Please Help!!! > > > > > > > > > > > > Thanks and regards, > > > > > > Nancy Aggarwal > > > > > > -- > > ============================ > > Srinath Perera: > > http://www.cs.indiana.edu/~hperera/ > > http://www.bloglines.com/blog/hemapani > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > -- ============================ Srinath Perera: http://www.cs.indiana.edu/~hperera/ http://www.bloglines.com/blog/hemapani
