*/
private void sendAndValidateMimeMessage(String rpcMethodName, SOAPMessage msg)
throws SOAPException, MalformedURLException, IOException
{
SOAPConnectionFactory conFactory = SOAPConnectionFactory.newInstance();
SOAPConnection con = conFactory.createConnection();
//msg.writeTo(System.out);
SOAPMessage resMessage = con.call(msg, new URL(TARGET_ENDPOINT_ADDRESS));
SOAPBody soapBody = resMessage.getSOAPBody();
SOAPEnvelope soapEnvelope = (SOAPEnvelope)soapBody.getParentElement();