Results 1 to 2 of 2

Thread: JAX-RPC Webservice - WSDL generation

  1. #1
    Join Date
    Apr 2007
    Posts
    2

    Default 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. #2
    Join Date
    Nov 2006
    Location
    Germany
    Posts
    452

    Default

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •