How do you call webServices ?
I try to call a existing webService, with HTTPInvokers.
But, I don't see where is the Spring magic ?
My ApplicationContext.xml :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans>
<bean id="consultWebService"
class="org.springframework.remoting.jaxrpc.JaxRpcPortProxyFactoryBean">
<property name="serviceInterface">
<value>com.socgen.bva.cdn.consultationimagevaleur.ConsultationImageValeur</value>
</property>
<property name="portInterface">
<value>com.socgen.bva.cdn.consultationimagevaleur.ConsultationImageValeur.RemoteConsultationImageValeur</value>
</property>
<property name="wsdlDocumentUrl">
<value>
https://..../glue/consultationImageValeurCDN.wsdl
</value>
</property>
<property name="namespaceUri">
<value>
http://.../wsdl/ConsultationImageValeur/
</value>
</property>
<property name="serviceName">
<value>ConsultationImageValeur</value>
</property>
<property name="portName">
<value>IConsultationImageValeur</value>
</property>
</bean>
<bean id="httpInvokerProxy" class="org.springframework.remoting.httpinvoker.HttpInvokerProxyFactoryBean">
<property name="serviceUrl" value="https://.../glue/consultationImageValeurCDN.wsdl
" />
<property name="serviceInterface" value="com.socgen.bva.cdn.consultationimagevaleur.IConsultationImageValeur" />
</bean>
</beans>
I don't see how call my WebService in a simple application in console.
Can you help me ?