Announcement Announcement Module
Collapse
No announcement yet.
Generating sericeInterface for JaxWsPortProxyFactoryBean Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Generating sericeInterface 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, 05:32 AM.

  • #2
    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, 04:43 PM.

    Comment

    Working...
    X