Post date: Jul 05, 2013 11:5:8 PM
There are a few moving parts to this but the process is pretty straight forward.
Credientials.config - get username and password from QDS
<Credential UriPrefix="https://uatmilitary.quandis.net/" AuthType="Basic" Username="" Password="" Domain="" />
New Statement
SCRASelect - this will pull the same data from the contact as a select but will unmask the ssn.
I added it into configuration Entry table. Needs to be a DataReader
<Statement Name="Select" Query="SELECT * FROM Contact WHERE ContactID IN ({Where.IdList})"/>
Copy and paste the below into Contact.config
<Service Name="SCRASearch"
Type="qbo.Service.HTTP.HttpExchange, qbo.Service.HTTP"
ReturnType="Object"
RequestTransform="Templates/Contact/SCRARequest.xslt"
RequestMethod="Contact/Select?ID={ID}"
ImportFileTemplate="QDS.OrderRequest.Response.SCRA">
<Steps>
<!--Process to invoke when QDS response is returned-->
<Step Name="Product"
Type="qbo.Service.HTTP.HttpExchange, qbo.Service.HTTP"
Method=""
Parameters=""
Listeners=""
ImportFileTemplate="QDS.Product.SCRA"
CompleteStep="true"
ResponseMethod="ImportFile/Result?ID={ImportFileID}"/>
</Steps>
</Service>
Set up several IFTs:
QDS.OrderRequest.Response.SCRA
QDS.Product.SCRA
QDS.OrderRequest.Failure
These should be just pulled from the templates directory in source.
Ensure the template is set up properly
SCRARequest.xslt
Ensure that QDS is posting responses to the correct url and has a login.