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

Re: Avalara GetHistory soap call



Laura,

When I enter your URL at home into Firefox I get error "Metadata publishing for this service is currently disabled.". Changing the URL to "https://development.avalara.net/Tax/TaxSvc.asmx?wsdl";, which is the standard format to get a WSDL for Microsoft Web Services, I get teh same error.

What URL did you use for soapUI to get the WSDL?

Thomas.

Am 05.06.2013 13:58, schrieb Laura Hamway (PHOENIX):
    Sorry  I wasn't sure if I should post my user name and password.  I
    changed it in the one and not the other so guess it doesn't matter much
    now.  In the log the xml is there and that is what was sent to Avalara
    and the same thing I pasted in SOAP UI.    Sorry for the confusion -


    On the iSeries I have:

    rc = http_url_post_xml(

         'https://development.avalara.net/Tax/TaxSvc.asmx'

         : %addr(SOAP) + 2

         : %len(SOAP)

         : *NULL

         : %paddr(Incoming)

         : %addr(atin)

         : HTTP_TIMEOUT

         : HTTP_USERAGENT

         : 'text/xml'

       : 'https://development.avalara.net/Tax/TaxSvc.asmx');

    In SoapUI I have:

    [1]https://development.avalara.net/Tax/TaxSvc.asmx

    [cid:image001.png@01CE61C2.365A7290]






    -----Original Message-----
    From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
    [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of
    thomas.raddatz@xxxxxx
    Sent: Wednesday, June 05, 2013 2:13 AM
    To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
    Subject: Re: Avalara GetHistory soap call



    Laura,


    The password of your soapUI request differs from the password of the
    HTTP API request. Is this a typo?


    soapUI request:    9A460B80D5ADDC3

    HTTP API request:  9A460B80D5ADDC3A


    The user names differ to:  110008529 versus 1100085294 (leading '4')


    What is the URL of the wsdl file? The following URLs do not work and
    return a timeout error:


       [2]http://development.avalara.net/Tax/TaxSvc.asmx?wsdl

       [3]https://development.avalara.net/Tax/TaxSvc.asmx?wsdl


    Thomas.


    [4]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 04.06.2013
    16:36:08:


    > Von: [5]lhamway@xxxxxxxxxxxxxxxx

    > An: [6]ftpapi@xxxxxxxxxxxxxxxxxxxxxx,

    > Datum: 04.06.2013 16:45

    > Betreff: Avalara GetHistory soap call

    > Gesendet von: [7]ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx

    >

    > Hi,

    > I am trying to execute a soap call to avalara to retrieve the

    > gethistory information.  We have other calls to Avalara working, but

    > they are in REST and not SOAP.

    >

    > Below I have included the xml, the error that was returned and the
    log

    > from the iSeries from when the webservice is executed.

    >

    > Please let me know if I need to include any other information.

    >

    > The xml follows.  If I post this in SOAP UI it is executed correctly

    > and the summary information is returned.

    > <soapenv:Envelope xmlns:soapenv="

    [8]http://schemas.xmlsoap.org/soap/envelope/

    > " xmlns:ser="[9]http://avatax.avalara.com/services";>

    > <soapenv:Header>

    > <ser:Profile>

    > <ser:Name>Fiberweb</ser:Name>

    > <ser:Client>FiberwebSOAPHarness,1.1.0.0</ser:Client>

    > <ser:Adapter>FiberwebSOAPAdapter</ser:Adapter>

    > <ser:Machine>CORP</ser:Machine></ser:Profile>

    > <ser:Security xmlns:ser="http://docs.oasis-open.org/wss/2004/01/

    > oasis-200401-wss-security-secext-1.0.xsd">

    > <ser:UsernameToken wsu:Id="UsernameToken-7" xmlns:wsu="http://

    >

    docs.oasis-open.org/wss/2004/01/oasis-200401-wss-security-utility-1.0.x
    sd">

    > <ser:Username>110008529</ser:Username>

    > <ser:Password Type="http://docs.oasis-open.org/wss/2004/01/

    > oasis-200401-wss-username-token-profile-1.0#PasswordText

    > ">9A460B80D5ADDC3</ser:Password>

    > </ser:UsernameToken>

    > </ser:Security>

    > </soapenv:Header>

    > <soapenv:Body>

    > <ser:GetTaxHistory>

    > <ser:GetTaxHistoryRequest>

    > <ser:CompanyCode>Fiberweb</ser:CompanyCode>

    > <ser:DocType>SalesInvoice</ser:DocType>

    > <ser:DocCode>10003146</ser:DocCode>

    > <ser:DetailLevel>Summary</ser:DetailLevel>

    > </ser:GetTaxHistoryRequest>

    > </ser:GetTaxHistory>

    > </soapenv:Body>

    > </soapenv:Envelope>

    >

    >

    > The error received is:

    > <s:Envelope xmlns:s="[10]http://schemas.xmlsoap.org/soap/envelope/";>

    > <s:Body>

    > <s:Fault>

    > <faultcode xmlns:a="http://docs.oasis-open.org/wss/2004/01/

    >

    oasis-200401-wss-wssecurity-secext-1.0.xsd">a:InvalidSecurity</faultcod
    e>

    > <faultstring xml:lang="en-US">An error occurred when verifying

    > security for the message.</faultstring> </s:Fault> </s:Body>

    > </s:Envelope>

    >

    >

    > HTTPAPI Ver 1.24 released 2012-01-23

    > OS/400 Ver V5R4M0

    >

    > New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819.
    ProtLoc=0

    > http_setauth(): entered

    > http_persist_open(): entered

    > http_long_ParseURL(): entered

    > DNS resolver retrans: 2

    > DNS resolver retry  : 2

    > DNS resolver options: x'000001B6'

    > DNS default domain: intranet.bba

    > DNS server found: 10.202.210.29

    > DNS server found: 10.210.210.29

    > https_init(): entered

    >

    -----------------------------------------------------------------------
    --------------

    > Dump of local-side certificate information:

    >

    -----------------------------------------------------------------------
    --------------

    >

    -----------------------------------------------------------------------
    --------------

    > Dump of server-side certificate information:

    >

    -----------------------------------------------------------------------
    --------------

    > Cert Validation Code = 0

    > -----BEGIN CERTIFICATE-----

    > MIIFdzCCBF+gAwIBAgIQMV7PNH+Hg+Nu/c24S6/sizANBgkqhkiG9w0BAQUFADCB

    > tTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL

    > ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2Ug

    > YXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykxMDEvMC0GA1UEAxMm

    > VmVyaVNpZ24gQ2xhc3MgMyBTZWN1cmUgU2VydmVyIENBIC0gRzMwHhcNMTMwMzI5

    > MDAwMDAwWhcNMTYwMzI4MjM1OTU5WjCBrTELMAkGA1UEBhMCVVMxEzARBgNVBAgT

    > Cldhc2hpbmd0b24xGjAYBgNVBAcUEUJhaW5icmlkZ2UgSXNsYW5kMRYwFAYDVQQK

    > FA1BdmFsYXJhLCBJbmMuMTMwMQYDVQQLFCpUZXJtcyBvZiB1c2UgYXQgd3d3LnZl

    > cmlzaWduLmNvbS9ycGEgKGMpMDUxIDAeBgNVBAMUF2RldmVsb3BtZW50LmF2YWxh

    > cmEubmV0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl7xjtzsC6oFO

    > xl44Lm+cWVH7QoVFKSfI8d57f1VM0g42vRFTP1PBjicZNHK0Dfoe3DtNbMCUnDwK

    > +2ZW+YDiCqNOv6USp4I3icyBbeY0mews4O+WFbbV3HCj/hp+mQ7jFnGlClJkU0m0

    > dcojd6yhH9Yc/48Zn+BV2F9uEjXHOcwOWkCY4magel4TyBW5Z1YQG+ABCQ+5QJrB

    > UbhSxpxBO28kqWqM35pXH1j13WxrQwsSAy1Am7wndiSDpu2QNy3RO8DXil0XQU13

    > 4Mf87WhsYU/KmLj769p9WYbKWEU5kPkVZU8rL4FF8X9wuSsTVgpCZ9WbvUU1PcGp

    > mKbjaAFBJQIDAQABo4IBhzCCAYMwIgYDVR0RBBswGYIXZGV2ZWxvcG1lbnQuYXZh

    > bGFyYS5uZXQwCQYDVR0TBAIwADAOBgNVHQ8BAf8EBAMCBaAwRQYDVR0fBD4wPDA6

    > oDigNoY0aHR0cDovL1NWUlNlY3VyZS1HMy1jcmwudmVyaXNpZ24uY29tL1NWUlNl

    > Y3VyZUczLmNybDBDBgNVHSAEPDA6MDgGCmCGSAGG+EUBBzYwKjAoBggrBgEFBQcC

    > ARYcaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL2NwczAdBgNVHSUEFjAUBggrBgEF

    > BQcDAQYIKwYBBQUHAwIwHwYDVR0jBBgwFoAUDURcFlNEwYJ+HSCrJfQBY9i+eaUw

    > dgYIKwYBBQUHAQEEajBoMCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC52ZXJpc2ln

    > bi5jb20wQAYIKwYBBQUHMAKGNGh0dHA6Ly9TVlJTZWN1cmUtRzMtYWlhLnZlcmlz

    > aWduLmNvbS9TVlJTZWN1cmVHMy5jZXIwDQYJKoZIhvcNAQEFBQADggEBACBX9Vbi

    > 5nbLzHGy0Qug64cqg5h7FvBgYA80juJIDpnIqL64lVWDNCGSIXfG3O7D5Qiz7UID

    > TGejaKh1RZRohDq+F2To8cRllQ959O0agy6us5Df0wm0XMDLVrBegvhSc9NNOP8r

    > UfFSCkr4ZFXsICTyK//KuVhwIquDp7v4o3gCDg1on+kS7xlUorA1ChBSr99DdGQ3

    > /GtgSX3PMNfXZG/T+582BNe94tKwY/TW67XrI7jBQfc3vRayDkvFEPCLjgT2pziB

    > N12hl/wdCEY1zliFjbj7yjoVbLlGSNrtQH4HSIP1WPQwoNY5i7SxFLYeGRjdax+F

    > 0R2nRgcJiDeZmSI=

    > -----END CERTIFICATE-----

    > Serial Number: 31:5E:CF:34:7F:87:83:E3:6E:FD:CD:B8:4B:AF:EC:8B

    > Common Name: development.avalara.net

    > Country: US

    > State/Province: Washington

    > Locality: Bainbridge Island

    > Org Unit: Avalara, Inc.

    > Org: Terms of use at [11]www.verisign.com/rpa (c)05

    > Issuer CN: VeriSign Class 3 Secure Server CA - G3

    > Issuer Country: US

    > Issuer Org: VeriSign, Inc.

    > Issuer Org Unit: Terms of use at [12]https://www.verisign.com/rpa
    (c)10,

    > OU=VeriSign Trust Network

    > Version: 03

    > not before: 20130328200000

    > not after: 20160328195959

    > 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 /Tax/TaxSvc.asmx HTTP/1.1

    > Host: development.avalara.net

    > User-Agent: http-api/1.24

    > Content-Type: text/xml

    > SOAPAction: [13]https://development.avalara.net/Tax/TaxSvc.asmx

    > Content-Length: 1105

    > Authorization: Basic MTEwMDA4NTI5NDo5QTQ2MEI4MEQ1QUREQzNB

    >

    >

    > senddoc(): entered

    > <soapenv:Envelope xmlns:soapenv="

    [14]http://schemas.xmlsoap.org/soap/envelope/

    > " xmlns:ser="http://avatax.avalara.com/services

    > "><soapenv:Header><ser:Profile><ser:Name>Fiberweb</

    > ser:Name><ser:Client>FiberwebSOAPHarness,1.1.0.0</

    > ser:Client><ser:Adapter>FiberwebSOAPAdapter</

    > ser:Adapter><ser:Machine>CORP</ser:Machine></

    > ser:Profile><ser:Security xmlns:ser="http://docs.oasis-open.org/wss/

    > 2004/01/oasis-200401-wss-security-secext-1.0.xsd"><ser:UsernameToken

    > wsu:Id="UsernameToken-7" xmlns:wsu="http://docs.oasis-open.org/wss/

    > 2004/01/oasis-200401-wss-security-utility-1.0.xsd

    > "><ser:Username>1100085294</ser:Username><ser:Password Type="http://

    > docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-

    > profile-1.0#PasswordText">9A460B80D5ADDC3A</ser:Password></

    > ser:UsernameToken></ser:Security></

    >

    soapenv:Header><soapenv:Body><ser:GetTaxHistory><ser:GetTaxHistoryReque
    st><ser:CompanyCode>Fiberweb</

    > ser:CompanyCode><ser:DocType>SalesInvoice</

    > ser:DocType><ser:DocCode>10003146</

    > ser:DocCode><ser:DetailLevel>Summary</ser:DetailLevel></

    > ser:GetTaxHistoryRequest></ser:GetTaxHistory></soapenv:Body></

    > soapenv:Envelope>

    > recvresp(): entered

    > HTTP/1.1 500 Internal Server Error

    > Content-Length: 347

    > Content-Type: text/xml; charset=utf-8

    > X-Powered-By: ASP.NET

    > Date: Sun, 02 Jun 2013 22:44:16 GMT

    > Set-Cookie:

    > TS6198e2=56dd2f8e6d21b3ff03af3e735e15ae0e15177ab9d59411ff51abcac0;

    Path=/

    > Set-Cookie:

    >

    TS6198e2_28=88ed841b8b03c5d22179b5854764541b15177ab9d59411ff00000000000
    000000051abcac0172d88fd3f7a7df8;

    > Path=/

    >

    >

    > SetError() #13: HTTP/1.1 500 Internal Server Error

    > recvresp(): end with 500

    > recvdoc parms: identity 347

    > header_load_cookies() entered

    > cookie_parse() entered

    > cookie =

    > TS6198e2=56dd2f8e6d21b3ff03af3e735e15ae0e15177ab9d59411ff51abcac0;

    Path=/

    > cookie attr

    TS6198e2=56dd2f8e6d21b3ff03af3e735e15ae0e15177ab9d59411ff51abcac0

    > cookie attr Path=/

    > cookie_parse() entered

    > cookie =

    >

    TS6198e2_28=88ed841b8b03c5d22179b5854764541b15177ab9d59411ff00000000000
    000000051abcac0172d88fd3f7a7df8;

    > Path=/

    > cookie attr

    >

    TS6198e2_28=88ed841b8b03c5d22179b5854764541b15177ab9d59411ff00000000000
    000000051abcac0172d88fd3f7a7df8

    > cookie attr Path=/

    > recvdoc(): entered

    > SetError() #0:

    > <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/

    > "><s:Body><s:Fault><faultcode xmlns:a="http://docs.oasis-open.org/

    > wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd

    > ">a:InvalidSecurity</faultcode><faultstring xml:lang="en-US">An

    > error occurred when verifying security for the message.</

    > faultstring></s:Fault></s:Body></s:Envelope>

    > SetError() #13: HTTP/1.1 500 Internal Server Error

    > http_close(): entered

    >

    > Thanks,

    > Laura Hamway

    > 757-754-1334

    > [15]www.phoenixbcinc.com

    >

    >
    -----------------------------------------------------------------------

    > This is the FTPAPI mailing list.  To unsubscribe, please go to:

    > [16]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.

References

    1. https://development.avalara.net/Tax/TaxSvc.asmx
    2. http://development.avalara.net/Tax/TaxSvc.asmx?wsdl
    3. https://development.avalara.net/Tax/TaxSvc.asmx?wsdl
    4. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
    5. mailto:lhamway@xxxxxxxxxxxxxxxx
    6. mailto:ftpapi@xxxxxxxxxxxxxxxxxxxxxx
    7. mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx
    8. http://schemas.xmlsoap.org/soap/envelope/
    9. http://avatax.avalara.com/services
   10. http://schemas.xmlsoap.org/soap/envelope/
   11. http://www.verisign.com/rpa
   12. https://www.verisign.com/rpa
   13. https://development.avalara.net/Tax/TaxSvc.asmx
   14. http://schemas.xmlsoap.org/soap/envelope/
   15. http://www.phoenixbcinc.com/
   16. 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
-----------------------------------------------------------------------