function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
surendrababu ksurendrababu k 

System.CalloutException: Web service callout failed: WebService returned a SOAP Fault

Hi Team,

I am consuming external WSDL into Salesorce and it generate different Apex classes and I'm giving a End point URL as "http://api.cvent.com/soap/V200611.ASMX"in Remote site settings to call the API's. After calling the different methods in Developer console to the third party web API,I'm getting the below error:

System.CalloutException: Web service callout failed: WebService returned a SOAP Fault: INVALID_LOGIN faultcode=q0:CV10102 faultactor=http://api.cvent.com:83/soap/V200611.ASMX.

Can you please help me to overcome this error?

Regards
Surendra
Alexander TsitsuraAlexander Tsitsura
Hi surendrababu,

This error means that you use invalid credentional to your third party service. Please check you credential.

Thanks,
Alex
surendrababu ksurendrababu k
Thanks Alex for quick responce.
Yes, Now I'm able to login with correct credintials.

I'm also facing few more issues as below:
1. After Consuming the WSDL to Apex,how we need to call the data from Cvent using SOAP API?
2. After getting the response from SOAP API ,how we need to parse the response to store the data as Custom object in salesforce?
3. We need to get the data from Cvent and store it on the Salesfroce and use it on the mobile Application?

Can you please share your thoughts on above points?

Appriciate your help on this!!

Regards
Surendra
Alexander TsitsuraAlexander Tsitsura
Hi surendrababu,

For call data from Cvent you need investigate soap or generated wsdl class and Cvent SOAP API documentation. For parse data you can use  XML Parser http://developer.force.com/cookbook/recipe/parsing-xml-using-the-apex-dom-parser or JSON parser https://developer.salesforce.com/page/Getting_Started_with_Apex_JSON . Depent on returned type.

Thanks, Alex