//Blocking invocation via wsa mapping
call.setWsaAction("urn:sample/echo");
OMElement result = (OMElement) call.invokeBlocking("echo", getBody());
StringWriter writer = new StringWriter();
result.serializeWithCache(new OMOutputImpl(
XMLOutputFactory.newInstance().createXMLStreamWriter(
writer)));
writer.flush();
System.out.println(writer.toString());