-
Jun 19th, 2007, 07:59 AM
#1
jax-rpc in oc4j problem
During migration of our application from oc4j 9.0.4 to 10.3.1, we've got a rather nasty problem with our jax-rpc client. (See part of the stacktrace below) This client is made with the help of JaxRpcPortProxyFactoryBean, and uses the configuration in a Spring-xml. Creating of the bean already gives the problem. He does appear to find the WSDL, but it indicate's that a specified operation is not found.
We're using Spring 1.2.9 and Axis 1.4. We've tried to implement postProcessJaxRpcService-method different by using defaultregistry, or by explicit pointing to the used interface class.
Any help would be appreciated.
-- Stacktrace --
Caused by: org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'lokatieServiceSoapClient' defined in class path resource [.. . . ... /tm/extern/config/extern-soap.xml]: Initialization of bean failed; nested exception is port: {http://org/isc/ISLocatie/adapter/ISLAdapter.wsdl}ISLAdapterPort does not contain operation: getLocatieOpPostcode
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:407)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:234)
at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:144)
at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:277)
at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:321)
at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:87)
at org.springframework.context.support.ClassPathXmlAp plicationContext.<init>(ClassPathXmlApplicationCon text.java:72)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:513)
at org.springframework.beans.BeanUtils.instantiateCla ss(BeanUtils.java:172)
... 71 more
Caused by: port: {http://org/.../ISLocatie/adapter/ISLAdapter.wsdl}ISLAdapterPort does not contain operation: getLocatieOpPostcode
at oracle.j2ee.ws.client.dii.ConfiguredCall.configure Call(ConfiguredCall.java:154)
at oracle.j2ee.ws.client.dii.ConfiguredCall.configure Call(ConfiguredCall.java:113)
at oracle.j2ee.ws.client.dii.ConfiguredCall.setMethod Name(ConfiguredCall.java:82)
at oracle.j2ee.ws.client.dii.DynamicProxyBuilder.buil dDynamicProxyFor(DynamicProxyBuilder.java:63)
at oracle.j2ee.ws.client.dii.ConfiguredService.getPor t(ConfiguredService.java:254)
at org.springframework.remoting.jaxrpc.JaxRpcPortClie ntInterceptor.prepare(JaxRpcPortClientInterceptor. java:334)
at org.springframework.remoting.jaxrpc.JaxRpcPortClie ntInterceptor.afterPropertiesSet(JaxRpcPortClientI nterceptor.java:290)
at org.springframework.remoting.jaxrpc.JaxRpcPortProx yFactoryBean.afterPropertiesSet(JaxRpcPortProxyFac toryBean.java:56)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:1099)
at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:400)
... 82 more
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules