-
Aug 28th, 2008, 04:50 AM
#1
How to configure wsdl:import in ApplicationContext.xml?
In our project we are using Spring to invoke webservice. Part of our applicationcontext file looks like this:
<beans>
<bean id="com.portal.service.integration.BSContractPolis Service" class="org.springframework.remoting.jaxrpc.JaxRpcP ortProxyFactoryBean">
<property name="serviceFactoryClass">
<value>org.apache.axis.client.ServiceFactory</value>
</property>
<property name="serviceInterface">
<value>comportal.service.integration.BSContractPol isService</value>
</property>
<property name="wsdlDocumentUrl">
<value>localhost:9080/BS_CONTRACT_POLISWeb/sca/BS_CONTRACT_POLIS_ExpWS?wsdl</value>
</property>
<property name="namespaceUri">
<value>BS_CONTRACT_POLIS/so/BS_CONTRACT_POLIS</value>
</property>
<property name="serviceName">
<value>BS_CONTRACT_POLIS_ExpWS_BS_CONTRACT_POLISHt tpService</value>
</property>
<property name="portName">
<value>BS_CONTRACT_POLIS_ExpWS_BS_CONTRACT_POLISHt tpPort</value>
</property>
</bean>
</beans>
Now client has changed the WSDL, they have done wsdl:import of existing wsdl in another wsdl. How do I configure my applicationcontext.xml?
Part of Changed WSDL
- <wsdl:definitions .....">
<wsdl:import location="so/BS_CONTRACT_POLIS.wsdl" namespace="BS_CONTRACT_POLIS/so/BS_CONTRACT_POLIS" />
- <wsdl:binding name="BS_CONTRACT_POLIS_ExpWS_BS_CONTRACT_POLISHtt pBinding" type="Port_0:BS_CONTRACT_POLIS">
<soap:binding style="document" transport="...." />
Thanks
Raj
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