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?
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.
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.