Announcement Announcement Module
Collapse
No announcement yet.
JAX-RPC Webservice - WSDL generation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JAX-RPC Webservice - WSDL generation

    Hi,

    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.

  • #2
    Hello,

    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)

    Regards
    lyserg

    Comment

    Working...
    X