Re: Port axis1 codes to axis2 with WSDL2Java and xmlbeans

2019-12-26 Thread robertlazarski .
I need about an hour to look into this question but I haven't forgotten about it. I expect to respond in the next day or so. On Sat, Dec 21, 2019 at 2:20 AM albert kao wrote: > > I want to port some axis1 codes to axis2 with WSDL2Java and xmlbeans. > > e.g. > axis1 generated this code: > public c

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

2019-12-26 Thread robertlazarski .
About the next release, not many committers are active right now and we need to get the client side code to work under JDK 11 and also remove all commons http client 3.x deps. Lots of Jira cleanup too. So we can use some help. If you or anyone else are interested in becoming a committer to help in

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

2019-12-26 Thread robertlazarski .
I forgot to mention the json builders and formatters, see below. Also, the json support works by the content-type header flag so be sure to set it from whatever http client you use: curl -H "Content-Type: application/json"

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-26 Thread albert kao
I followed the README.txt. The section "Running the Sample Service" used the port 8443 in the steps 2.) "-XX-XX XX:XX:XX. XXX:INFO::Started SslSocketConnector@0.0.0.0:8443" 3.) https://localhost:8443/services/SimpleService?wsdl On Mon, Dec 23, 2019 at 10:16 AM robertlazarski . wrote: > Port

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

2019-12-26 Thread albert kao
I modified axis2.xml as per your suggestions: $ diff axis2.xml axis2.xml_orig 157,158d156 < http://www.w3.org/ns/wsdl/in-out"; < class="org.apache.axis2.json.gson.rpc.JsonRpcMessageReceiver"/> 160c158,160 < class="org.apache.axis2.json.gson.rpc.JsonInOnlyRPCMessageReceiver"/> --- > class