I am currently receiving an error when doing a metadata deploy. I have the following zip file structure:
Zip (File) --> Classes (Folder) --> MyCustomWrapper.cls (Class File) --> MyCustomWrapper.cls-meta.xml (Class Metadata) --> package.xml (File)
My package.xml is structured as follows:
<?xml version="1.0" encoding="UTF-8"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <name>ApexClass</name> <members>MyCustomWrapper</members> </types> <version>35.0</version> </Package>
This is what I get when I deploy the file via the Metadata Deploy in Workbench:
Why is the deploy looking for a package.xml in the classes folder? Shouldn't it expect the package.xml to be in the root of the zip file?