I send a SOAP request to the server using the GWT on the client side, and my own ++ server on the server side. The code in gwt looks like this
RequestBuilder builder = new RequestBuilder(RequestBuilder.GET, "http://myServerName/backEndDispatcher"); builder.sendRequest(soapEnvelope, new RequestCallback(){ public void onResponseReceived(Request request, Response response) { int respStat = response.getStatusCode(); if (respStat != 200) { return; } // ... } public void onError(Request request, Throwable exception) { // ... } }); }
SOAP request code
<?xml version="1.0"?> <soap:Envelope xmlns:soap="http://www.w3.org/2001/12/soap-envelope" soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"> <soap:Body xmlns:c="http://myServerName/Product/C" xmlns:a="http://myServerName/Product/A" xmlns:b="http://myServerName/Product/B"> <c:Event> <a:OnEvent> <b:Id>1</b:Id> </a:OnEvent> </c:Event> </soap:Body> </soap:Envelope>
The request comes to the server, but after a double line feed there is nothing (the package itself). What could be the error?