public SOAPMessage sendSOAPMessage(final String xmlMessage,final String soapUrl,final boolean isClientMessage) throws SOAPException, SAML2Exception {
  SOAPConnection con=soapConnectionFactory.createConnection();
  SOAPMessage msg=createSOAPMessage(xmlMessage,isClientMessage);
  return con.call(msg,soapUrl);
}

public SOAPMessage sendSOAPMessage ( final String xmlMessage , final String soapUrl , final boolean isClientMessage ) throws SOAPException , SAML2Exception { SOAPConnection con = soapConnectionFactory . createConnection ( ) ; SOAPMessage msg = createSOAPMessage ( xmlMessage , isClientMessage ) ; return con . call ( msg , soapUrl ) ; }
send soap message to specified url and returns message from peer .
