• 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

JSON webservice calling SOAP service

Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I am using jdk 1.7 with jdeveloper 11.

I want to create a REST/JSON service, the service should accept string input, invoke a SOAP webservice, and return the response in JSON format.
The SOAP service returns complex xml structure, the xml needs to be converted into JSON and return to the caller.

I managed to create REST/JSON service using jdeveloper and it works.

I am not sure how to invoke the SOAP service in JAVA, convert the SOAP response into JSON and return to the caller.
The JSON ouput  is a copy on SOAP response, I just need to convert SOAP response to JSON.
Can anyone let me know how to design the solution for my problem?

You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic