You need to sign in to do that
Don't have an account?

What package does Attachment belong too?
Hi All,
I am trying to insert an attachment into Salesforce and i guess "Attachment" object is to be used to get this done. But i am not able to figure out the package which it belongs too. Could anybody please name the full package for Attachment class?
Any help would be deeply appreciated. Thanks.
that would depend on what tools you're using and how they're configured, but try com.sforce.soap.enterprise.sobject as a starting point.

Managed to get it working, by using SObject to create a Map for the Attachment. And i am in fact using Partner WSDL. So enterprise WSDL is probably not an option for me. Thanks for the help.
Right, there is no attachment class in the partner WSDL (this being the point of the partner WDSL).