• 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

Is it good to access JAX-WS through Service class?

 
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Friends..

is it good to access JAX-WS through Service class (which autogenerated by wsimport glassfish)?..
its mean that i have to use wsimport for generate all of my WebService class (JAX-WS + EJB3.0)..
is it good implementation or no?..

i ask this beacuse i feel comfort use that Service class, but i don't know whatever its bad approach or no for accessing webservice..

Thanks in advance..
 
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!
Using generated artifacts to access a web service is a good approach. If you do not have any special reasons, then there is no need to do things at a too low level - it will make developing your client more complicated.
Best wishes!
 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks van for your reply..

yaph, its wouldn't be a problem when we use Service class while we are being in Java scope,
(in mean, the client that accesses is built by Java too)..

assume that the client which want to access WebService is built by using .NET..
and then how to reach it?..
 
Ivan Krizsan
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!
Accessing web services is done in the same way, regardless of what language the web service implementation is written in.
Be warned that despite promises of interoperability, there may still be difficulties. I would advise you to choose a web service stack (yes, also for the client side) that has been tested for interoperability with .NET web services, for instance Metro: https://metro.dev.java.net/
Best wishes!
 
Leonardo Carreira
Ranch Hand
Posts: 494
Eclipse IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok thanks Ivan..
I'll browse and learn about it..
 
reply
    Bookmark Topic Watch Topic
  • New Topic