|
Hi Raymond,
With the attached patch for bindings.axis2 and
samples/sca/helloworldws, I am getting the argument type mismatch exception
below. I am not sure that the correct databinding transform is happening.
Notice the incoming envelope has a string as the argument to
transform.
INFO: Deploying web application archive
sample-helloworldws-1.0-incubator-M2-SNA
PSHOT.war @@@ Axis2BindingBuilder.initAxis Oct 5, 2006 9:43:12 AM org.apache.axis2.deployment.URLBasedAxisConfigurator getA xisConfiguration INFO: No repository found , module will be loded using class path @@@ Created Axis2Service Axis2Service starting @@@ Creating Axis2ServiceInOutAsyncMessageReceiver for operationName: getGreetin gs @@@ Creating Axis2ServiceInOutAsyncMessageReceiver for operationName: getGreetin gs1 @@@ Creating Axis2ServiceInOutAsyncMessageReceiver for operationName: getGreetin gsWithCallback Axis2Service added services Axis2Service started Oct 5, 2006 9:43:14 AM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Oct 5, 2006 9:43:14 AM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Oct 5, 2006 9:43:14 AM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/31 config=null Oct 5, 2006 9:43:14 AM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Oct 5, 2006 9:43:14 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 5351 ms *** In Axis2ServiceInOutAsyncMessageReceiver.receive *** In Axis2ServiceInOutAsyncMessageReceiver.invokeBusinessLogic, envelope: <?xm l version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schema s.xmlsoap.org/soap/envelope/"><soapenv:Header /><soapenv:Body><axis2ns1:getGreet ings xmlns:axis2ns1="http://helloworld">Joe</axis2ns1:getGreetings></soapenv:Bod y></soapenv:Envelope> *** In Axis2Service.invokeTarget, invoking headInterceptor *** In Axis2Service.invokeTarget, invoked headInterceptor, body, resp.isFault: n ull, false *** Axis2ServiceInOutAsyncMessageReceiver invoked BusinessLogic, with requestOM: <axis2ns1:getGreetings xmlns:axis2ns1="http://helloworld">Joe</axis2ns1:getGree tings> @@@ In NonBlockingBridgingInterceptor.invoke.run @@@ In AsyncJavaTargetInvoker.invoke @@@ PojoTargetInvoker, have instance: [EMAIL PROTECTED], payload: [Ljava.lang.Object;@64160e, operation: getGreetings java.lang.IllegalArgumentException: argument type mismatch at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tuscany.core.wire.PojoTargetInvoker.invokeTarget(PojoTarge tInvoker.java:65) at org.apache.tuscany.core.implementation.java.AsyncJavaTargetInvoker.in voke(AsyncJavaTargetInvoker.java:72) at org.apache.tuscany.core.wire.InvokerInterceptor.invoke(InvokerInterce ptor.java:44) at org.apache.tuscany.core.wire.NonBlockingBridgingInterceptor$1.run(Non BlockingBridgingInterceptor.java:70) at org.apache.tuscany.core.services.work.jsr237.Jsr237WorkScheduler$Jsr2 37Work.run(Jsr237WorkScheduler.java:212) at org.apache.tuscany.core.services.work.jsr237.workmanager.ThreadPoolWo rkManager$DecoratingWork.run(ThreadPoolWorkManager.java:206) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec utor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:675) at java.lang.Thread.run(Thread.java:595) |
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
