axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajith Ranabahu" <ajith.ranab...@gmail.com>
Subject Re: [Axis2] Argument type mismatch, wsdl sorcery
Date Wed, 16 Aug 2006 20:18:51 GMT
Hi Alan,
I am not sure what you meant by 'a previous incarnation' ? perhaps you
could attach the two WSDLs ?

On 8/16/06, Jones, Alan R <alan.r.jones@boeing.com> wrote:
> Hi List,
>
> I have generated two services. The first one runs perfectly. The other
> which is very similar, throws the error below at the time of response. I
> cannot find where this is coming from, but I did see that when I
> generate the code from the WSDL2Java tool in Eclipse, it generates a
> bunch of related stubs from a previous incarnation of the service
> (Factory, etc), and when I look at the WSDL from the Axis2 admin
> interface (web browser) I see it contains a bunch of ops/messages from
> the previous incarnation also. However, when I look at the wsdl inside
> of eclipse, this is not the case.
>
> Questions:
> 1. How is it possible for the wsdl viewed in Axis2 admin to be different
> from the wsdl I generated in eclipse?
> 2. How is the gen tool creating all these factories/nested
> classes/methods in the stub that do not exist in the class?
> 3. Is there a relation between the above 2 issues and the error I am
> getting?
>
> Hope someone can provide insight...
>
>
> ------------------------
>
> rg.apache.axis2.AxisFault: argument type mismatch
>         at
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisO
> peration.java:287)
>         at
> com.boeing.soa.ajtest.TestService2Stub.processData(TestService2Stub.java
> :106)
>         at
> com.boeing.soa.ajtest.TestClient.runTestService2(TestClient.java:126)
>         at com.boeing.soa.ajtest.TestClient.main(TestClient.java:53)
> Caused by: java.lang.Exception: org.apache.axis2.AxisFault: argument
> type mismatch
>         at
> org.apache.axis2.receivers.RawXMLINOutMessageReceiver.invokeBusinessLogi
> c(RawXMLINOutMessageReceiver.java:102)
>         at
> org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(Abst
> ractInOutSyncMessageReceiver.java:37)
>         at
> org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:454)
>         at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReques
> t(HTTPTransportUtils.java:284)
>         at
> org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:252)
>         at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:173)
>         at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:213)
>         at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:178)
>         at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :126)
>         at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :105)
>         at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:107)
>         at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
> 48)
>         at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:86
> 9)
>         at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
> essConnection(Http11BaseProtocol.java:664)
>         at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
> .java:527)
>         at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
> erWorkerThread.java:80)
>         at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
> .java:684)
>         at java.lang.Thread.run(Thread.java:595)
>
>
>
> --------------------
>
> Thanks,
>
> Alan J
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>


-- 
Ajith Ranabahu

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message