Is it possible to specify service endpoint in services.xml?

2008-12-04 Thread mai.sun
Hi, I'm looking for a way to specify the endpoint of a webservice in services.xml which overwrites the endpoint in WSDL generated by Axis2. Any suggestion is appreciated. Thanks! Regards, Mai Sun

RE: Does Axis2 provide much better performance than Axis 1.X?

2008-06-17 Thread mai.sun
Hi, Thanks for your input. I noticed that the output of Axis2 include prefix of namespace(s) for each element while in Axis1 it uses the default namespace. This actually makes response of Axis2 larger than Axis1. I did some more performance tests based on two web services implemented with Axis

Does Axis2 provide much better performance than Axis 1.X?

2008-06-16 Thread mai.sun
Hi, Sorry for double posting.. I read somewhere that Axis2 provides better performance comparing to Axis 1.X due to the introduction of StAX XML parsing. Based some tests, I can see that for large XML document Axis2 is 5 to 10 times faster than Axis 1.X. I'm a bit confused here since Axis1.X

Does Axis2 provide much better performance than Axis 1.X?

2008-06-16 Thread mai.sun
Hi, I read somewhere that Axis2 provides better performance comparing to Axis 1.X due to the introduction of StAX XML parsing. Based some tests, I can see that for large XML document Axis2 is 5 to 10 times faster than Axis 1.X. I'm a bit confused here since Axis1.X uses SAX parser which should be

RE: Does Axis2 provide much better performance than Axis 1.X?

2008-06-16 Thread mai.sun
Dear Keith, Thanks for your reply. We're aware that Axis2 is much faster than Axis1.X and we have conducted similar tests as described in the articles. Our question is, is the performance gain in Axis2 is due to the use of StAX API? In my opinion StAX is not faster than SAX , so how come Axis2

RE: See how Axis2 guys suggest with Maven integration :)

2008-05-21 Thread mai.sun
Hi Saminda, We'd like to upgrade to Axis 1.4, but we applied some patches to Axis 1.3 and we're not sure they work with Axis 1.4. Below is a list of changes we made: 1. In Axis2 1.3 all properties from sub-class are added before super-class when generating XML response, this causes

RE: How to integrate Axis2 into our project built by Maven

2008-05-20 Thread mai.sun
Hi Saminda, Thanks for you reply. We're indeed using Maven2 to build WAR. We tried to add the following dependencies in our pom.xml: dependency groupIdorg.apache.axis2/groupId artifactIdaxis2-adb/artifactId version1.3/version /dependency dependency groupIdorg.apache.axis2/groupId

How to integrate Axis2 into our project built by Maven

2008-05-19 Thread mai.sun
Hi, We're developing Axis2 based webservice and it works great, but now we plan to build the WAR by using Maven instead of Ant. In the Axis2 1.3 distribution there are 60 jars, do we need to declare dependencies of all these jar in our project or is there any easy way to get around this? Any

Does Axis2 compatible with Java 1.4?

2008-05-13 Thread mai.sun
Hi, Just to confirm, does Axis2 1.3 works on JDK 1.4? Thx a lot! Regards, Mai Sun

org.apache.axis2.AxisFault: Transport out has not been set

2008-04-01 Thread mai.sun
Hi all, We're developing a web service client using Axis2 and we use code generator eclipse plugin to generate the client stub. The project compiles but when we try to call the web service we receive an error: org.apache.axis2.AxisFault: Transport out has not been set This error occured before

RE: org.apache.axis2.AxisFault: Transport out has not been set

2008-04-01 Thread mai.sun
Hi, I have found the problem, just ignore my previous email. Regards, Mai Sun From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 01 April 2008 11:08 To: axis-dev@ws.apache.org Subject: org.apache.axis2.AxisFault: Transport out has not been set Hi

How to add WS-Security header in Axis2 client

2008-03-31 Thread mai.sun
Hi all, We need to develop an Axis2 web service client towards our partner. I've generate client stub and everything works fine except that I couldn't find a way to programatically set username and password in WS-Security header. Besides manipulate the XML request, is there a way to set

RE: How to add WS-Security header in Axis2 client

2008-03-31 Thread mai.sun
Dear Nandana, Thank you very much for your reply. I've read through the tutorial you sent me and I'm able to engage Rampart in my Axis2 client. However, when I sent the request I got the error WSDoAllReceiver: Incoming message does not contain required Security header. It seems to me that the WSS

[AXIS2]ADB problem: Nested complex elements in request are not deserialized

2008-02-21 Thread mai.sun
Hi all, I don't know if it's a bug, but it seems that nested complex elements in SOAP request are not deserialized by Axis2 ADB. Here is the schema which defines a TradeFilterDTO contains other two filters: xs:complexType name=TradeFilterDTO xs:complexContent

RE: [AXIS2]ADB problem: Nested complex elements in request are not deserialized

2008-02-21 Thread mai.sun
Hi Amila, Thanks for your mail. I've found out it was bacause I used attribute names which are not Javabean compliant. The fXFilter and mMFilter should be named by fxFilter and mmFilter. Best wishes, Mai Sun From: Amila Suriarachchi [mailto:[EMAIL PROTECTED]

RE: [Axis2]Jira issue AXIS2-3418

2008-02-13 Thread mai.sun
Hi Deepal, I have attached my patch to Jira AXIS2-3418. Another issue I notice in BeanUtil class is that it doesn't generate xsi:type attribute correctly, according to the comments in source code below: // For some reason, using QName(Constants.XSI_NAMESPACE, type, xsi) does not generate // an

RE: [Axis2]ADB binding with XML schema type Date

2008-02-13 Thread mai.sun
Thanks for your reply. The org.apache.axis2.description.java2wsdl.TypeTable treat java.sql.date as xsd:datetime, it doesn't look correctly in my opinion. I think java.sql.date should be converted into xsd:date even it's a subclass of java.util.date. Regards, Mai Sun -Original Message-

[Axis2]Jira issue AXIS2-3418

2008-02-12 Thread mai.sun
Hi, I have made a fix for this issue (see comments at http://issues.apache.org/jira/browse/AXIS2-3418), can anyone tell me how I can contribute my source code? Thanks a lot! Regards, Mai Sun

[Axis2]mvn eclipse:eclipse failed

2008-02-12 Thread mai.sun
Hi, Following the instruction http://ws.apache.org/axis2/svn.html, I've checked out everything and installed Maven. However, when I run mvn eclipse:eclipse I received an error msg: [INFO] The plugin 'org.apache.maven.plugins:maven-antrun-plugin' does not exist or no valid version could be found

RE: [Axis2]mvn eclipse:eclipse failed

2008-02-12 Thread mai.sun
Hi Azeez, Thanks for your reply. It works fine now, I think it was caused by some network connection issue. Regards, Mai Sun From: Afkham Azeez [mailto:[EMAIL PROTECTED] Sent: 12 February 2008 15:34 To: axis-dev@ws.apache.org Subject: Re: [Axis2]mvn

[Axis2]ADB binding with XML schema type Date

2008-02-12 Thread mai.sun
Hi group, It seems to me that there is no type represents xsd:date in Axis2. The class org.apache.axis2.description.java2wsdl.typeTable defines all supported types, I notice that there is no Java type which can be interpreted as xsd:date. Any suggestion appreciated. Regards, Mai Sun