Right now I am using SOAPUI which is a SOAP testing tool that allows the testing of the methods within the wsdl. Each and every time I send a xml request I get a 301 error though. Here is the exact request and response:
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sug="http://www.sugarcrm.com/sugarcrm">
<soapenv:Header/>
<soapenv:Body>
<sug:login soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<user_auth xsi:type="sug:user_auth" xs:type="type:user_auth" xmlns:xs="http://www.w3.org/2000/XMLSchema-instance">
<!--You may enter the following 3 items in any order-->
<user_name xsi:type="xsd:string" xs:type="type:string">afadf</user_name>
<password xsi:type="xsd:string" xs:type="type:string">949eb1e708c58ef7068c848682d6 3dd9</password>
<version xsi:type="xsd:string" xs:type="type:string">5.5.0</version>
</user_auth>
<application_name xsi:type="xsd:string" xs:type="type:string" xmlns:xs="http://www.w3.org/2000/XMLSchema-instance">SugarCRM</application_name>
</sug:login>
</soapenv:Body>
</soapenv:Envelope>
HTTP/1.1 301 Moved Permanently
Date: Thu, 01 Jul 2010 17:29:15 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: (our server location)
Cache-Control: private
Content-Length: 0
Does anyone know a fix for this problem or what could possibly be causing this. Our sugarcrm server is run off of wampserver and not a windows server.
Sugar Version: 5.5.0
Sugar Edition: Community
Web Server: Apache


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks