• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JAX-WS java proxy classes

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I use JAX-WS web services in my project - WSDL to JAVA approach.
I generate Java Client Proxy classes from the WSDL using the IRAD(7.5) web services client.

Each time I get a new WSDL file I generate the proxy classes by specifying a different package for each(use the bind.xml to specify the package name) and for each there are the Request, Response, ObjectFactory and Programming interface classes.

My question is there any other simpler way of generating these client classes?
Can I select the same existing client classes with update option instead of overwriting?


Thanks in advance,
Mahesh.
 
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I cant understand what you mean by "I generate the proxy classes by specifying a different package" .

Apart from this JAX-WS dynamic client model generates these classes on the fly and eliminates the need to generate classes from wsdl on the client side. This ofcourse is slower and not sure how difficult it is on the developer side to code for this.

 
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!
It is possible to invoke wsimport from both Ant and Maven, both of which can be automated.
In Eclipse, you can configure a Builder for a project which can run a selected Ant task during a build of the project - this way it becomes integrated with the development environment.
There are probably similar features in other IDEs, but I am not familiar with the details.

As far as I know, there is no option to update existing classes. They are always overwritten.
Best wishes!
 
Maheshwari Kirthi
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Lingam and Ivan, thanks for the reply, it helped.
Lingam while generating the Java Client Proxy classes I add the bind.xml which has the directory(package name) where the client classes needs to be created, I have a bind.xml for each of the WSDL , that's what I meant specifying a different package name.

Thanks again

Regards,
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic