Hello,

I am developping a dynamic proxy client to access an existing document
literal web service (I am not the web service developper). On the client
side I am using SPRING ant Axis. I registered properly the complex types.
But I have the following error:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: javax.xml.rpc.JAXRPCException: Number of parameters passed in
(1) doesn't match the number of IN/INOUT parameters (13) from the
addParameter() calls
 faultActor: 
 faultNode: 
 faultDetail: 
        {http://xml.apache.org/axis/}stackTrace:javax.xml.rpc.JAXRPCException:
Number of parameters passed in (1) doesn't match the number of IN/INOUT
parameters (13) from the addParameter() calls
        at org.apache.axis.client.Call.getParamList(Call.java:2059)
        at org.apache.axis.client.Call.invoke(Call.java:2364)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        at 
org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:163)
        at $Proxy0.docdownload(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.springframework.remoting.rmi.RmiClientInterceptorUtils.doInvoke(RmiClientInterceptorUtils.java:98)
        at
org.springframework.remoting.rmi.RmiClientInterceptorUtils.invoke(RmiClientInterceptorUtils.java:71)
        at
org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.invoke(JaxRpcPortClientInterceptor.java:498)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
        at $Proxy1.docdownload(Unknown Source)
        at
ec.ep.dit.isp.euramis.service.client.TestServices.test1(TestServices.java:69)
        at
ec.ep.dit.isp.euramis.service.client.TestServices.main(TestServices.java:31)

        {http://xml.apache.org/axis/}hostname:PRESLUXWISPSP06

javax.xml.rpc.JAXRPCException: Number of parameters passed in (1) doesn't
match the number of IN/INOUT parameters (13) from the addParameter() calls
        at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
        at org.apache.axis.client.Call.invoke(Call.java:1828)
        at 
org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:163)
        at $Proxy0.docdownload(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.springframework.remoting.rmi.RmiClientInterceptorUtils.doInvoke(RmiClientInterceptorUtils.java:98)
        at
org.springframework.remoting.rmi.RmiClientInterceptorUtils.invoke(RmiClientInterceptorUtils.java:71)
        at
org.springframework.remoting.jaxrpc.JaxRpcPortClientInterceptor.invoke(JaxRpcPortClientInterceptor.java:498)
        at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
        at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
        at $Proxy1.docdownload(Unknown Source)
        at
ec.ep.dit.isp.euramis.service.client.TestServices.test1(TestServices.java:69)
        at
ec.ep.dit.isp.euramis.service.client.TestServices.main(TestServices.java:31)
Caused by: javax.xml.rpc.JAXRPCException: Number of parameters passed in (1)
doesn't match the number of IN/INOUT parameters (13) from the addParameter()
calls
        at org.apache.axis.client.Call.getParamList(Call.java:2059)
        at org.apache.axis.client.Call.invoke(Call.java:2364)
        at org.apache.axis.client.Call.invoke(Call.java:1812)
        ... 14 more

Please, any help would be welcomed.

Azon.
--
View this message in context: 
http://www.nabble.com/Dynamic-proxy-client-for-a-document-literal-web-service-t1722040.html#a4677736
Sent from the Axis - Dev forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to