You need to sign in to do that
Don't have an account?
kathir Ravan
How can i get custom wsdl for particular object only
I am new for integration part. I have been created for 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. Here below my classes what need do i changes..
Nikitha
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]; } }Thanks,
Nikitha
There are two ways of doing this
You can manually remove the irrelevant object definitions from the WSDL before sending the WSDL to your client.
Another way is to create your APEX class and return it, but you will have to modify it whenever Sobject changes.
Best Regards
Naga kiran