You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Marcus Andersson <ma...@bristav.se> on 2005/06/06 18:24:58 UTC

Long time before Axis actually sends request

When I invoke a service method on a client, generated with WSDL2Java, it
takes about 5 seconds until Axis actually sends the request. I have checked
using a packet sniffer on the ports where the request goes.

Why is this? What have I done wrong? I have no client-config.wsdd. Is it
because of this?

I have tested Axis 1.1 with JDK1.4.2 and also tested with Axis 1.2 and Java5
(both times on WinXP Pro SP2). Same results. 

Please tell me if you need more information.

Regards,

/Marcus

-- 
Marcus Andersson
Dreampark AB <http://dreampark.se/>
Direct: +46 11 26 42 20
Mobile: +46 734 225 295



RE:[SOLVED] Long time before Axis actually sends request

Posted by Marcus Andersson <ma...@bristav.se>.
Okay, problem solved.

After some debugging I found that all time spent was in the creation of
network sockets. Sniffed the traffic some more and talked to the sys admin
and, voila, problem solved.

Sorry to have bothered you.

/Marcus 

-----Original Message-----
From: Marcus Andersson [mailto:marcus@bristav.se] 
Sent: den 6 juni 2005 18:25
To: axis-user@ws.apache.org
Subject: Long time before Axis actually sends request

When I invoke a service method on a client, generated with WSDL2Java, it
takes about 5 seconds until Axis actually sends the request. I have checked
using a packet sniffer on the ports where the request goes.

Why is this? What have I done wrong? I have no client-config.wsdd. Is it
because of this?

I have tested Axis 1.1 with JDK1.4.2 and also tested with Axis 1.2 and Java5
(both times on WinXP Pro SP2). Same results. 

Please tell me if you need more information.

Regards,

/Marcus

--
Marcus Andersson
Dreampark AB <http://dreampark.se/>
Direct: +46 11 26 42 20
Mobile: +46 734 225 295





AW: Long time before Axis actually sends request

Posted by Ferruh Zamangoer <fe...@gmx.de>.
I don't know why the request takes so long. But you can explicitly define
your own client-config.wsdd if your needed anything to configure, when you
have no own client-config.wsdd the default client-config.wsdd in the
axis.jar is used. My idea for you is to include log4j to see where the
startup hangs?

Regards
Ferruh 

-----Ursprüngliche Nachricht-----
Von: Marcus Andersson [mailto:marcus@bristav.se] 
Gesendet: Montag, 6. Juni 2005 18:25
An: axis-user@ws.apache.org
Betreff: Long time before Axis actually sends request

When I invoke a service method on a client, generated with WSDL2Java, it
takes about 5 seconds until Axis actually sends the request. I have checked
using a packet sniffer on the ports where the request goes.

Why is this? What have I done wrong? I have no client-config.wsdd. Is it
because of this?

I have tested Axis 1.1 with JDK1.4.2 and also tested with Axis 1.2 and Java5
(both times on WinXP Pro SP2). Same results. 

Please tell me if you need more information.

Regards,

/Marcus

-- 
Marcus Andersson
Dreampark AB <http://dreampark.se/>
Direct: +46 11 26 42 20
Mobile: +46 734 225 295