Results 1 to 3 of 3

Thread: SOAP API Login Failiure

  1. #1
    myunus is offline Junior Member
    Join Date
    Dec 2006
    Posts
    3

    Default SOAP API Login Failiure

    I am evaluating SugarCRM and am very interested in its SOAP/WSDL API. After registering for an on line eval account, I was able to access the WSDL from the URI: http://eval.sugarondemand.com/xxxx/soap.php?wsdl where xxxx is my account name.

    I successfully loaded this into a .NET test client (SOAPSonar) and attempted to send a login request. However, I get a user/password incorrent SOAP response. I did use an MD5 hash of my password.

    Question 1: Am I allowed to do SOAP-based messaging in using the 30 day eval. I know I can access the WSDL and I am getting SOAP responses.

    Question 2: Are there any flags that I have to set in Sugar CRM web-console before I can do a simple login.

    Question 3: Can I use user_name: admin account for this?


    Additonal Information:

    SOAP Inputs:

    user_name=admin
    password=md5 hash value
    version= 0.1
    application_name=none.

    SOAP Response
    <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.sugarcrm.com/sugarcrm"><SOAP-ENV:Body><ns1:loginResponse xmlns:ns1=""><return xsi:type="tns:set_entry_result"><id xsi:type="xsd:string">-1</id><error xsi:type="tns:error_value"><number xsi:type="xsd:string">10</number><name xsi:type="xsd:string">Invalid Login</name><description xsi:type="xsd:string">Login attempt failed please check the username and password</description></error></return></ns1:loginResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

  2. #2
    rog211's Avatar
    rog211 is offline Sugar Team Member
    Join Date
    Jun 2005
    Posts
    320

    Default Re: SOAP API Login Failiure

    Hi myunus, be sure to md5 your password before you send it to the server.
    Rog
    Roger R. Smith
    Application Architect
    SugarCRM Inc.

  3. #3
    manisingla is offline Junior Member
    Join Date
    Sep 2010
    Posts
    3

    Default Re: SOAP API Login Failiure

    Hi Rog211,

    I am connecting sugarcrm with soap api. Every thinng is working fine at my local end . But I am having problem when i connect online with my client's server. Username and password are verified. and password is encripted. Is there any setting any in sugarcrm for soap connection. What should be my application name. Or it can be any.

    Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •