I am new for integration part. I have created custom WSDL for custom object. when I generate the custom WSDL for that class I got all standard object and custom objects. But I need to have custom object WSDL only. Why am getting all objects. Please can any one help me out how can I resolve this issue. Thanks in advance. Below are my classes what do I need to change:
global class kathir_WSDL {
public String vinNo { get; set; }
List<streamingAPI__vehile__c> results;
public List<streamingAPI__vehile__c>getResults() {
return results;
}
WebService static list<streamingAPI__vehile__c>search(string vinnr) {
list<streamingAPI__vehile__c>acc=[Select name, streamingAPI__Model__c,streamingAPI__Body_type__c,streamingAPI__color__c,streamingAPI__price__c from streamingAPI__vehile__c where Name =:vinnr];
system.debug('listof accounts'+acc);
return acc;
}
public void searchrelated() {
system.debug('listof varible'+vinNo);
kathir_WSDL.search(vinNo);
results=[Select Name,streamingAPI__Model__c,streamingAPI__Body_type__c,streamingAPI__color__c,streamingAPI__price__c from streamingAPI__vehile__c where Name=:vinNo];
}
}