Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • ONESOURCE /
  • Indirect Tax /
avatar image
Question by mphilip · Aug 03, 2017 at 04:12 PM · Updatesecurityheaderonesourceweb services

Security Header update

We currently integrate with Web Service: 2011-09-01, and we are in the process of updating the security header to include the Type attribute to the Password element.

The current end point we use is :

https://idtlab-uat.hostedtax.thomsonreuters.com/sabrix/services/taxcalculationservice/2011-09-01/

Notice it says 2011-09-01. When referring to the playbook available from this portal this is the end point that is specified

https://partnerdev2-uat.hostedtax.thomsonre uters.com/sabrix/services/taxservice/2009-12 -20/taxservice

Based on playbook, and security header update documentation I updated the request to incluide the following:

- Attribute Type to Password element

- Added TimeStamp element

<soapenv:Envelope xmlns:ns="http://www.sabrix.com/services/taxcalculationservice/2011-09-01"; xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">;
<soapenv:Header>
<wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"; soapenv:mustUnderstand="1">
<wsse:UsernameToken>
<wsse:Username>DevCom</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">4TaxCalc</wsse:Password>;
<wsu:Timestamp wsu:Id="Timestamp-1">
<wsu:Created>2017-08-06T15:03:06.021Z</wsu:Created>
<wsu:Expires>2017-08-06T16:08:06.021Z</wsu:Expires>
</wsu:Timestamp>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<ns:taxCalculationRequest xmlns:ns="http://www.sabrix.com/services/taxcalculationservice/2011-09-01">;
<ns:INDATA version="G">
<ns:COMPANY_NAME>SciQuest</ns:COMPANY_NAME>
<ns:EXTERNAL_COMPANY_ID>DevCom_US</ns:EXTERNAL_COMPANY_ID>
<ns:INVOICE>
<ns:CALCULATION_DIRECTION>F</ns:CALCULATION_DIRECTION>
<ns:COMPANY_ROLE>S</ns:COMPANY_ROLE>
<ns:CURRENCY_CODE>USD</ns:CURRENCY_CODE>
<ns:INVOICE_DATE>2014-08-26</ns:INVOICE_DATE>
<ns:INVOICE_NUMBER>353027</ns:INVOICE_NUMBER>
<ns:TRANSACTION_TYPE>GS</ns:TRANSACTION_TYPE>
<ns:USER_ELEMENT>
<ns:NAME>ATTRIBUTE3</ns:NAME>
<ns:VALUE>Blanket order test</ns:VALUE>
</ns:USER_ELEMENT>
<ns:USER_ELEMENT>
<ns:NAME>ATTRIBUTE2</ns:NAME>
<ns:VALUE>Blanket order test</ns:VALUE>
</ns:USER_ELEMENT>
<ns:USER_ELEMENT>
<ns:NAME>ATTRIBUTE1</ns:NAME>
<ns:VALUE>Blanket order test</ns:VALUE>
</ns:USER_ELEMENT>
<ns:LINE ID="1">
<ns:COMMODITY_CODE />
<ns:DESCRIPTION>test</ns:DESCRIPTION>
<ns:GROSS_AMOUNT>121.0</ns:GROSS_AMOUNT>
<ns:LINE_NUMBER>1</ns:LINE_NUMBER>
<ns:PRODUCT_CODE>1234</ns:PRODUCT_CODE>
<ns:SHIP_TO>
<ns:COUNTRY>US</ns:COUNTRY>
<ns:STATE>NC</ns:STATE>
<ns:CITY>Cary</ns:CITY>
<ns:POSTCODE>27513</ns:POSTCODE>
</ns:SHIP_TO>
<ns:USER_ELEMENT>
<ns:NAME>ATTRIBUTE3</ns:NAME>
<ns:VALUE>true</ns:VALUE>
</ns:USER_ELEMENT>
<ns:USER_ELEMENT>
<ns:NAME>ATTRIBUTE2</ns:NAME>
<ns:VALUE>true</ns:VALUE>
</ns:USER_ELEMENT>
<ns:USER_ELEMENT>
<ns:NAME>ATTRIBUTE1</ns:NAME>
<ns:VALUE>true</ns:VALUE>
</ns:USER_ELEMENT>
</ns:LINE>
<ns:LINE ID="2">
<ns:COMMODITY_CODE />
<ns:DESCRIPTION>test</ns:DESCRIPTION>
<ns:GROSS_AMOUNT>132.0</ns:GROSS_AMOUNT>
<ns:LINE_NUMBER>2</ns:LINE_NUMBER>
<ns:PRODUCT_CODE>1234</ns:PRODUCT_CODE>
<ns:SHIP_TO>
<ns:COUNTRY>US</ns:COUNTRY>
<ns:STATE>NC</ns:STATE>
<ns:CITY>Cary</ns:CITY>
<ns:POSTCODE>27513</ns:POSTCODE>
</ns:SHIP_TO>
<ns:USER_ELEMENT>
<ns:NAME>ATTRIBUTE3</ns:NAME>
<ns:VALUE>true</ns:VALUE>
</ns:USER_ELEMENT>
<ns:USER_ELEMENT>
<ns:NAME>ATTRIBUTE2</ns:NAME>
<ns:VALUE>true</ns:VALUE>
</ns:USER_ELEMENT>
<ns:USER_ELEMENT>
<ns:NAME>ATTRIBUTE1</ns:NAME>
<ns:VALUE>true</ns:VALUE>
</ns:USER_ELEMENT>
</ns:LINE>
</ns:INVOICE>
</ns:INDATA>
</ns:taxCalculationRequest>
</soapenv:Body>
</soapenv:Envelope>

In SoapUI when I try to send this response to the end point : https://partnerdev2-uat.hostedtax.thomsonre uters.com/sabrix/services/taxservice/2009-12 -20/taxservice

I do not get a response, SoapUI displays "Error getting response."

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Dipti.Arora · Aug 03, 2017 at 05:24 PM

@mphilip Could you please email us the corresponding xml at IDTDevelopmentPartnerProgram@thomsonreuters.com so that we can take a look. Thanks.

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Dipti.Arora ♦♦ · Sep 12, 2017 at 01:07 PM 0
Share

This request was a specific scenario on Tax calculation Service and was resolved with our Partner. In the future we will have troubleshooting topics within our API family that may help community members. Thank you.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.
  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges