Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 6 of 6

Thread: Problems with WSI Iport Tester Sample Application.

  1. #1
    andyhay is offline Junior Member
    Join Date
    Jul 2011
    Posts
    12

    Default Problems with WSI Iport Tester Sample Application.

    I am new to WSI and I am working with the sample WSI Imprt Tester

    application. I am not getting all of the returned string as XML.

    This is what I am sending.

    <AspDotNetStorefrontImport Version="7.1" Verbose = "false'">
    <Get Table = "Orders"></Get>
    <XmlPackage>DumpOrder.xml.config</XmlPackage>
    <OrderBy>OrderDate asc</OrderBy>
    <Defaultwhereclause>IsNew=1</Defaultwhereclause>
    </AspDotNetStorefrontImport>

    Hereis a partial listing of the Result which is returned. Notice

    that the string is not all converted correctly. I'm not sure why

    there are "&amp;" between attributes there shoud be spaces.
    Everythin in the RTShipRequest node is showing &lt; and &gt;

    instead of "<" and ">". Any help would be appreciated.

    <OrderTotal>402.0200</OrderTotal>
    <PaymentGateway>PAYFLOWPRO</PaymentGateway>
    <AuthorizationCode>*******</AuthorizationCode>


    <AuthorizationResult>RESULT=0&amp;PNREF=VREE4EC56E 0B&amp;RESPMSG=Ap

    proved&amp;AUTHCODE=*******&amp;AVSADDR=Y&amp;AVSZ IP=Y&amp;CVV2MATCH

    =Y&amp;HOSTCODE=00&amp;RESPTEXT=EXACT

    MATCH&amp;PROCAVS=Y&amp;PROCCVV2=M&amp;VISACARDLEV EL=G

    &amp;TRANSTIME=2010-02-12 12:04:07&amp;IAVS=N</AuthorizationResult>
    <AuthorizationPNREF>AUTH=*********</AuthorizationPNREF>
    <TransactionCommand>TRXTYPE=A&amp;TENDER=C&amp;COM MENT1=Order

    *******&amp;COMMENT2=CustomerID

    *******&amp;PWD=****&amp;USER=********&amp;VENDOR= *********

    s&amp;PARTNER=PayPal&amp;CURRENCY=USD&amp;AMT=402. 02&amp;INVNUM=100

    043&amp;BUTTONSOURCE=AspDotNetStoreFr_Cart_PRO2DP_ US&amp;ACCT=****2

    648&amp;EXPDATE=1110&amp;CSC2MATCH=***&amp;CVV2=** *&amp;SHIPTOSTREE

    T=123&amp;SHIPTOCITY=Gainesville&amp;SHIPTOSTATE=F L&amp;SHIPTOZIP=3

    2606&amp;SHIPTOCOUNTRY=US&amp;COUNTRYCODE=US&amp;F IRSTNAME=*****&a

    mp;LASTNAME=******&amp;STREET=*******&amp;CITY=Arc her&amp;STATE=FL&amp;ZIP=32618&amp;COUNTRY=US&amp; C

    USTIP=**********&amp;EMAIL=*************</Transacti

    onCommand>
    <OrderDate>2/12/2010 3:09:40 PM</OrderDate>


    <CustomerServiceNotes>
    </CustomerServiceNotes>
    <RTShipRequest>&lt;UPSRequest&gt;&lt;AccessReque st

    xml:lang="en-

    us"&gt;&lt;AccessLicenseNumber&gt;*********&lt;/AccessLicens

    eNumber&gt;&lt;UserId&gt;*********&lt;/UserId&gt;&lt;Password

    &gt;*******&lt;/Password&gt;&lt;/AccessRequest&gt;&lt;RatingService

    SelectionRequest xml:lang="en-

    US"&gt;&lt;Request&gt;&lt;RequestAction&gt;Rate&lt ;/RequestAction&g

    t;&lt;RequestOption&gt;Shop&lt;/RequestOption&gt;&lt;TransactionRef

    erence&gt;&lt;CustomerContext&gt;Rating and
    Last edited by AspDotNetStorefront Staff - Scott; 07-15-2011 at 05:05 PM. Reason: Sensitive information redacted

  2. #2
    andyhay is offline Junior Member
    Join Date
    Jul 2011
    Posts
    12

    Default

    So can anybody explain why all xml is not returned instead of &gt; and &lt;?

  3. #3
    andyhay is offline Junior Member
    Join Date
    Jul 2011
    Posts
    12

    Default

    Quote Originally Posted by andyhay View Post
    So can anybody explain why all xml is not returned instead of &gt; and &lt;?
    Do nobody is experiencing this?

  4. #4
    andyhay is offline Junior Member
    Join Date
    Jul 2011
    Posts
    12

    Default

    Quote Originally Posted by andyhay View Post
    Do nobody is experiencing this?
    So nobody in support can answere why DoItUsernamePwd does not return all XML?

  5. #5
    FurnitureGuy is offline Junior Member
    Join Date
    Nov 2005
    Location
    Massachusetts
    Posts
    9

    Default

    Were you able to resolve this problem? Same thing is happening to me in my XML results

  6. #6
    andyhay is offline Junior Member
    Join Date
    Jul 2011
    Posts
    12

    Default

    No, I never got any replies ore resoved the problem. I tried using Replce e.g. Result = Result.Replace("&lt;", "<");
    Result = Result.Replace("&gt;", ">");
    but it didn't work correctly.
    I just stared using different xml statement.

    I just used SQL to get a list of new orders and then used the following to get information for each order in my app.
    <AspDotNetStorefrontImport Version="7.1">
    <GetOrder GetAll="false" OrderNumber="100445"/>
    </AspDotNetStorefrontImport>