So I fixed a couple of errors that were being spit out, now all I'm getting is an HTTP 400, anyone have any idea what's wrong? Or any ideas on how to get more information? I'm not an experienced windows admin or experienced with ASP.net StoreFront.
< POST http://192.168.122.3/ASPDNSF0/ipx.asmx
User-Agent: libwww-perl/6.05
Content-Type: application/soap+xml; charset="utf-8"
SOAPAction: "http://www.aspdotnetstorefront.com/DoItUsernamePwd"
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap12:Body>
<DoItUsernamePwd xmlns="http://www.aspdotnetstorefront.com/">
<AuthenticationEMail>admin@aspdotnetstorefront.com</AuthenticationEMail>
<AuthenticationPassword>Admin$11</AuthenticationPassword>
<XmlInputRequestString>
<ASPDotNetStorefrontImport Version="9.2">
<Product action="Add">
<Name>my product name</Name>
<SKU>1234</SKU>
<Description><![CDATA[please
add some <b>data</b>]]></Description>
</Product>
</ASPDotNetStorefrontImport>
</XmlInputRequestString>
</DoItUsernamePwd>
</soap12:Body>
</soap12:Envelope>
> HTTP/1.1 400 Bad Request
Cache-Control: private
Date: Tue, 17 Sep 2013 23:06:04 GMT
Server: Microsoft-IIS/7.0
Content-Type: text/html
Client-Date: Tue, 17 Sep 2013 21:06:04 GMT
Client-Peer: 192.168.122.3:80
Client-Response-Num: 1
Client-Transfer-Encoding: chunked
X-AspNet-Version: 2.0.50727
X-Powered-By: ASP.NET
Bad Request
The main problem is that it's basically a full sub XML document embedded in request, fully escaped. Also had a couple of elements slightly off AspDotNetStorefrontImport
.
POST http://192.168.122.3/ASPDNSF0/ipx.asmx
User-Agent: libwww-perl/6.05
Content-Length: 1368
Content-Type: application/soap+xml; charset="utf-8"
SOAPAction: "DoItUsernamePwd"
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:soap12="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap12:Body>
<DoItUsernamePwd xmlns="http://www.aspdotnetstorefront.com/">
<AuthenticationEMail>admin@aspdotnetstorefront.com</AuthenticationEMail>
<AuthenticationPassword>Admin$11</AuthenticationPassword>
<XmlInputRequestString><?xml version="1.0" encoding="utf-8"?>
<AspDotNetStorefrontImport Version="9.2">
<Entity Action="Add" EntityType="Manufacturer">
<Name>Nike</Name>
<Address1>something lane</Address1>
<Address2>somewhere</Address2>
<City>Austin</City>
<State>TX</State>
<ZipCode>78752</ZipCode>
<Country>United States</Country>
<Published>false</Published>
<Phone>1112223333</Phone>
<FAX>1112223333</FAX>
<Description><![CDATA[athletic manufactuer]]></Description>
<Display>
<XMLPackage>entity.gridwithprices.xml.config</XMLPackage>
</Display>
</Entity>
</AspDotNetStorefrontImport>
</XmlInputRequestString>
</DoItUsernamePwd>
</soap12:Body>
</soap12:Envelope>