3 Replies Latest reply on May 13, 2013 9:14 AM by gimbal2

    Massive payload coming as a JAXWS SOAP response


      I am working on JAXWS webservice which creates a SOAP request and response. There are cases the response which I get from a JAXWS is pretty heavy with a huge payload and it is taking lot of time to get the response where I am getting SocketTimeoutException quite regularly. Is there any possibility where we can improve the performance of the JAXWS by sending a payload data (response) in small chunks in an iterative manner rather than sending all of them at once? More over we are using the JAXB unmarshaller to parse the SOAP response that also takes lot of time? Could you please suggest how to resolve thgese problems? Whether REST WS helps in this scenario or is there any other alternative steps we can take it to make sure everything functions properly? Please clarify.