Results 1 to 2 of 2

Thread: Generating sericeInterface for JaxWsPortProxyFactoryBean

  1. #1

    Default Generating serviceInterface for JaxWsPortProxyFactoryBean

    When defining a JaxWsPortProxyFactoryBean to access an external web service, for which you have the WSDL (obviously), is there a way to dynamically generate the java class which will used as the serviceInterface property?
    Last edited by David Field; Dec 20th, 2010 at 04:32 AM.

  2. #2
    Join Date
    Dec 2010
    Posts
    315

    Default

    Quote Originally Posted by David Field View Post
    When defining a JaxWsPortProxyFactoryBean to access an external web service, for which you have the WSDL (obviously), is there a way to dynamically generate the java class which will used as the serviceInterface property?
    I use wsimport which generates Jax-WS artifacts (Java proxy classes). The xxxxxPort (ie ServicePort) is an interface that you can use for the serviceInterface.

    Here's an actual client sample that uses JaxWsPortProxyFactoryBean http://krams915.blogspot.com/2010/12...-services.html

    It uses classes that were generated from wsimport.
    Last edited by skram; Dec 30th, 2010 at 03:43 PM.

Posting Permissions

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