Announcement Announcement Module
No announcement yet.
org.apache.axis.client.ServiceFactory wsdlDocument lookup not on startup? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • org.apache.axis.client.ServiceFactory wsdlDocument lookup not on startup?

    Hi all,

    I have a component that offers several business functionality and would be used in different applications and environments (test/dev/prod/...).

    One of the service is consuming an axis soap service by a org.springframework.remoting.jaxrpc.JaxRpcPortProx yFactoryBean. In some environments that service is not used, but I have to pass a vaild url to the wsdl into the configuration, because otherwise the application will crash while initializing the spring context with:

    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'DispatchRequest' defined in class path resource [de/ApplicationContext.xml]: Invocation of init method failed; nested exception is javax.xml.rpc.ServiceException: Error processing WSDL document: Blahbla

    So, my question is: Is it possible to force the container to check the wsdl parameter at using the bean not loading into the context?

    Thanks in advance