Win a copy of Classic Computer Science Problems in Swift this week in the iOS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSON webservice calling SOAP service  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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?


Thanks,
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!