ricardoc
ricardoc

Reputation: 121

Connect to SugarCRM REST services with SoapUI

I saw somewhere in net (like SugarCRM SOAP test call fails), that some people use SoapUI to access SugarCRM SOAP or REST web services, with urls like http://ip/sugarcrm/service/v2/soap.php and http://ip/sugarcrm/service/v2/rest.php, respectively. I tried it, with 'New SoapUI Project' wizard, and putting that urls in 'Initial WSDL/WADL:". But I only get error messages:

"Error loading [http://ip/sugarcrm/service/v2/soap.php] org.apache.xmlbeans.XmlException: error: Unexpected character encountered: 'c' ", in SOAP case;

and

"Error loading [http://ip/sugarcrm/service/v2/rest.php] org.apache.xmlbeans.XmlException: error: Unexpected character encountered (lex state 8): ',' ", in REST case.

I tried with NetBeans too, like I explained in Add SugarCRM REST services to NetBeans, but the error there is different (but still get an error).

Could this be an issue of SugarCRM or am I doing something wrong?

Upvotes: 2

Views: 4873

Answers (1)

You need to use the wsdl for the SOAP service, which is found at http://ip/sugarcrm/service/v2/soap.php?wsdl

Upvotes: 4

Related Questions