-1

For GET web service , while hitting the WebService in postman, able to retrieve data from local and same code is not working in web logic server.

Input data format : JSON Output data format : JSON

For another WebService , which we are not providing input , able to retrieve data from weblogic server whereas WebService which requires input data is throwing 400 error.

May be it is not able to read content type.

Could any one please suggest me on this.

Tried adding produces = MediaType.APPLICATION_JSON_VALUE , consumes = MediaType.APPLICATION_JSON_VALUE produces = MediaType.APPLICATION_JSON_UTF8_VALUE , consumes = MediaType.APPLICATION_JSON_UTF8_VALUE

tried these 2 content types in all 4 combinations.

Even this is not working

1 Answer 1

0

Have you checked the url that is called ? You could also have less restrictions on the Media type to begin with and see if this works.

Could you share some of the code you used aswell as how you call it on postman ? Maybe we could troubleshoot it

Sign up to request clarification or add additional context in comments.

1 Comment

URL and all is fine....could you please suggest which mediatype needs to be used for JSON input to work in weblogic server

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.