Hi , I am new for axis2-1.4. I am not sure what does it mean by blocking call. But here is the process i followed to generate my client stub and the client calls. wsdl2java -uri C:\sample.wsdl -p sample -d xmlbeans -s String folder = "a";
try {
System.out.println("RESPONSE FROM KANA WEB SERVICE");
getObjectReq = GetObjectDocument.Factory.newInstance();
getObjectData = getObjectReq.addNewObject();
//set the parameters
getObjectData.setFolder(folder);
/*Get the getObjectResponse*/
stub = new Stub();
getObjectListResDoc = stub.getObjectList(getObjectListDocReq);
System.out.println("HELP RESPONSE+++++++++++++" + getObjectListResDoc);
folder = "b";
System.out.println("RESPONSE FROM KANA WEB SERVICE");
getObjectReq = GetObjectDocument.Factory.newInstance();
getObjectData = getObjectReq.addNewObject();
//set the parameters
getObjectData.setFolder(folder);
/*Get the getObjectResponse*/
stub = new Stub();
getObjectListResDoc = stub.getObjectList(getObjectListDocReq);
System.out.println("HELP RESPONSE+++++++++++++" + getObjectListResDoc);
folder = "c";
System.out.println("RESPONSE FROM KANA WEB SERVICE");
getObjectReq = GetObjectDocument.Factory.newInstance();
getObjectData = getObjectReq.addNewObject();
//set the parameters
getObjectData.setFolder(folder);
/*Get the getObjectResponse*/
stub = new Stub();
getObjectListResDoc = stub.getObjectList(getObjectListDocReq);
System.out.println("HELP RESPONSE+++++++++++++" + getObjectListResDoc);
folder = "d";
System.out.println("RESPONSE FROM KANA WEB SERVICE");
getObjectReq = GetObjectDocument.Factory.newInstance();
getObjectData = getObjectReq.addNewObject();
//set the parameters
getObjectData.setFolder(folder);
/*Get the getObjectResponse*/
stub = new Stub();
getObjectListResDoc = stub.getObjectList(getObjectListDocReq);
System.out.println("HELP RESPONSE+++++++++++++" + getObjectListResDoc);
} catch(Exception ex) {
ex.printStackTrace();
}
Above pasted code is one java class where i am making four calls to my web
service through client stub generated using axis2-1.4 jars.
Is this information is sufficient to decide what call i am making through axis
to webservice. Or else please send me some more information how can i decide
which type of call i am making here in my case.
If you get what can be the issue here plese reyply to me as soon as possible.
Advanced thanks to all of you.
Thanks & Regards
Mohammad Emran Pasha
----------------------------------------
Accenture Services Pvt.Ltd.
IBC Knowledge Park
4/1,Bannerghatta Road
Bangalore 560 029.
----------------------------------------
off :+ 91-80-39162354
Mob :+91-9844919629
________________________________
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: Fri 10/10/2008 11:57 PM
To: [email protected]
Subject: RE: Hep Needed:Response is not corresponding to the current request
passed
re-asking deepals original question
a)is the client stub making the request in a blocking call?
b)is the client stub making one thread/call
?
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does not
endorse distribution to any party other than intended recipient. Sender does
not necessarily endorse content contained within this transmission.
________________________________
Subject: RE: Hep Needed:Response is not corresponding to the current request
passed
Date: Fri, 10 Oct 2008 18:52:06 +0530
From: [EMAIL PROTECTED]
To: [email protected]
I have two scenarios here:
I am actually working with weblogic portals.
In the first scenario I have four different portels, each portlet calls the
clent stub once with the differnet input values.
In the second scenario one portlet calls my client stub four times in a loop.
In both the cases I cant see the appropriate responses for the passed request.
Please let me know if you need any more information, I am trying to resolve
this issue since last one weak but no luck.
Thanks & Regards
Mohammad Emran Pasha
----------------------------------------
Accenture Services Pvt.Ltd.
IBC Knowledge Park
4/1,Bannerghatta Road
Bangalore 560 029.
----------------------------------------
off :+ 91-80-39162354
Mob :+91-9844919629
________________________________
From: Deepal Jayasinghe [mailto:[EMAIL PROTECTED]
Sent: Fri 10/10/2008 6:40 PM
To: [email protected]
Subject: Re: Hep Needed:Response is not corresponding to the current request
passed
If you are calling blocking manner I can not understand how this happen
, is it a a loop or multiple threads ?
-Deepal
> Hi,
>
> I am using client stub generated using axis2-1.4 jars.
>
> In my scenario I pass four different set of inputs in a loop. Means I call my
> client stub four times in a loop with four different set of inputs.
> Example:
> getObjectReq = GetObjectDoc.Factory.newInstance();
> getObjectData = getObjectReq.addNewGetObjectList();
> //set the parameters
> getObjectData.setFolder(folder);
> getObjectData.setPartner(PARTNER_VZ);
> getObjectData.setProduct(servType);
> getObjectData.setRegion(servRegion);
> getObjectData.setAuthKey(authId);
> /*Get the getObjectListResponse*/
> stub = new Stub();
> getObjectRes = stub.getObjectRes(getObjectReq);
>
> Now If Iam calling this Web Service call four times, response is not coming
> corresponding to the request we are passing. Responses are not in a some
> logical order also.
>
> Can you please let me know If this issue is already fixed, Or it's a known
> bug in axis2-1.4. I tried using axis2-1.4.1 also but still the same issue
> with the responses returning from axis.
>
> Thanks & Regards
> Mohammad Emran Pasha
> ----------------------------------------
> Accenture Services Pvt.Ltd.
> IBC Knowledge Park
> 4/1,Bannerghatta Road
> Bangalore 560 029.
> ----------------------------------------
> off :+ 91-80-39162354
> Mob :+91-9844919629
>
>
>
>
> This message is for the designated recipient only and may contain privileged,
> proprietary, or otherwise private information. If you have received it in
> error, please notify the sender immediately and delete the original. Any
> other use of the email by you is prohibited.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
Thank you!
http://blogs.deepal.org <http://blogs.deepal.org/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
________________________________
See how Windows connects the people, information, and fun that are part of your
life. See Now <http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/>
This message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited.
<<winmail.dat>>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
