Results 1 to 6 of 6

Thread: error on soap.php

  1. #1
    rus
    rus is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    37

    Default error on soap.php

    Hi,

    I've got this error where I'm trying to view : http://xxx.xxx.xxx.xxx/sugarcrm/soap.php?wsdl

    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    --------------------------------------------------------------------------------

    Switch from current encoding to specified encoding not supported. Error processing resource 'http://xxx.xxx.xxx.xxx/sugarcrm...

    <?xml version="1.0" encoding="ISO-8859-1"?>

    I've been searching on this problem before, but never get satisfied solutions.
    because with this error, I can't access SugarCRM API function.
    I used SugarCRM CE ver 5.2a with MSSSQL 2005 on Windows Server 2003.

  2. #2
    rus
    rus is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    37

    Default Re: error on soap.php

    just try : http://www.sugarcrm.com/forums/showt...t=20873&page=2
    but its still not working.

  3. #3
    rus
    rus is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    37

    Default Re: error on soap.php

    I just change the code in nusoap.php file ( sugarcrm/include/nusoap folder ), replace the line 4884
    from :
    <?xml version="1.0" encoding="ISO-8859-1"?>
    to :
    <?xml version="1.0" encoding="UTF-8"?>

    it seems working now, but I still have no idea is there any effect by doing this.
    Any suggestion will be appreciated.

  4. #4
    DigiCRM is offline Senior Member
    Join Date
    Sep 2008
    Posts
    84

    Default Re: error on soap.php

    Which browser do you get this error with? Are you getting this error with a different browser? There shouldn't be a problem afaik.

  5. #5
    rus
    rus is offline Sugar Community Member
    Join Date
    Mar 2008
    Posts
    37

    Default Re: error on soap.php

    I use the IE 7.0.
    and I just notice since you mention about the browser that I'm using,

    by changing : <?xml version="1.0" encoding="ISO-8859-1"?> to : <?xml version="1.0" encoding="UTF-8"?>,
    Its fine in IE 7.0 and my application that using the service but I still get the error message if I open using Firefox (version 3.0.6) :

    "XML Parsing Error: not well-formed
    Location: http://209.108.201.37/sugarcrm/soapCustom.php?wsdl
    Line Number 1, Column 2:<?xml version="1.0" encoding="UTF-8"?>
    -^"

  6. #6
    jkuehlthau is offline Sugar Community Member
    Join Date
    Jan 2009
    Posts
    15

    Default Re: error on soap.php

    In case anyone ever stumbles on this thread as I did, the resolution I found was to run the Rebuild Config File repair item in the Admin section. "Rebuilds config.php by updating version and adding defaults when not explicitly declared"

    I received this error after restoring a v5.5.2 Professional environment to a development server. Both Production and Development are running Windows Server 2007 with SQL 2005 databases.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2009-01-22, 10:12 AM
  2. KBDocuments error in SOAP
    By JVWay in forum Developer Help
    Replies: 1
    Last Post: 2007-11-14, 06:34 PM
  3. Fatal error with Soap
    By totolac in forum Help
    Replies: 0
    Last Post: 2007-06-28, 08:12 AM
  4. xml parsing error under soap
    By sugarcare in forum Developer Help
    Replies: 8
    Last Post: 2006-10-27, 12:35 AM
  5. Soap Error in V3
    By hyperion in forum Help
    Replies: 0
    Last Post: 2005-05-02, 08:57 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
  •