This discussion is archived
0 Replies Latest reply: Sep 22, 2012 10:24 PM by user8742475 RSS

Do I need to configure WLS 10.3.5 to recognize JSON?

user8742475 Newbie
Currently Being Moderated
I deployed a web service to WLS 10.3.5 containing code to connect to a remote REST service. It failed to pass JSON to it via POST method even though my Content-Type and Accept HTTP headers are application/json.

I printed out what the HttpURLConnection object contains and the Content-Type is text/html so that's why it failed. When I executed the same code outside of WLS then everything works fine.

I'm not using fusion. Just standalone WLS 10.3.5.

Can you help me please?



  • Correct Answers - 10 points
  • Helpful Answers - 5 points