0

I'm working on SOAP API.I have successfully downloaded the Enterprise WSDL of my Org and i have imported it in SOAP UI tool to test it.I have one requirement wherein i need to provide only login() method of Enterprise WSDL to my client.I was thinking to modify the WSDL XML to keep only the lines which are required for login() method and remove other lines which i don't require.Is this a good approach?

0

Yes, it is possible and will make the WSDL easier for your client to understand and result in them having to generate way less code. Another approach would be to give them the Partner WSDL instead that also has a login operation but is 8k lines long rather than the 30k lines long Enterprise WSDL.

  • Thanks @Keith.Since Enterprise WSDL is huge i'm finding it tough to trim it.Do you have any sample WSDL which has only login() method, so that i can use it for reference. – Ashish Jun 18 '19 at 7:36
  • @Ashish Sorry I don't. – Keith C Jun 18 '19 at 7:41
  • No problem.Thanks@Keith. – Ashish Jun 18 '19 at 7:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.