HttpPost getHttpMethod( String vURLService ) throws URISyntaxException {
    URIBuilder uriBuilder = new URIBuilder( vURLService );
    HttpPost vHttpMethod = new HttpPost( uriBuilder.build() );

    vHttpMethod.setHeader( "Content-Type", "text/xml;charset=UTF-8" );

    String soapAction = "\"" + meta.getOperationNamespace();
    if ( !meta.getOperationNamespace().endsWith( "/" ) ) {
      soapAction += "/";
    }
    soapAction += meta.getOperationName() + "\"";
    logDetailed( BaseMessages.getString( PKG, "WebServices.Log.UsingRequestHeaderSOAPAction", soapAction ) );
    vHttpMethod.setHeader( "SOAPAction", soapAction );

    return vHttpMethod;
  }
@Test( expected = URISyntaxException.class )
  public void newHttpMethodWithInvalidUrl() throws URISyntaxException {
    webServiceStep.getHttpMethod( NOT_VALID_URL );
  }