Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Salesforce Query response issue


I'm working on the following Integration scenario: ECC (Proxy) <-> PI <-> Salesforce to query Opportunity and Forecast data from Salesforce. I've managed to obtain a SessionId, create a query request message, call the webservice and receive the response message. To be able to parse and handle the response, I've created a Service Interface which contains the structure of the queryResponse message. As the queryResponse is of data type „sObject‟, I've changed the data type of QueryResponse to “OpportunityForecast__c".

However, the problem is that the QueryResult is preceded by a (LimitInfo)Header (please have a look at the file which has been attached). In the ServiceInterface definition of the response message, I can only select 1 messagetype (QueryResponse) from the Salesforce Enterprise WSDL. As this message does not contain the Header message, the Service Interface of the response message does not match the message which is coming from Salesforce.

I've tried to create and add a new Envelope message to WSDL, which contains both the Header as the QueryReponse message, but unfortunately I did manage to solve the problem. 

Does anyone recognize this problem and have an idea how to solve it?

Thanks in advance!


Capture.JPG (47422 B)
Former Member
Not what you were looking for? View more on this topic or Ask a question