WAJSBERG Julien RD-BIZZ wrote:
Martin Kuba a écrit :
Hi,
However it is much slower than Axis 1.1. I have a simple
webservice for measuring the speed, and it show that
1.2 is about three times slower. The exact results are:
Axis1.1 server / Axis1.1 client - 192 calls/sec
Axis1.2 server / Axis1.2 client - 67 calls/sec
Axis1.1 server / gSOAP 2.5 client - 366 calls/sec
Axis1.2 server / gSOAP 2.5 client - 147 calls/sec
gSOAP 2.5 server / Axis1.1 client - 384 calls/sec
gSOAP 2.5 server / Axis1.2 client - 137 calls/sec
on my Pentium4 2.5GHz and IBM JDK 1.4.1SR2.
What may be the reason ?
Could you provide us some more informations ?
For exemple: which mode did you use ? What type of objects did you
transfer ? etc..
Sure. I transfered several objects refering each other.
I defined three JavaBeans:
public class SubObject {
private String a="A";
private String b="B";
private String c="C";
private SubObject child=null;
...setters and getters ...
}
public class ComplexObject{
private long count = 0L;
private SubObject sub1 = null;
private SubObject sub2 = null;
private String[] array = null;
private InfoObject info = null;
...setters and getters ...
}
public class InfoObject {
private String vm;
private String os;
private String rt;
private String mem;
...setters and getters ...
}
and instantiated them such that one instance of ComplexObject
references two instances of SubObject, one InfoObject
and one 4-member array of Strings. The two SubObjects
reference each other, and the InfoObject is filled with information
abou the JVM. And I have an interface with a method
public ComplexObject getComplex(ComplexObject o);
I generated a WSDL from these objects using default
settings, which I think are RPC/encoded, and generated
java stubs from the WSDL. Then I implemented getComplex()
so that it receives an instance of ComplexObject,
increments its "count" field and returns it.
My client and server sends these objects there
and back, and I measure the number of calls per second.
Do you need any more information ?
Martin
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Supercomputing Center Brno Martin Kuba
Institute of Computer Science email: [EMAIL PROTECTED]
Masaryk University http://www.ics.muni.cz/~makub/
Botanicka 68a, 60200 Brno, CZ mobil: +420-603-533775
--------------------------------------------------------------