axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martín R. <mmrrg...@gmail.com>
Subject Re: [AXIS2] useOriginalWsdl and POJO
Date Fri, 22 Apr 2011 16:20:15 GMT
I found this on internet:
https://issues.apache.org:443/jira/browse/AXIS2-4541

I'm not familiarized myself with jira.... that means that bug is fixed?
then... why I keep getting the problem?

On Thu, Apr 21, 2011 at 4:36 PM, Martín R. <mmrrgg77@gmail.com> wrote:

>
> I don't know how, but today I get this from tomcat7-stdout.2011-04-21.log :
>
> [ERROR] org.apache.axis2.AxisFault: Exception occurred while trying to
> invoke service method setTimeout
> [ERROR] Exception occurred while trying to invoke service method setTimeout
> *java.lang.NumberFormatException: For input string: "
>
>
> "*
> at java.lang.NumberFormatException.forInputString(Unknown Source)
> at java.lang.Integer.parseInt(Unknown Source)
> at java.lang.Integer.<init>(Unknown Source)
> at
> org.apache.axis2.databinding.typemapping.SimpleTypeMapper.getSimpleTypeObject(SimpleTypeMapper.java:80)
>
> at
> org.apache.axis2.databinding.utils.BeanUtil.processObject(BeanUtil.java:675)
> at
> org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(BeanUtil.java:630)
> at
> org.apache.axis2.databinding.utils.BeanUtil.deserialize(BeanUtil.java:562)
> at org.apache.axis2.rpc.receivers.RPCUtil.processRequest(RPCUtil.java:153)
> at
> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:191)
> at
> org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver.invokeBusinessLogic(RPCInOnlyMessageReceiver.java:63)
>
> at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:114)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)
> at
> org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:173)
> at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:250)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
> at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
>
>
> [ERROR] org.apache.axis2.AxisFault: Exception occurred while trying to
> invoke service method setTimeout
>
>
> And I think I am approaching the problem, because the problem is with a
> primitive type only (with String, no problems). But I don't know what to do
> now.
>
> Can anyone tell me if it works to him the attached examples? I use java -cp
> %AXISCLASSPATH% Testeo (with AXISCLASSPATH = %AXIS2_LIB%\*;. )
>
> On Wed, Apr 20, 2011 at 8:57 PM, Martín R. <mmrrgg77@gmail.com> wrote:
>
>> If anyone problem with my original wsdl file's EPRs.... why is it no
>> problem when I don't put any wsdl in /META-INF?
>>
>> I tried in axis2server standalone, and exactly the same problem too.
>>
>>
>>
>> I wonder what is the problem, since I haven't found nobody in internet
>> with my problem and I guess most of people don't use the autogenerated WSDL
>> by axis2...
>>
>> On Sun, Apr 17, 2011 at 10:22 AM, Sagara Gunathunga <
>> sagara.gunathunga@gmail.com> wrote:
>>
>>> On Sun, Apr 17, 2011 at 11:43 AM, Martín R. <mmrrgg77@gmail.com> wrote:
>>> > (server side)
>>> > Default config in Tomcat 7.0, axis2-1.5.4, Java 1.6.0_13
>>> > META-INF/Prueba.wsdl is a copy of
>>> > http://127.0.0.1/SNMP/services/Prueba?wsdl autogenerated wsdl. No
>>> change.
>>>
>>> I guess the issue with your original wsdl file's EPRs. I just deployed
>>> your server side archive on simple Axis2 server and possible to invoke
>>> operations using SoapUI tool. Check your  original WSDL content with
>>> auto generated content also try to use a SoapUI kind  of a tool to
>>> test your service before generate your client's code so that you can
>>> isolate the issue.
>>>
>>> Thanks !
>>>
>>>
>>> > stdout.log :
>>> > [ERROR] Exception occurred while trying to invoke service method
>>> setTimeout
>>> > java.lang.IllegalArgumentException
>>> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> > at java.lang.reflect.Method.invoke(Unknown Source)
>>> > at
>>> >
>>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
>>> > ...
>>> > [ERROR] org.apache.axis2.AxisFault: Exception occurred while trying to
>>> > invoke service method setTimeout
>>> > [ERROR] The endpoint reference (EPR) for the Operation not found is
>>> > http://127.0.0.1/SNMP/services/Prueba and the WSA Action =
>>> > urn:setTimeoutContext
>>> > org.apache.axis2.AxisFault: The endpoint reference (EPR) for the
>>> Operation
>>> > not found is http://127.0.0.1/SNMP/services/Prueba and the WSA Action
>>> =
>>> > urn:setTimeoutContext
>>> > at
>>> >
>>> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:89)
>>> > at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
>>> > at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251)
>>> > ....
>>> > [ERROR] The endpoint reference (EPR) for the Operation not found is
>>> > http://127.0.0.1/SNMP/services/Prueba and the WSA Action =
>>> > urn:getTimeoutContext
>>> > org.apache.axis2.AxisFault: The endpoint reference (EPR) for the
>>> Operation
>>> > not found is http://127.0.0.1/SNMP/services/Prueba and the WSA Action
>>> =
>>> > urn:getTimeoutContext
>>> > at
>>> >
>>> org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:89)
>>> > at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
>>> > at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:251)
>>> > .....
>>> >
>>> > (now cliet side)
>>> > wsdl2java -p com.cliente -d adb -u -uw -S -uri
>>> > http://127.0.0.1/SNMP/services/Prueba?wsdl
>>> > java -cp %AXISCLASSPATH% Testeo (AXISCLASSPAH points to
>>> axis2-1.5.4/lib/*;.
>>> > )
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > do I do something wrong?
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>> > For additional commands, e-mail: java-user-help@axis.apache.org
>>> >
>>>
>>>
>>>
>>> --
>>> Sagara Gunathunga
>>>
>>> Blog - http://ssagara.blogspot.com
>>> Web - http://people.apache.org/~sagara/
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
>>> For additional commands, e-mail: java-user-help@axis.apache.org
>>>
>>>
>>
>

Mime
View raw message