• 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
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

how to convert my legacy code using JAX-RPC to JAX-WS

 
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please tell me how can i do 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!
This depends on the approach with which your JAX-RPC code was developed:
  • If it was code-first, then yo will have to read up on JAX-WS and manually rewrite the code.
    You may be able to take the WSDL of a code-first JAX-RPC web service and use JAX-WS wsimport to generate code artfacts, which you then fill in by hand - depends on what the WSDL look like.
  • If it was WSDL-first, then you still have to do some reading, but mainly on how to generate JAX-WS code artifacts from WSDLs.

  • Best wishes!
     
    Jacob Sonia
    Ranch Hand
    Posts: 185
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    actually i didn't exactly understand the meaning of code first and wsdl first.
     
    Ranch Hand
    Posts: 263
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    In case of code first approch you will first write the code and then generate WSDL to expose it as web service. While in WSDL first you already have the WSDL and you are consuming that WSDL to generate service.
     
    Well behaved women rarely make history - Eleanor Roosevelt. tiny ad:
    We need your help - Coderanch server fundraiser
    https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
    reply
      Bookmark Topic Watch Topic
    • New Topic