That is my project + cmxBgpSoapInterface.wsdl.
The Java main is src\BgpSoapClient\BgpSoapClientMain.java

Thanks,

-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 21, 2007 4:54 PM
To: [EMAIL PROTECTED]
Cc: [email protected]
Subject: Re: AXIS2 bad Performance with SOAP requests

Shmuel,

something's fishy. Can you please create a JIRA and upload your wsdl/schema
etc?

thanks,
dims

On 6/21/07, Shmuel Weiss <[EMAIL PROTECTED]> wrote:
>
>
>
>
> That is my code, It looks like the Stub doesn't close the connection
> immediately after the response.. something like this..
>
>
>
>                         UpdateCommunityReqDocument request = new
> UpdateCommunityReqDocument();
>
>
>
>                         CommunitySubscribers commSubs = new
> CommunitySubscribers();
>
>                         commSubs.addSubcribers(object);
>
>                         commSubs.setCommunityID(1233);
>
>
>
>                         request.addCommunitySubscribers(commSubs);
>
>                         request.setSessionID(3);
>
>                         CmxSoapServiceStub bgpStub;
>
>                         try {
>
>                               ConfigurationContext configurationContext =
> new ConfigurationContext;
>
>                               bgpStub = new
> CmxSoapServiceStub(configurationContext ,
> "http://10.10.0.153:8123/";);
>
>
>
>
>
>                               for (int i = 0; i < 100; i++) {
>
>                                     try{
>
>                                           System.out.println("Send request
> number : "+i);
>
>                                           UpdateCommunityRsp rsp =
> bgpStub.UpdateCommunityOp(request);
>
>
>
>                                     }catch (AxisFault e) {
>
>                                           //    TODO Auto-generated catch
> block
>
>                                           e.printStackTrace();
>
>                                     }
>
>                               }
>
>
>
>                         } catch (RemoteException e) {
>
>                               // TODO Auto-generated catch block
>
>                               e.printStackTrace();
>
>                         } catch (ErrorException e) {
>
>                               // TODO Auto-generated catch block
>
>                               e.printStackTrace();
>
>
>                         }
>
>
>
> -----Original Message-----
>  From: Davanum Srinivas [mailto:[EMAIL PROTECTED]
>  Sent: Thursday, June 21, 2007 4:41 PM
>  To: [email protected]
>  Subject: Re: AXIS2 bad Performance with SOAP requests
>
>
>
> Can you please post the client code? are you creating a new stub for
>
> each invocation?
>
>
>
> thanks,
>
> dims
>
>
>
> On 6/21/07, Shmuel Weiss (Exchange) <[EMAIL PROTECTED]> wrote:
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> > Hi,
>
> >
>
> >
>
> >
>
> > I have created a Soap Client based on my WSDL with the AXIS2 wsdl2java.
>
> >
>
> > I am calling to the function:
>
> >
>
> >
>
> >
>
> > Stub.myFunc();
>
> >
>
> >
>
> >
>
> > But it takes few seconds before receiving a response.
>
> >
>
> >
>
> >
>
> > I have tested My Soap Server with JMETER sending Soap Request I got ~300
>
> > tps,
>
> >
>
> > I have tested My Soap Server with my own client using Axis1.4 , and I
got
>
> > ~160tps,
>
> >
>
> > Now with Axis2 sending Soap Request to my server and I am getting ~0.2
> tps,
>
> > ????? something wrong is happening..
>
> >
>
> >
>
> >
>
> > Do you know what ??
>
> >
>
> >
>
> >
>
> > Thanks.
>
> >
>
> >
>
> >
>
> > Weiss Shmuel
>
> >
>
> > CMX inc.
>
> >
>
> >
>
> >
>
> >
>
>
>
>
>
> --
>
> Davanum Srinivas :: http://davanum.wordpress.com
>
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>
> For additional commands, e-mail: [EMAIL PROTECTED]


-- 
Davanum Srinivas :: http://davanum.wordpress.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Attachment: Axis2BgpClient.rar
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to