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 2 of 2

Thread: WSI Response CDATA Issue

  1. #1
    sduffy77 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Lancaster, PA
    Posts
    142

    Default WSI Response CDATA Issue

    Hello all,
    So I got a request to return the response with no CDATA tags in the DOITRepsonse.

    For example:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
    <DoItResponse xmlns="http://www.aspdotnetstorefront.com/">
    <DoItResult>
    <AspDotNetStorefrontImportResult Version="" DateTime="4/22/2010

    1:51:22 PM"><Query

    Name="string"><string><ProductID>1</ProductID><VariantID>1</VariantID></string></Query></AspDotNetStorefrontImportResult>
    </DoItResponse>
    </soap:Body>
    </soap:Envelope>

    How can I make that happen?

  2. #2
    sduffy77 is offline Senior Member
    Join Date
    Feb 2010
    Location
    Lancaster, PA
    Posts
    142

    Default

    Ok, my fix was a extend the web service function of DoIt to return an XMLDocument instead of a string.