• SCYForce1
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies

Hi,

 I am using the declarative approach for creating the custom Objects in force.com through Metadata API's. Am facing an unique problem, In declarative approach entire object details will be in an XML file and we need to create a "Zip" package and pass this Zip Package file as input to "Deploy()" method. creation of Zip file can be done in 2 ways,

1. by using the "WinZip" tool.

2. Programmatically by using "Java.util.Zip" package.

If the zip file is created manually using the WinZip tool and if that file is passed as input parm to "Deploy()" method then object creation is successful. if we pass in the Zip file that is created programmatically to "Deploy()" method, method returns true which indicates that operation is successful, but custom objects are not getting created on the force.com.

There is no way to check if the web service method "Deploy()" has successfully processed the request or not. Any thoughts/solutions for this problem.

 

Regards

Sara