title: Issue Sending SOAP requests with Savon gem in ruby
body: <p>I am using the Savon gem to communicate to a soap api from a tax company called vertex. The api endpoints can be found here <a href="https://sandbox.ondemand.vertexinc.com/vertex-ws/listVertexServices.jsp" rel="nofollow">https://sandbox.ondemand.vertexinc.com/vertex-ws/listVertexServices.jsp</a>.</p>
  
  <p>I had to switch the http adapter to use curb because of some SSL issues. Below is the code for the request I am trying to make:</p>
  
  <pre><code>class Tax
    HTTPI.adapter = :curb
  
    def self.lookup_tax_areas
      client = Savon.client(wsdl: "https://sandbox.ondemand.vertexinc.com:443/vertex-ws/services/LookupTaxAreas60?wsdl")
      response = client.call(:lookup_tax_areas60, xml: LOOKUPTAX)
    end
  
  end
  </code></pre>
  
  <p>I am receiving the following error message:</p>
  
  <pre><code>Tax.lookup_tax_areas
  
    HTTPI GET request to sandbox.ondemand.vertexinc.com (curb)
    SOAP request: https://sandbox.ondemand.vertexinc.com/vertex-ws/services/LookupTaxAreas60
    SOAPAction: "LookupTaxAreas60", Content-Type: text/xml;charset=UTF-8, Content-Length: 676
  &lt;?xml version='1.0' encoding='UTF-8'?&gt;
  &lt;!-- Sample Request for the Tax Areas Lookup Web Service --&gt;
    &lt;VertexEnvelope xmlns='urn:vertexinc:o-series:tps:6:0'
     xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'&gt;
  &lt;Login&gt;
    &lt;UserName&gt;name&lt;/UserName&gt;
      &lt;Password&gt;password&lt;/Password&gt;
  &lt;/Login&gt;
  &lt;TaxAreaRequest&gt;
  &lt;TaxAreaLookup asOfDate='2008-01-01'&gt;
    &lt;PostalAddress&gt;
      &lt;City&gt;HUNTSVILLE&lt;/City&gt;
      &lt;MainDivision&gt;AL&lt;/MainDivision&gt;
      &lt;SubDivision&gt;MADISON&lt;/SubDivision&gt;
      &lt;PostalCode&gt;35801&lt;/PostalCode&gt;
      &lt;Country&gt;USA&lt;/Country&gt;
    &lt;/PostalAddress&gt;
   &lt;/TaxAreaLookup&gt;
  &lt;/TaxAreaRequest&gt;
  &lt;/VertexEnvelope&gt;
  
  HTTPI POST request to sandbox.ondemand.vertexinc.com (curb)
  SOAP response (status 500)
  &lt;?xml version='1.0' encoding='UTF-8'?&gt;&lt;S:Envelope  xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"&gt;
  
  &lt;S:Body&gt;&lt;S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope"&gt;
  &lt;faultcode&gt;S:Client&lt;/faultcode&gt;  &lt;faultstring&gt;Couldn't create SOAP message due to 
  exception: unexpected XML tag. expected: 
  {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: {urn:vertexinc:o-
  series:tps:6:0}VertexEnvelope&lt;/faultstring&gt;&lt;/S:Fault&gt;&lt;/S:Body&gt;&lt;/S:Envelope&gt;
  Savon::SOAPFault: (S:Client) Couldn't create SOAP message due to exception: unexpected 
  XML tag. expected: {http://schemas.xmlsoap.org/soap/envelope/}Envelope but found: 
  {urn:vertexinc:o-series:tps:6:0}VertexEnvelope
  from /lib/savon/response.rb:70:in `raise_soap_and_http_errors!'
  from /lib/savon/response.rb:13:in `initialize'
  from /lib/savon/operation.rb:53:in `new'
  from /lib/savon/operation.rb:53:in `call'
  from /lib/savon/client.rb:36:in `call'
  from /app/models/tax.rb:7:in `lookup_tax_areas'
  </code></pre>
  
  <p>With SOAP UI the request message I get is rather long, but here is a cutdown version:</p>
  
  <pre><code> &lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"  xmlns:urn="urn:vertexinc:o-series:tps:6:0"&gt;
  &lt;soapenv:Header/&gt;
  &lt;soapenv:Body&gt;
    &lt;urn:VertexEnvelope&gt;
       &lt;urn:Login&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:UserName&gt;test&lt;/urn:UserName&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:Password&gt;test&lt;/urn:Password&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:TrustedId&gt;?&lt;/urn:TrustedId&gt;
       &lt;/urn:Login&gt;
       &lt;!--You have a CHOICE of the next 46 items at this level--&gt;
       &lt;urn:AccrualRequest documentNumber="?" postingDate="?" locationCode="?" returnAssistedParametersIndicator="?" returnGeneratedLineItemsIndicator="?" deliveryTerm="?" documentDate="?" transactionId="?" transactionType="?" simplificationCode="?" recoverableDate="?" postToJournal="true"&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:Currency isoCurrencyName="?" isoCurrencyCodeAlpha="?" isoCurrencyCodeNum="?"/&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:OriginalCurrency isoCurrencyName="?" isoCurrencyCodeAlpha="?" isoCurrencyCodeNum="?"/&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:Buyer isTaxExempt="false" exemptionReasonCode="?"&gt;
             &lt;!--Optional:--&gt;
             &lt;urn:Company&gt;?&lt;/urn:Company&gt;
             &lt;!--Optional:--&gt;
             &lt;urn:Division&gt;?&lt;/urn:Division&gt;
             &lt;!--Optional:--&gt;
             &lt;urn:Department&gt;?&lt;/urn:Department&gt;
             &lt;!--Optional:--&gt;
             &lt;urn:Recipient&gt;
                &lt;urn:RecipientCode classCode="?" isBusinessIndicator="?"&gt;?&lt;/urn:RecipientCode&gt;
                &lt;!--Zero or more repetitions:--&gt;
                &lt;urn:TaxRegistration isoCountryCode="?" mainDivision="?" hasPhysicalPresenceIndicator="?"&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:TaxRegistrationNumber&gt;?&lt;/urn:TaxRegistrationNumber&gt;
                   &lt;!--0 to 4 repetitions:--&gt;
                   &lt;urn:NexusOverride locationRole="?" country="?" mainDivision="?" subDivision="?" city="?" district="?"/&gt;
                   &lt;!--Zero or more repetitions:--&gt;
                   &lt;urn:PhysicalLocation taxAreaId="?"&gt;
                      &lt;!--Optional:--&gt;
                      &lt;urn:StreetAddress1&gt;?&lt;/urn:StreetAddress1&gt;
                      &lt;!--Optional:--&gt;
                      &lt;urn:StreetAddress2&gt;?&lt;/urn:StreetAddress2&gt;
                      &lt;!--Optional:--&gt;
                      &lt;urn:City&gt;?&lt;/urn:City&gt;
                      &lt;!--Optional:--&gt;
                      &lt;urn:MainDivision&gt;?&lt;/urn:MainDivision&gt;
                      &lt;!--Optional:--&gt;
                      &lt;urn:SubDivision&gt;?&lt;/urn:SubDivision&gt;
                      &lt;!--Optional:--&gt;
                      &lt;urn:PostalCode&gt;?&lt;/urn:PostalCode&gt;
                      &lt;!--Optional:--&gt;
                      &lt;urn:Country&gt;?&lt;/urn:Country&gt;
                   &lt;/urn:PhysicalLocation&gt;
                &lt;/urn:TaxRegistration&gt;
             &lt;/urn:Recipient&gt;
             &lt;!--Optional:--&gt;
             &lt;urn:Destination taxAreaId="?" locationCustomsStatus="?" locationCode="?" externalJurisdictionCode="?"&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:StreetAddress1&gt;?&lt;/urn:StreetAddress1&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:StreetAddress2&gt;?&lt;/urn:StreetAddress2&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:City&gt;?&lt;/urn:City&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:MainDivision&gt;?&lt;/urn:MainDivision&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:SubDivision&gt;?&lt;/urn:SubDivision&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:PostalCode&gt;?&lt;/urn:PostalCode&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:Country&gt;?&lt;/urn:Country&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:CurrencyConversion isoCurrencyName="?" isoCurrencyCodeAlpha="?" isoCurrencyCodeNum="?"&gt;?&lt;/urn:CurrencyConversion&gt;
             &lt;/urn:Destination&gt;
             &lt;!--Optional:--&gt;
             &lt;urn:AdministrativeDestination taxAreaId="?" locationCustomsStatus="?" locationCode="?" externalJurisdictionCode="?"&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:StreetAddress1&gt;?&lt;/urn:StreetAddress1&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:StreetAddress2&gt;?&lt;/urn:StreetAddress2&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:City&gt;?&lt;/urn:City&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:MainDivision&gt;?&lt;/urn:MainDivision&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:SubDivision&gt;?&lt;/urn:SubDivision&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:PostalCode&gt;?&lt;/urn:PostalCode&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:Country&gt;?&lt;/urn:Country&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:CurrencyConversion isoCurrencyName="?" isoCurrencyCodeAlpha="?" isoCurrencyCodeNum="?"&gt;?&lt;/urn:CurrencyConversion&gt;
             &lt;/urn:AdministrativeDestination&gt;
             &lt;!--Optional:--&gt;
             &lt;urn:ExemptionCertificate exemptionCertificateNumber="?"&gt;?&lt;/urn:ExemptionCertificate&gt;
             &lt;!--Zero or more repetitions:--&gt;
             &lt;urn:TaxRegistration isoCountryCode="?" mainDivision="?" hasPhysicalPresenceIndicator="?"&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:TaxRegistrationNumber&gt;?&lt;/urn:TaxRegistrationNumber&gt;
                &lt;!--0 to 4 repetitions:--&gt;
                &lt;urn:NexusOverride locationRole="?" country="?" mainDivision="?" subDivision="?" city="?" district="?"/&gt;
                &lt;!--Zero or more repetitions:--&gt;
                &lt;urn:PhysicalLocation taxAreaId="?"&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:StreetAddress1&gt;?&lt;/urn:StreetAddress1&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:StreetAddress2&gt;?&lt;/urn:StreetAddress2&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:City&gt;?&lt;/urn:City&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:MainDivision&gt;?&lt;/urn:MainDivision&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:SubDivision&gt;?&lt;/urn:SubDivision&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:PostalCode&gt;?&lt;/urn:PostalCode&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:Country&gt;?&lt;/urn:Country&gt;
                &lt;/urn:PhysicalLocation&gt;
             &lt;/urn:TaxRegistration&gt;
          &lt;/urn:Buyer&gt;
          &lt;!--Optional:--&gt;
             &lt;!--Zero or more repetitions:--&gt;
             &lt;urn:TaxRegistration isoCountryCode="?" mainDivision="?" hasPhysicalPresenceIndicator="?"&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:TaxRegistrationNumber&gt;?&lt;/urn:TaxRegistrationNumber&gt;
                &lt;!--0 to 4 repetitions:--&gt;
                &lt;urn:NexusOverride locationRole="?" country="?" mainDivision="?" subDivision="?" city="?" district="?"/&gt;
                &lt;!--Zero or more repetitions:--&gt;
                &lt;urn:PhysicalLocation taxAreaId="?"&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:StreetAddress1&gt;?&lt;/urn:StreetAddress1&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:StreetAddress2&gt;?&lt;/urn:StreetAddress2&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:City&gt;?&lt;/urn:City&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:MainDivision&gt;?&lt;/urn:MainDivision&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:SubDivision&gt;?&lt;/urn:SubDivision&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:PostalCode&gt;?&lt;/urn:PostalCode&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:Country&gt;?&lt;/urn:Country&gt;
                &lt;/urn:PhysicalLocation&gt;
             &lt;/urn:TaxRegistration&gt;
          &lt;/urn:Vendor&gt;
          &lt;!--1 or more repetitions:--&gt;
          &lt;urn:LineItem lineItemNumber="?" taxDate="?" isMulticomponent="?" locationCode="?" deliveryTerm="?" postingDate="?" costCenter="?" departmentCode="?" generalLedgerAccount="?" materialCode="?" projectNumber="?" usage="?" usageClass="?" vendorSKU="?" countryOfOriginISOCode="?" modeOfTransport="?" natureOfTransaction="?" intrastatCommodityCode="?" netMassKilograms="?" lineItemId="?" recoverableDate="?" titleTransfer="?" chainTransactionPhase="?"&gt;
             &lt;!--Optional:--&gt;
             &lt;urn:Buyer isTaxExempt="false" exemptionReasonCode="?"&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:Company&gt;?&lt;/urn:Company&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:Division&gt;?&lt;/urn:Division&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:Department&gt;?&lt;/urn:Department&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:Recipient&gt;
                   &lt;urn:RecipientCode classCode="?" isBusinessIndicator="?"&gt;?&lt;/urn:RecipientCode&gt;
                   &lt;!--Zero or more repetitions:--&gt;
                   &lt;urn:TaxRegistration isoCountryCode="?" mainDivision="?" hasPhysicalPresenceIndicator="?"&gt;
                      &lt;!--Optional:--&gt;
                      &lt;urn:TaxRegistrationNumber&gt;?&lt;/urn:TaxRegistrationNumber&gt;
                      &lt;!--0 to 4 repetitions:--&gt;
                      &lt;urn:NexusOverride locationRole="?" country="?" mainDivision="?" subDivision="?" city="?" district="?"/&gt;
                      &lt;!--Zero or more repetitions:--&gt;
                      &lt;urn:PhysicalLocation taxAreaId="?"&gt;
                         &lt;!--Optional:--&gt;
                         &lt;urn:StreetAddress1&gt;?&lt;/urn:StreetAddress1&gt;
                         &lt;!--Optional:--&gt;
                         &lt;urn:StreetAddress2&gt;?&lt;/urn:StreetAddress2&gt;
                         &lt;!--Optional:--&gt;
                         &lt;urn:City&gt;?&lt;/urn:City&gt;
                         &lt;!--Optional:--&gt;
                         &lt;urn:MainDivision&gt;?&lt;/urn:MainDivision&gt;
                         &lt;!--Optional:--&gt;
                         &lt;urn:SubDivision&gt;?&lt;/urn:SubDivision&gt;
                         &lt;!--Optional:--&gt;
                         &lt;urn:PostalCode&gt;?&lt;/urn:PostalCode&gt;
                         &lt;!--Optional:--&gt;
                         &lt;urn:Country&gt;?&lt;/urn:Country&gt;
                      &lt;/urn:PhysicalLocation&gt;
  
       &lt;urn:TaxAreaRequest&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:TaxAreaLookup asOfDate="2008-01-01" lookupId="?"&gt;
             &lt;!--You have a CHOICE of the next 3 items at this level--&gt;
             &lt;urn:TaxAreaId&gt;?&lt;/urn:TaxAreaId&gt;
             &lt;urn:PostalAddress&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:StreetAddress1&gt;?&lt;/urn:StreetAddress1&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:StreetAddress2&gt;?&lt;/urn:StreetAddress2&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:City&gt;HUNTSVILLE&lt;/urn:City&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:MainDivision&gt;AL&lt;/urn:MainDivision&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:SubDivision&gt;MADISON&lt;/urn:SubDivision&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:PostalCode&gt;35801&lt;/urn:PostalCode&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:Country&gt;USA&lt;/urn:Country&gt;
             &lt;/urn:PostalAddress&gt;
             &lt;urn:ExternalJurisdiction&gt;
                &lt;urn:ExternalJurisdictionCode&gt;?&lt;/urn:ExternalJurisdictionCode&gt;
                &lt;urn:Country&gt;?&lt;/urn:Country&gt;
             &lt;/urn:ExternalJurisdiction&gt;
          &lt;/urn:TaxAreaLookup&gt;
       &lt;/urn:TaxAreaRequest&gt;
       &lt;urn:TaxAreaResponse&gt;
          &lt;!--Zero or more repetitions:--&gt;
          &lt;urn:TaxAreaResult taxAreaId="?" asOfDate="?" confidenceIndicator="?"&gt;
             &lt;!--Zero or more repetitions:--&gt;
             &lt;urn:Jurisdiction jurisdictionLevel="?" jurisdictionId="?" effectiveDate="?" expirationDate="?" externalJurisdictionCode="?"&gt;?&lt;/urn:Jurisdiction&gt;
             &lt;!--Zero or more repetitions:--&gt;
             &lt;urn:PostalAddress&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:StreetAddress1&gt;?&lt;/urn:StreetAddress1&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:StreetAddress2&gt;?&lt;/urn:StreetAddress2&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:City&gt;?&lt;/urn:City&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:MainDivision&gt;?&lt;/urn:MainDivision&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:SubDivision&gt;?&lt;/urn:SubDivision&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:PostalCode&gt;?&lt;/urn:PostalCode&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:Country&gt;?&lt;/urn:Country&gt;
             &lt;/urn:PostalAddress&gt;
             &lt;!--Zero or more repetitions:--&gt;
             &lt;urn:Status lookupResult="?"&gt;?&lt;/urn:Status&gt;
          &lt;/urn:TaxAreaResult&gt;
       &lt;/urn:TaxAreaResponse&gt;
       &lt;urn:FindTaxAreasRequest&gt;
          &lt;!--1 or more repetitions:--&gt;
          &lt;urn:TaxAreaLookup asOfDate="?" lookupId="?"&gt;
             &lt;!--You have a CHOICE of the next 3 items at this level--&gt;
             &lt;urn:TaxAreaId&gt;?&lt;/urn:TaxAreaId&gt;
             &lt;urn:PostalAddress&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:StreetAddress1&gt;?&lt;/urn:StreetAddress1&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:StreetAddress2&gt;?&lt;/urn:StreetAddress2&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:City&gt;?&lt;/urn:City&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:MainDivision&gt;?&lt;/urn:MainDivision&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:SubDivision&gt;?&lt;/urn:SubDivision&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:PostalCode&gt;?&lt;/urn:PostalCode&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:Country&gt;?&lt;/urn:Country&gt;
             &lt;/urn:PostalAddress&gt;
             &lt;urn:ExternalJurisdiction&gt;
                &lt;urn:ExternalJurisdictionCode&gt;?&lt;/urn:ExternalJurisdictionCode&gt;
                &lt;urn:Country&gt;?&lt;/urn:Country&gt;
             &lt;/urn:ExternalJurisdiction&gt;
          &lt;/urn:TaxAreaLookup&gt;
       &lt;/urn:FindTaxAreasRequest&gt;
       &lt;urn:FindTaxAreasResponse&gt;
          &lt;!--Zero or more repetitions:--&gt;
          &lt;urn:TaxAreaLookupResult lookupId="?"&gt;
             &lt;!--Zero or more repetitions:--&gt;
             &lt;urn:TaxAreaResult taxAreaId="?" asOfDate="?" confidenceIndicator="?"&gt;
                &lt;!--Zero or more repetitions:--&gt;
                &lt;urn:Jurisdiction jurisdictionLevel="?" jurisdictionId="?" effectiveDate="?" expirationDate="?" externalJurisdictionCode="?"&gt;?&lt;/urn:Jurisdiction&gt;
                &lt;!--Zero or more repetitions:--&gt;
                &lt;urn:PostalAddress&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:StreetAddress1&gt;?&lt;/urn:StreetAddress1&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:StreetAddress2&gt;?&lt;/urn:StreetAddress2&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:City&gt;?&lt;/urn:City&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:MainDivision&gt;?&lt;/urn:MainDivision&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:SubDivision&gt;?&lt;/urn:SubDivision&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:PostalCode&gt;?&lt;/urn:PostalCode&gt;
                   &lt;!--Optional:--&gt;
                   &lt;urn:Country&gt;?&lt;/urn:Country&gt;
                &lt;/urn:PostalAddress&gt;
                &lt;!--Zero or more repetitions:--&gt;
                &lt;urn:Status lookupResult="?"&gt;?&lt;/urn:Status&gt;
             &lt;/urn:TaxAreaResult&gt;
             &lt;!--Optional:--&gt;
             &lt;urn:LookupException&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:ExceptionType&gt;?&lt;/urn:ExceptionType&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:RootCause&gt;?&lt;/urn:RootCause&gt;
             &lt;/urn:LookupException&gt;
          &lt;/urn:TaxAreaLookupResult&gt;
       &lt;/urn:FindTaxAreasResponse&gt;
       &lt;urn:VersionRequest/&gt;
       &lt;urn:VersionResponse&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:ProductVersions&gt;
             &lt;!--1 or more repetitions:--&gt;
             &lt;urn:ProductVersion productName="?"&gt;?&lt;/urn:ProductVersion&gt;
          &lt;/urn:ProductVersions&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:LibraryVersions&gt;
             &lt;!--1 or more repetitions:--&gt;
             &lt;urn:LibraryVersion libraryName="?" libraryOwner="?"&gt;?&lt;/urn:LibraryVersion&gt;
          &lt;/urn:LibraryVersions&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:DatabaseVersions&gt;
             &lt;!--1 or more repetitions:--&gt;
             &lt;urn:DatabaseVersion logicalName="?"&gt;
                &lt;urn:SchemaVersion&gt;?&lt;/urn:SchemaVersion&gt;
                &lt;urn:PlatformVersion vendorName="?"&gt;?&lt;/urn:PlatformVersion&gt;
                &lt;urn:DriverVersion driverName="?"&gt;?&lt;/urn:DriverVersion&gt;
                &lt;!--Optional:--&gt;
                &lt;urn:DataContentVersions&gt;
                   &lt;!--1 or more repetitions:--&gt;
                   &lt;urn:DataContentVersion contentName="?"&gt;?&lt;/urn:DataContentVersion&gt;
                &lt;/urn:DataContentVersions&gt;
             &lt;/urn:DatabaseVersion&gt;
          &lt;/urn:DatabaseVersions&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:ConfigurationVersion&gt;?&lt;/urn:ConfigurationVersion&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:MessageResourceVersion&gt;?&lt;/urn:MessageResourceVersion&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:OperatingSystemVersion operatingSystemName="?"&gt;?&lt;/urn:OperatingSystemVersion&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:JavaVirtualMachineVersion jvmName="?"&gt;?&lt;/urn:JavaVirtualMachineVersion&gt;
       &lt;/urn:VersionResponse&gt;
       &lt;!--Optional:--&gt;
       &lt;urn:ApplicationData&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:Sender&gt;?&lt;/urn:Sender&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:MessageLogging returnLogEntries="?"&gt;
             &lt;!--Zero or more repetitions:--&gt;
             &lt;urn:OverrideLoggingThreshold thresholdScope="?"&gt;?&lt;/urn:OverrideLoggingThreshold&gt;
          &lt;/urn:MessageLogging&gt;
          &lt;!--Zero or more repetitions:--&gt;
          &lt;urn:LogEntry logLevel="?" instanceId="?" threadId="?" className="?"&gt;
             &lt;urn:Message&gt;?&lt;/urn:Message&gt;
             &lt;!--Optional:--&gt;
             &lt;urn:Exception&gt;?&lt;/urn:Exception&gt;
          &lt;/urn:LogEntry&gt;
          &lt;!--Optional:--&gt;
          &lt;urn:ResponseTimeMS&gt;?&lt;/urn:ResponseTimeMS&gt;
       &lt;/urn:ApplicationData&gt;
    &lt;/urn:VertexEnvelope&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>I got it to work thank you!</p>
  
  <p>proper format is:</p>
  
  <pre><code>  "&lt;soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:urn='urn:vertexinc:o-series:tps:6:0'&gt;
   &lt;soapenv:Header/&gt;
   &lt;soapenv:Body&gt;
    &lt;urn:VertexEnvelope&gt;
       &lt;urn:Login&gt;
          &lt;urn:UserName&gt;test&lt;/urn:UserName&gt;
          &lt;urn:Password&gt;test&lt;/urn:Password&gt;
       &lt;/urn:Login&gt;
       &lt;urn:TaxAreaRequest&gt;
          &lt;urn:TaxAreaLookup asOfDate='2008-01-01' &gt;
             &lt;urn:PostalAddress&gt;
                &lt;urn:City&gt;HUNTSVILLE&lt;/urn:City&gt;
                &lt;urn:MainDivision&gt;AL&lt;/urn:MainDivision&gt;
                &lt;urn:SubDivision&gt;MADISON&lt;/urn:SubDivision&gt;
                &lt;urn:PostalCode&gt;35801&lt;/urn:PostalCode&gt;
                &lt;urn:Country&gt;USA&lt;/urn:Country&gt;
             &lt;/urn:PostalAddress&gt;
          &lt;/urn:TaxAreaLookup&gt;
       &lt;/urn:TaxAreaRequest&gt;
    &lt;/urn:VertexEnvelope&gt;
    &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;"
  </code></pre>