java - Sending SOAP http response in one package -
we have java web service document style , http protocol. local service works smoothly , fast (~ 6ms). calling service-methods remote takes on 200ms.
one main reason delay the
- server sends first response http header,
- the client sends in return ack ,
- then again server sends response http body.
this second step client sends ack costs time, whole 200ms. avoid step , save time.
so that's why question: possible send whole response in 1 package? , how , configure that?
thanks advice.
i'm not understanding question.
why server sending first message? shouldn't client requesting web service via http initially?
from understand, soap requests wrapped within http message. http messages assumes tcp connection , requires response. suggests client must respond when server sends http header.
basically whatever 1 end sends another, other end must reply. ack return step 2 present.
edit:
i think reason difference in time when requesting via local , remote routing happens in real network versus on local machine. it's not number of steps taken in soap request , response.
Comments
Post a Comment