samples json : "com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '{' (code 123) in prolog; expected '<'"

2019-12-21 Thread albert kao
How to fix the "com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '{' (code 123) in prolog; expected '<'" in samples/json ? cd $AXIS2_HOME/samples/json ant run.client client.compile: [javac] /home/carmen/axis2-1.7.9/samples/json/build.xml:66: warning: 'includeantruntime' w

Re: transport/https-sample - [WARNING] Couldn't destroy threadgroup org.codehaus.mojo.exec.ExecJavaMojo$IsolatedThreadGroup[name=org.apache.axis2.examples.httpsclient.SimpleServiceClient,maxpri=10]

2019-12-21 Thread albert kao
Thank you for your suggestions :). I did: cd $AXIS2_HOME/samples/transport/https-sample/httpsClient mvn package exec:java -Dexec.mainClass="org.apache.axis2.examples.httpsclient.SimpleServiceClient" -Dexec.classpathScope=runtime -Dexec.cleanupDaemonThreads=false Output is: org.apache.axis2.transp

Port axis1 codes to axis2 with WSDL2Java and xmlbeans

2019-12-21 Thread albert kao
I want to port some axis1 codes to axis2 with WSDL2Java and xmlbeans. e.g. axis1 generated this code: public class UserRequest implements java.io.Serializable { public java.lang.String getAddrSame() { //... } } I create this build.xml: Then axis2 generate this c