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

Thread: Is this a valid soap request

  1. #1
    jdudley is offline Member
    Join Date
    Oct 2007
    Posts
    54

    Default Is this a valid soap request

    C#/VB.NET Code:
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:asp="http://www.aspdotnetstorefront.com/">
       <
    soap:Header/>
       <
    soap:Body>
          <
    asp:DoItUsernamePwd>
             <
    asp:AuthenticationEMail>Jason@email.com</asp:AuthenticationEMail>
             <
    asp:AuthenticationPassword>password</asp:AuthenticationPassword>
             <
    asp:XmlInputRequestString>
                 <
    AspDotNetStorefrontImport Verbose="false">
                 <
    Get Table="Orders" Name="NewOrders">
                 <
    XmlPackage>DumpOrder.xml.config</XmlPackage>
                 <
    OrderBy>OrderDate asc</OrderBy>
                 <
    Criteria IsNew="1"/>
                 </
    Get>
                 </
    AspDotNetStorefrontImport>
                 </
    asp:XmlInputRequestString>
          </
    asp:DoItUsernamePwd>
       </
    soap:Body>
    </
    soap:Envelope
    I get an error Bad Request 400
    Last edited by jdudley; 03-29-2010 at 08:36 AM.

  2. #2
    jdudley is offline Member
    Join Date
    Oct 2007
    Posts
    54

    Default

    For anyone else using Soap UI the correct SOAP request is this
    C#/VB.NET Code:
    <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:asp="http://www.aspdotnetstorefront.com/">
       <
    soap:Header/>
       <
    soap:Body>
          <
    asp:DoItUsernamePwd>
             <!--
    Optional:-->
             <
    asp:AuthenticationEMail>jason@sageisland.com</asp:AuthenticationEMail>
             <!--
    Optional:-->
             <
    asp:AuthenticationPassword>f=79zZ=Q</asp:AuthenticationPassword>
             <!--
    Optional:-->
             <
    asp:XmlInputRequestString>
                &
    lt;AspDotNetStorefrontImport&gt;
                    &
    lt;Get Table="Orders" Name="NewOrders"&gt;
                        &
    lt;XmlPackage&gt;DumpOrder.xml.config&lt;/XmlPackage&gt;
                        &
    lt;OrderBy&gt;OrderDate asc&lt;/OrderBy&gt;
                        &
    lt;Criteria IsNew="1"/&gt;
                    &
    lt;/Get&gt;
                &
    lt;/AspDotNetStorefrontImport&gt;
        </
    asp:XmlInputRequestString>
          </
    asp:DoItUsernamePwd>
       </
    soap:Body>
    </
    soap:Envelope

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

    Thumbs up

    Quote Originally Posted by jdudley View Post
    For anyone else using Soap UI the correct SOAP request is this
    Good to know, thanks!

  4. #4
    MarcJ is offline Senior Member
    Join Date
    Jan 2008
    Posts
    129

    Default

    Hope that's not your real password in there.