Results 1 to 2 of 2

Thread: Unable to call SugarWSDL through XMLSPY(SoapRequest)

  1. #1
    yuvraj10 is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    18

    Default Unable to call SugarWSDL through XMLSPY(SoapRequest)

    Hi All,

    I am also facing the same problem.I am using my localhost(http:\\127.0.0.1) sugarcrm WSDL which I generate from http://127.0.0.1:90/sugarcrm/soap.php?wsdl=sugarsoap the link.I am sending SOAP request of various operations (like is_admin,Login,get_entry_list etc) through 'Altova XMLspy' tool but I didn't get expected response.In most of the methods it asking a session id as input parameter but i am not able to get from where it could be found.

    the below given code showing my Request and response of sugar wsdl.
    Request:-

    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <SOAP-ENV:Body>
    <m:login xmlns:m="http://www.sugarcrm.com/sugarcrm" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <user_auth xsi:type="m:user_auth">
    <user_name xsi:type="xsd:string">admin</user_name>
    <password xsi:type="xsd:string">sugar1</password>
    <version xsi:type="xsd:string">5.0</version>
    </user_auth>
    <application_name xsi:type="xsd:string">sugarCRM</application_name>
    </m:login>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>




    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="http://www.sugarcrm.com/sugarcrm">
    <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>

    Kindly help me if anyone have some idea how we can call sugarwsdl from external tool?


    Thanks,
    Yuvraj

  2. #2
    carmelito is offline Junior Member
    Join Date
    Mar 2008
    Posts
    2

    Default Re: Unable to call SugarWSDL through XMLSPY(SoapRequest)

    Yuvraj,

    Try and use the MD5 password in the password tag in the SOAP message.This password can be picked from the USERS table in the sugar database

    Regards
    Carmelito

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Unable to upgrade due to call time pass ref
    By agcilantro in forum Help
    Replies: 4
    Last Post: 2008-09-25, 09:42 AM
  2. Call Outcome set to "Array"
    By Deland01 in forum Help
    Replies: 7
    Last Post: 2007-06-12, 09:45 AM
  3. broken links on forcast screen
    By peter.brown in forum Help
    Replies: 0
    Last Post: 2006-10-06, 07:04 AM
  4. Call management
    By 3v3ntiq in forum Sales Force Automation
    Replies: 0
    Last Post: 2006-09-09, 12:56 PM
  5. Replies: 1
    Last Post: 2005-11-09, 10:11 AM

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
  •