[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: First web service using WSDL2RPG



Here is my HTTP log from Soap UI.

Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "POST /vertex-ws/services/CalculateTax70 HTTP/1.1[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "SOAPAction: ""[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "Content-Length: 1567[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "Host: anda.ondemand.vertexinc.com:443[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "Connection: Keep-Alive[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:tns1="http://www.vertexinc.com/oseries/services/CalculateTax70"; xmlns:vev="urn:vertexinc:o-series:tps:7:0">[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "    [\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "    <soapenv:Body>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "        <vev:VertexEnvelope>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "            <vev:Login>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                <vev:UserName>dlindahl_sbx</vev:UserName>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                <vev:Password>Welcome1</vev:Password>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "            </vev:Login>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "            <vev:QuotationRequest documentDate="2015-06-09" transactionType="SALE">[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                <vev:Customer>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                    <vev:CustomerCode>887016</vev:CustomerCode>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                    <vev:Destination>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                        <vev:StreetAddress1>1621 W. HENDERSON ST</vev:StreetAddress1>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                        <vev:City>CLEBURNE</vev:City>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                        <vev:MainDivision>TX</vev:MainDivision>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                        <vev:PostalCode>76031</vev:PostalCode>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                        <vev:Country>USA</vev:Country>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                    </vev:Destination>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                </vev:Customer>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                <vev:LineItem>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                    <vev:Product>320504</vev:Product>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                    <vev:Quantity>1</vev:Quantity>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                    <vev:UnitPrice>48.70</vev:UnitPrice>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                </vev:LineItem>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                <vev:LineItem>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                    <vev:Product>513407</vev:Product>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                    <vev:Quantity>1</vev:Quantity>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                    <vev:UnitPrice>.91</vev:UnitPrice>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "                </vev:LineItem>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "            </vev:QuotationRequest>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "        </vev:VertexEnvelope>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "    </soapenv:Body>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:>> "</soapenv:Envelope>"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "HTTP/1.1 200 OK[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "Date: Wed, 10 Jun 2015 20:07:28 GMT[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "SOAPAction: ""[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "Accept: text/xml[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "Content-Type: text/xml;charset=UTF-8[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "Keep-Alive: timeout=5, max=100[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "Connection: Keep-Alive[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "Set-Cookie: Vertex_Tampa_Cookie=755635628.20480.0000; path=/[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "Set-Cookie: TSa3dd89=80d31f56e652baf82b2cd604e4baa990ac983f3b90b56383557898ff84c3ac138e59baab; Path=/[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "Set-Cookie: TSa3dd89_28=7b7689819abaa74db300db7b44e82f50ac983f3b90b56383000000000000000000557898ffac983f3b90b56383; Path=/[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "Transfer-Encoding: chunked[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "4ba[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Body><VertexEnvelope xmlns="urn:vertexinc:o-series:tps:7:0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><Login><UserName>******</UserName>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Password>*******</Password>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "</Login>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<QuotationResponse documentDate="2015-06-09" transactionType="SALE"><Customer><CustomerCode>887016</CustomerCode>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Destination taxAreaId="442513055"><StreetAddress1>1621 W. HENDERSON ST</StreetAddress1>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<City>CLEBURNE</City>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<MainDivision>TX</MainDivision>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<PostalCode>76031</PostalCode>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Country>USA</Country>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "</Destination>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "</Customer>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<SubTotal>49.61</SubTotal>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Total>53.7</Total>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<TotalTax>4.09</TotalTax>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<LineItem><Product>320504</Product>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Quantity>1.0</Quantity>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<FairMarketValue>48.7</FairMarketValue>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<UnitPrice>48.7</UnitPrice>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<ExtendedPrice>48.7</ExtendedPrice>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Taxes taxResult="TAXABLE" taxType="SALES" situs="DESTINATION" taxCollectedFromParty="BUYER" taxStructure="SINGLE_RATE"><Jurisdiction jurisdictionLevel="STATE" jurisdictionId="35763">TEXAS</Jurisdiction>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<CalculatedTax>3.04</CalculatedTax>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<EffectiveRate>0.0625</EffectiveRate>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Taxable>48.7</Taxable>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Imposition imp"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "5b4[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "ositionId="1">Sales and Use Tax</Imposition>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<ImpositionType impositionTypeId="1">General Sales and Use Tax</ImpositionType>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<TaxRuleId>18653</TaxRuleId>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "</Taxes>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Taxes taxResult="TAXABLE" taxType="SALES" situs="DESTINATION" taxCollectedFromParty="BUYER" taxStructure="SINGLE_RATE"><Jurisdiction jurisdictionLevel="CITY" jurisdictionId="77898">BURLESON</Jurisdiction>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<CalculatedTax>0.97</CalculatedTax>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<EffectiveRate>0.02</EffectiveRate>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Taxable>48.7</Taxable>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Imposition impositionId="1">Local Sales and Use Tax</Imposition>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<ImpositionType impositionTypeId="1">General Sales and Use Tax</ImpositionType>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<TaxRuleId>26358</TaxRuleId>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "</Taxes>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<TotalTax>4.01</TotalTax>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "</LineItem>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<LineItem><Product>513407</Product>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Quantity>1.0</Quantity>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<FairMarketValue>0.91</FairMarketValue>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<UnitPrice>0.91</UnitPrice>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<ExtendedPrice>0.91</ExtendedPrice>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Taxes taxResult="TAXABLE" taxType="SALES" situs="DESTINATION" taxCollectedFromParty="BUYER" taxStructure="SINGLE_RATE"><Jurisdiction jurisdictionLevel="STATE" jurisdictionId="35763">TEXAS</Jurisdiction>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<CalculatedTax>0.06</CalculatedTax>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<EffectiveRate>0.0625</EffectiveRate>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Taxable>0.91</Taxable>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Imposition impositionId="1">Sales and Use Tax</Imposition>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<ImpositionType impositionTypeId="1">General Sales and Use Tax</ImpositionType>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<TaxRuleId>18653</TaxRuleId>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "</Taxes>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Taxes taxResult="TAXABLE" taxType="SALES" situs="DESTINATION" taxCollectedFromParty="BUYER" taxStructure="SINGLE_RATE"><Jurisdi"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "21f[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "ction jurisdictionLevel="CITY" jurisdictionId="77898">BURLESON</Jurisdiction>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<CalculatedTax>0.02</CalculatedTax>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<EffectiveRate>0.02</EffectiveRate>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Taxable>0.91</Taxable>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<Imposition impositionId="1">Local Sales and Use Tax</Imposition>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<ImpositionType impositionTypeId="1">General Sales and Use Tax</ImpositionType>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<TaxRuleId>26358</TaxRuleId>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "</Taxes>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<TotalTax>0.08</TotalTax>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "</LineItem>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "</QuotationResponse>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "<ApplicationData><ResponseTimeMS>143.9</ResponseTimeMS>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "</ApplicationData>[\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "</VertexEnvelope></soapenv:Body></soapenv:Envelope>"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "0[\r][\n]"
Wed Jun 10 16:07:28 EDT 2015:DEBUG:<< "[\r][\n]"

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Thomas Raddatz
Sent: Wednesday, June 10, 2015 4:01 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: First web service using WSDL2RPG

Douglas,

Yes, you are right. The wsdl is incomplete, because it references another file:

<xsd:import namespace="urn:vertexinc:o-series:tps:7:0"
schemaLocation="../xsd/7.0/VertexInc_Envelope.xsd"/>

But what we can see is that you used the right URL:

   <wsdl:service name="CalculateTaxWSService70">
      <wsdl:port binding="tns1:CalculateTax70SoapBinding"
name="CalculateTax70">
         <wsdlsoap:address
location="https://anda.ondemand.vertexinc.com:443/vertex-ws/services/CalculateTax70"/>
      </wsdl:port>
   </wsdl:service>

It matches the URL of the HTTPAPI debug log:

   POST /vertex-ws/services/CalculateTax70 HTTP/1.1

   Host: anda.ondemand.vertexinc.com:443


Please post the complete soapUI "http log" so that we can compare it with the HTTPAPI debug log.

Thomas.

Am 10.06.2015 um 21:30 schrieb Lindahl, Douglas:
> Maybe the issue is with the remote server. This web service is not public and maybe the software vendor restricts access to the IP addresses of recognized customers.
> 
> 
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Thomas 
> Raddatz
> Sent: Wednesday, June 10, 2015 2:55 PM
> To: HTTPAPI and FTPAPI Projects
> Subject: AW: First web service using WSDL2RPG
> 
> Douglas,
> 
> I receive the following error message when I enter the URL into Firefox:
> 
> The requested URL was rejected. Please consult with your administrator.
> 
> Your support ID is: 7109750400780955883
> 
> 
> Furthermore I am not sure what log you posted. When I use soapUI to call a web service, the httplog looks like that:
> 
> Wed Jun 10 20:49:21 CEST 2015:DEBUG:>> "POST http://tools400.dyndns.org:88/axis2/services/DownloadAttachmentService.DownloadAttachment HTTP/1.1[\r][\n]"
> Wed Jun 10 20:49:21 CEST 2015:DEBUG:>> "Accept-Encoding: gzip,deflate[\r][\n]"
> Wed Jun 10 20:49:21 CEST 2015:DEBUG:>> "Content-Type: text/xml;charset=UTF-8[\r][\n]"
> Wed Jun 10 20:49:21 CEST 2015:DEBUG:>> "SOAPAction: "http://tools400.de/wsdl2rpg/webservice/sample/downloadattachment/service"[\r][\n]";
> Wed Jun 10 20:49:21 CEST 2015:DEBUG:>> "Content-Length: 346[\r][\n]"
> Wed Jun 10 20:49:21 CEST 2015:DEBUG:>> "Host: tools400.dyndns.org:88[\r][\n]"
> Wed Jun 10 20:49:21 CEST 2015:DEBUG:>> "Proxy-Connection: Keep-Alive[\r][\n]"
> Wed Jun 10 20:49:21 CEST 2015:DEBUG:>> "User-Agent: Apache-HttpClient/4.1.1 (java 1.5)[\r][\n]"
> 
> 
> I asked for the log, because I wanted to see the POST statement.
> 
> Thomas.
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] Im Auftrag von Lindahl, 
> Douglas
> Gesendet: Mittwoch, 10. Juni 2015 20:18
> An: HTTPAPI and FTPAPI Projects
> Betreff: RE: First web service using WSDL2RPG
> 
> Hi Thomas. Thanks for the reply. 
> Think this is the URL you are looking for: 
> https://anda.ondemand.vertexinc.com/vertex-ws/listVertexServices.jsp
> 
> Yes, I was able to access the web service from SoapUI. This is the log that I received.
> 
> HTTP/1.1 200 OK
> Date: Tue, 09 Jun 2015 13:30:50 GMT
> SOAPAction: ""
> Accept: text/xml
> Content-Type: text/xml;charset=UTF-8
> Keep-Alive: timeout=5, max=100
> Connection: Keep-Alive
> Set-Cookie: Vertex_Tampa_Cookie=755635628.20480.0000; path=/
> Set-Cookie: 
> TSa3dd89=ff17bd53e23e2d0e67339fe382a628399c7ae9c637026bce5576ea8a84c3a
> c138e59baab; Path=/
> Set-Cookie: 
> TSa3dd89_28=cbb4ebbcb9f378c4cf0de5bbf50a36889c7ae9c637026bce0000000000
> 000000005576ea8a9c7ae9c637026bce; Path=/
> Transfer-Encoding: chunked
> 
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope 
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";><soapenv:Bod
> y><VertexEnvelope xmlns="urn:vertexinc:o-series:tps:7:0" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><Login><UserName
> >*******</UserName>
> <Password>******</Password>
> </Login>
> <QuotationResponse documentDate="2015-06-09" 
> transactionType="SALE"><Customer><CustomerCode>887016</CustomerCode>
> <Destination taxAreaId="442513055"><StreetAddress1>1621 W. HENDERSON 
> ST</StreetAddress1> <City>CLEBURNE</City> 
> <MainDivision>TX</MainDivision> <PostalCode>76031</PostalCode> 
> <Country>USA</Country> </Destination> </Customer> 
> <SubTotal>49.61</SubTotal> <Total>53.7</Total> 
> <TotalTax>4.09</TotalTax> <LineItem><Product>320504</Product>
> <Quantity>1.0</Quantity>
> <FairMarketValue>48.7</FairMarketValue>
> <UnitPrice>48.7</UnitPrice>
> <ExtendedPrice>48.7</ExtendedPrice>
> <Taxes taxResult="TAXABLE" taxType="SALES" situs="DESTINATION" 
> taxCollectedFromParty="BUYER" taxStructure="SINGLE_RATE"><Jurisdiction 
> jurisdictionLevel="STATE" jurisdictionId="35763">TEXAS</Jurisdiction>
> <CalculatedTax>3.04</CalculatedTax>
> <EffectiveRate>0.0625</EffectiveRate>
> <Taxable>48.7</Taxable>
> <Imposition impositionId="1">Sales and Use Tax</Imposition> 
> <ImpositionType impositionTypeId="1">General Sales and Use 
> Tax</ImpositionType> <TaxRuleId>18653</TaxRuleId> </Taxes> <Taxes 
> taxResult="TAXABLE" taxType="SALES" situs="DESTINATION" 
> taxCollectedFromParty="BUYER" taxStructure="SINGLE_RATE"><Jurisdiction 
> jurisdictionLevel="CITY" 
> jurisdictionId="77898">BURLESON</Jurisdiction>
> <CalculatedTax>0.97</CalculatedTax>
> <EffectiveRate>0.02</EffectiveRate>
> <Taxable>48.7</Taxable>
> <Imposition impositionId="1">Local Sales and Use Tax</Imposition> 
> <ImpositionType impositionTypeId="1">General Sales and Use 
> Tax</ImpositionType> <TaxRuleId>26358</TaxRuleId> </Taxes> 
> <TotalTax>4.01</TotalTax> </LineItem> 
> <LineItem><Product>513407</Product>
> <Quantity>1.0</Quantity>
> <FairMarketValue>0.91</FairMarketValue>
> <UnitPrice>0.91</UnitPrice>
> <ExtendedPrice>0.91</ExtendedPrice>
> <Taxes taxResult="TAXABLE" taxType="SALES" situs="DESTINATION" 
> taxCollectedFromParty="BUYER" taxStructure="SINGLE_RATE"><Jurisdiction 
> jurisdictionLevel="STATE" jurisdictionId="35763">TEXAS</Jurisdiction>
> <CalculatedTax>0.06</CalculatedTax>
> <EffectiveRate>0.0625</EffectiveRate>
> <Taxable>0.91</Taxable>
> <Imposition impositionId="1">Sales and Use Tax</Imposition> 
> <ImpositionType impositionTypeId="1">General Sales and Use 
> Tax</ImpositionType> <TaxRuleId>18653</TaxRuleId> </Taxes> <Taxes 
> taxResult="TAXABLE" taxType="SALES" situs="DESTINATION" 
> taxCollectedFromParty="BUYER" taxStructure="SINGLE_RATE"><Jurisdiction 
> jurisdictionLevel="CITY" 
> jurisdictionId="77898">BURLESON</Jurisdiction>
> <CalculatedTax>0.02</CalculatedTax>
> <EffectiveRate>0.02</EffectiveRate>
> <Taxable>0.91</Taxable>
> <Imposition impositionId="1">Local Sales and Use Tax</Imposition> 
> <ImpositionType impositionTypeId="1">General Sales and Use 
> Tax</ImpositionType> <TaxRuleId>26358</TaxRuleId> </Taxes> 
> <TotalTax>0.08</TotalTax> </LineItem> </QuotationResponse> 
> <ApplicationData><ResponseTimeMS>119.2</ResponseTimeMS>
> </ApplicationData>
> </VertexEnvelope></soapenv:Body></soapenv:Envelope>
> 
> -----Original Message-----
> From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Thomas 
> Raddatz
> Sent: Wednesday, June 10, 2015 1:49 PM
> To: HTTPAPI and FTPAPI Projects
> Subject: Re: First web service using WSDL2RPG
> 
> Douglas,
> 
> I get back the same error message, when I put the URL into Firefox. Are you sure, that the following URL is correct:
> 
> https://anda.ondemand.vertexinc.com:443/vertex-ws/services/CalculateTa
> x70
> 
> I cannot find any documentation for the Vertex O Series 7.0 web service and the URLs for the older web services are different:
> 
> http://vha0230.vertexinc.com/vertex-ws/listVertexServices.jsp
> 
> Can you call the web service from soapUI?
> Can you post the http log of soapUI (without user and passwort of course)?
> 
> Thomas.
> 
> 
> Am 08.06.2015 um 17:47 schrieb Lindahl, Douglas:
>>    I've run into a brick wall trying to get this web service working and
>>    I'm about out of ideas. I've verified that the XML is valid and I've
>>    been able to connect and get a good response from the server using
>>    desktop tools. I at first thought that the issue was with the vendor,
>>    but now I'm not so sure. I'm trying to determine if the "Requested URL
>>    was rejected" message was generated locally or by the remote server. If
>>    anyone could look at this debug log and give me some thoughts I'd
>>    appreciate it. Please note that we currently have other web services
>>    working correctly with HTTPAPI, but not using WSDL2RPG. Thanks.
>>
>>
>>    HTTPAPI Ver 1.24 released 2012-01-23
>>
>>    OS/400 Ver V7R1M0
>>
>>
>>
>>    WSDL2RPG Ver 1.16.3 released 2015-04-19 (V7R1M0)
>>
>>
>>    ** 2015-06-05-09.19.13.043000: Entering
>>    CalculateTax70_calculateTax70(), compiled for V7R1M0
>>
>>    New iconv() objects set, PostRem=1208. PostLoc=0. ProtRem=819.
>>    ProtLoc=0
>>
>>    ** 2015-06-05-09.19.13.366000: Sending request to server
>>
>>    http_persist_open(): entered
>>
>>    http_long_ParseURL(): entered
>>
>>    DNS resolver retrans: 2
>>
>>    DNS resolver retry  : 2
>>
>>    DNS resolver options: x'00000136'
>>
>>    DNS default domain: ANDRX.COM
>>
>>    DNS server found: 10.14.122.104
>>
>>    DNS server found: 10.14.122.112
>>
>>    -----------------------------------------------------------------------
>>    --------------
>>
>>    Dump of server-side certificate information:
>>
>>    -----------------------------------------------------------------------
>>    --------------
>>
>>    Cert Validation Code = 0
>>
>>    -----BEGIN CERTIFICATE-----
>>
>>    MIIFETCCA/mgAwIBAgIDAiTPMA0GCSqGSIb3DQEBBQUAMEAxCzAJBgNVBAYTAlVT
>>
>>    MRcwFQYDVQQKEw5HZW9UcnVzdCwgSW5jLjEYMBYGA1UEAxMPR2VvVHJ1c3QgU1NM
>>
>>    IENBMB4XDTEzMDQwMzE2NDIwMFoXDTE3MDYwMzIzNTIxNVowga0xKTAnBgNVBAUT
>>
>>    IHlzREtiSzMyQkRqZE5keTc3UnBmOEtqWHhZU24vVWdnMQswCQYDVQQGEwJVUzEV
>>
>>    MBMGA1UECBMMUGVubnN5bHZhbmlhMQ8wDQYDVQQHEwZCZXJ3eW4xFDASBgNVBAoT
>>
>>    C1ZlcnRleCBJbmMuMRIwEAYDVQQLEwlWZXJ0ZXggSVQxITAfBgNVBAMMGCoub25k
>>
>>    ZW1hbmQudmVydGV4aW5jLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
>>
>>    ggEBAMXru4v3yNpBowQADOBNPloDMvtf3WT6L1Jc64Yzx9HFXOdfL2n8jBKF4rXz
>>
>>    3vYGrtUh3qS1HSJetZpw1VWOaMveaLTQNzYemxUNQXjQkB6V97IxV+RgOhL60t3l
>>
>>    bulq+MLtX71GVsccn7sBXwrSMcWZD2D3ecigdFOigYH89/uRg/i0uCpuqyN1xn4h
>>
>>    PDGT2ma/lflhMYVrP1WG1owppu2JBUKJlyoCXAneytYO57Z54e1B8z+SV+fCV81u
>>
>>    qryx5TLr5eT0v80bCNTK2VVYRtogtzLGtwDnVaZ2NiBC8dSFWD4VNSTlKDnuI6/j
>>
>>    VUvPWeme5dElDd34iq6mMGGYV+kCAwEAAaOCAaQwggGgMB8GA1UdIwQYMBaAFEJ5
>>
>>    VBthzVUrPmPVPEhX9Z/7Rc5KMA4GA1UdDwEB/wQEAwIEsDAdBgNVHSUEFjAUBggr
>>
>>    BgEFBQcDAQYIKwYBBQUHAwIwIwYDVR0RBBwwGoIYKi5vbmRlbWFuZC52ZXJ0ZXhp
>>
>>    bmMuY29tMD0GA1UdHwQ2MDQwMqAwoC6GLGh0dHA6Ly9ndHNzbC1jcmwuZ2VvdHJ1
>>
>>    c3QuY29tL2NybHMvZ3Rzc2wuY3JsMB0GA1UdDgQWBBSKdh8GCOBmPAP/XRK4XLqV
>>
>>    VxfqhDAMBgNVHRMBAf8EAjAAMG8GCCsGAQUFBwEBBGMwYTAqBggrBgEFBQcwAYYe
>>
>>    aHR0cDovL2d0c3NsLW9jc3AuZ2VvdHJ1c3QuY29tMDMGCCsGAQUFBzAChidodHRw
>>
>>    Oi8vZ3Rzc2wtYWlhLmdlb3RydXN0LmNvbS9ndHNzbC5jcnQwTAYDVR0gBEUwQzBB
>>
>>    BgpghkgBhvhFAQc2MDMwMQYIKwYBBQUHAgEWJWh0dHA6Ly93d3cuZ2VvdHJ1c3Qu
>>
>>    Y29tL3Jlc291cmNlcy9jcHMwDQYJKoZIhvcNAQEFBQADggEBAEeY/f8xdBU30qKj
>>
>>    fG1d8i0oThVWrKsISD5eVrmwzxryo6FRHJzQ0lDkRDpElchWm6hj4HniydorAmcd
>>
>>    C4V5S6oyWlifgUpH9eaSY5cQdI90cZmcqoq6yoq4X6qRWsot22ouZUrI8d+hR+PT
>>
>>    emKtPeYv57L5MglOemmS0Q8i8c+jJkJGTVmaook5KbclGOZGBS02lPrffvpfgu+B
>>
>>    SNVHwSUhoZ1ZU2FmnPzgaQlxW1RXYgHjrXATUjQtDu77xD1VfA2DmagzPruDLP8Z
>>
>>    ADudsPjXaYameXVdGO3YqorXzSNUAkXmg+4Ekm1CBHVYe3GuuUTkGGaypnioZXKm
>>
>>    J7QEH8I=
>>
>>    -----END CERTIFICATE-----
>>
>>    Serial Number: 02:24:CF
>>
>>    Common Name: *.ondemand.vertexinc.com
>>
>>    Country: US
>>
>>    State/Province: Pennsylvania
>>
>>    Locality: Berwyn
>>
>>    Org Unit: Vertex Inc.
>>
>>    Org: Vertex IT
>>
>>    Issuer CN: GeoTrust SSL CA
>>
>>    Issuer Country: US
>>
>>    Issuer Org: GeoTrust, Inc.
>>
>>    Version: 3
>>
>>    not before: 20130403124200
>>
>>    Unknown Field: 12:42:00 03-04-2013
>>
>>    not after: 20170603195215
>>
>>    Unknown Field: 19:52:15 03-06-2017
>>
>>    pub key alg: 1.2.840.113549.1.1.5
>>
>>
>>    Protocol Used: TLS Version 1
>>
>>    http_persist_post(): entered
>>
>>    http_persist_req(POST) entered.
>>
>>    http_long_ParseURL(): entered
>>
>>    do_oper(POST): entered
>>
>>    There are 0 cookies in the cache
>>
>>    POST /vertex-ws/services/CalculateTax70 HTTP/1.1
>>
>>    Host: anda.ondemand.vertexinc.com:443
>>
>>    User-Agent: http-api/1.21
>>
>>    Content-Length: 1787
>>
>>    Content-Type: text/xml
>>
>>    SOAPAction:
>>
>>
>>
>>    sendraw(): entered
>>
>>    <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope
>>    xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
>>    xmlns:tns1="http://www.vertexinc.com/oseries/services/CalculateTax70";
>>    xmlns:vev="urn:vertexinc:o-series:tps:7:0"><soapenv:Body><vev:VertexEnv
>>    elope><vev:Login><vev:UserName>********</vev:UserName><vev:Password>***
>>    ***</vev:Password></vev:Login><vev:QuotationRequest
>>    documentDate="2015-06-05"
>>    transactionType="SALE"><vev:Customer><vev:CustomerCode>107196</vev:Cust
>>    omerCode><vev:Destination><vev:StreetAddress1>2961 WEST 12TH
>>    AVENUE
>>    </vev:StreetAddress1><vev:StreetAddress2></vev:StreetAddress2><vev:City
>>    >HIALEAH
>>    </vev:City><vev:MainDivision>FL</vev:MainDivision><vev:SubDivision></ve
>>    v:SubDivision><vev:PostalCode>33012
>>    </vev:PostalCode><vev:Country>USA</vev:Country><vev:CurrencyConversion>
>>    0</vev:CurrencyConversion></vev:Destination><vev:ExemptionCertificate><
>>    /vev:ExemptionCertificate></vev:Customer><vev:LineItem><vev:Product>317
>>    870</vev:Product><vev:Quantity>3</vev:Quantity><vev:UnitPrice>2.66</vev
>>    :UnitPrice></vev:LineItem><vev:LineItem><vev:Product>320568</vev:Produc
>>    t><vev:Quantity>1</vev:Quantity><vev:UnitPrice>100.8</vev:UnitPrice></v
>>    ev:LineItem><vev:LineItem><vev:Product>390874</vev:Product><vev:Quantit
>>    y>1</vev:Quantity><vev:UnitPrice>37.95</vev:UnitPrice></vev:LineItem><v
>>    ev:LineItem><vev:Product>312503</vev:Product><vev:Quantity>1</vev:Quant
>>    ity><vev:UnitPrice>86.98</vev:UnitPrice></vev:LineItem><vev:LineItem><v
>>    ev:Product>311253</vev:Product><vev:Quantity>1</vev:Quantity><vev:UnitP
>>    rice>11.69</vev:UnitPrice></vev:LineItem><vev:LineItem><vev:Product>803
>>    643</vev:Product><vev:Quantity>2</vev:Quantity><vev:UnitPrice>70.68</ve
>>    v:UnitPrice></vev:LineItem></vev:QuotationRequest></vev:VertexEnvelope>
>>    </soapenv:Body></soapenv:Envelope>
>>
>>    recvresp(): entered
>>
>>    HTTP/1.1 200 OK
>>
>>    Connection: close
>>
>>    Cache-Control: no-cache
>>
>>    Content-Type: text/html; charset=utf-8
>>
>>    Pragma: no-cache
>>
>>    Content-Length: 188
>>
>>
>>
>>    SetError() #13: HTTP/1.1 200 OK
>>
>>    recvresp(): end with 200
>>
>>    recvdoc parms: identity 188
>>
>>    header_load_cookies() entered
>>
>>    recvdoc(): entered
>>
>>    SetError() #0:
>>
>>    <html><head><title>Request Rejected</title></head><body>The requested
>>    URL was rejected. Please consult with your administrator.<br><br>Your
>>    support ID is: 7109750400737997612</body></html>
>>
>>    ** 2015-06-05-09.19.16.065000: Preparing to parse received message
>>
>>    WSDL2RPG: USR0030: Unexpected HTML data received from web service.
>>
>>                       Recovery  . . . :   Call
>>    CalculateTax70_setHttpDebug(*ON) to enable the HTTP API debug log and
>>    call the web service again. Then inspect the debug log do get further
>>    information about what the web service returns to you. The default log
>>    f
>>
>>    ile name is '/tmp/httpapi_debug.txt'.
>>
>>              received from procedure: BASICS1R1_f_sndPgmMsg
>>
>>                        and statement: 54400
>>
>>    ** 2015-06-05-09.19.16.240000: Leaving
>> CalculateTax70_calculateTax70()
>>
>>
>>
>> ---------------------------------------------------------------------
>> -
>> - This is the FTPAPI mailing list.  To unsubscribe, please go to:
>> http://www.scottklement.com/mailman/listinfo/ftpapi
>> ---------------------------------------------------------------------
>> -
>> -
>>
> ----------------------------------------------------------------------
> - This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> ----------------------------------------------------------------------
> -
> ----------------------------------------------------------------------
> - This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> ----------------------------------------------------------------------
> -
> --
> IMPORTANT NOTICE:
> This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender.
> 
> ----------------------------------------------------------------------
> - This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> ----------------------------------------------------------------------
> -
> ----------------------------------------------------------------------
> - This is the FTPAPI mailing list.  To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> ----------------------------------------------------------------------
> -
> 
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------