cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Leads from C4C using Soap UI?

Former Member
0 Kudos

Hi Experts,

I want to fetch all the LEADS created in C4C.

I have created communication arrangements and downloaded the WSDL file for QueryLeadsIn, Imported and requested in SOAP UI.

End point URL is:

https://myXXXXXX.crm.ondemand.com/sap/bc/srt/scs/sap/queryleadin1?sap-vhost=myXXXXXX.crm.ondemand.co...

am using XML Playload as:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:glob="http://sap.com/xi/SAPGlobal20/Global"> <soapenv:Header/> <soapenv:Body> <glob:LeadByElementsQuery_sync> <!--Optional:--> <LeadSelectionByElements> <!--Zero or more repetitions:--> <SelectionByID> <!--Optional:--> <InclusionExclusionCode>I</InclusionExclusionCode> <IntervalBoundaryTypeCode>1</IntervalBoundaryTypeCode> <!--Optional:--> <LowerBoundaryIdentifier>1</LowerBoundaryIdentifier> <!--Optional:--> <UpperBoundaryIdentifier></UpperBoundaryIdentifier> </SelectionByID> </LeadSelectionByElements> </glob:LeadByElementsQuery_sync> </soapenv:Body> </soapenv:Envelope>

But getting response as:

<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <soap-env:Header/> <soap-env:Body> <n0:LeadByElementsResponse_sync xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:L8N:/1SAI/TASFB3D76F88C5FDEEA217B:804"> <ProcessingConditions> <ReturnedQueryHitsNumberValue>0</ReturnedQueryHitsNumberValue> <MoreHitsAvailableIndicator>false</MoreHitsAvailableIndicator> </ProcessingConditions> </n0:LeadByElementsResponse_sync> </soap-env:Body> </soap-env:Envelope>

Can anyone tell me where i am doing mistake?

Please guide me with reference URLS.

Thank you and Regards

Santosh K

Accepted Solutions (0)

Answers (0)