WS Rest - Post parameter

Error:

I've built a REST WS Consumer, and am attempting to pass a large amount of XML (about 32K) through a post parameter.

I'm receiving this error:

javax.ws.rs.ProcessingException: java.io.IOException: Error writing to server

 

Cause:

 The WS Consumer is attempting to post the entire parameter through the header of the message

 

Solution:

Enable the Post Query String option of the WS REST Consumer activity to allow for query parameters to be sent within the message body

For more information, refer to the Help Guide- https://docs.adeptia.com/display/AS/Creating+Web+Service+Consumer+Activity+to+Access+RESTful+Web+Service

 

 

Have more questions? Submit a request

0 Comments

Article is closed for comments.