Apr 5th, 2007, 09:14 PM
JAX-RPC Webservice - WSDL generation
New to Spring and Webservices, this question may be too basic.. Please advice.
When exposing a service interface as a JAX-RPC webservice using JAXRpcPortProxyFactoryBean, do I need to generate a WSDL file? If yes, do I use wscompile to do it? Does Spring generate the WSDL file automatically if I specify a bean for JAXRpcPortProxyFactoryBean in my applicationConfiguration.xml file?
Thanks in advance.
Apr 12th, 2007, 10:51 AM
i hope this is the right answer for you.
If you want to use a webservice through the JaxRPCProxyFactoryBean, then there is no wsdl needed, you could also use for example your generated stub classes. For that you have to define the JaxRpcService,PortInterface and the Portname.
The JaxRpcService can be a generated class, or an instance that is retrieved from the JNDI context. (If you are using Webservices in a J2EE Enviroment)