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 <
[email protected]> wrote:

> On Sun, Apr 17, 2011 at 11:43 AM, Martín R. <[email protected]> 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: [email protected]
> > For additional commands, e-mail: [email protected]
> >
>
>
>
> --
> Sagara Gunathunga
>
> Blog - http://ssagara.blogspot.com
> Web - http://people.apache.org/~sagara/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to