- Home
- Technical Library
- Boards
- Cookbook
- Code Share
- Blogs
- Partners
-
More
-
Services
- Training & Certification
- Support
-
Galleries
- Force.com Sites Gallery
- Chatter Challenge Entries
-
Other Web Sites
- Salesforce.com
- Database.com
- AppExchange
- CRM Community
-
Add Recipe
App Distribution (13)
Bundle logic, interface and services for distribution.
App Logic (52)
The Apex programming language, workflow and formulas for logic.
Collaboration (7)
The Salesforce Chatter collaboration platform.
Database (29)
Data persistence, reporting and analytics.
Integration (57)
Web Service APIs and toolkits for integration.
Security (22)
Platform, application and data security.
Tools (17)
Force.com tooling
User Interface (38)
Visualforce MVC and metadata-drive user interfaces.
Web Sites (13)
Public web sites and apps with optional user registration and login.
Beta Feedback
Recipes by Category
App Distribution (13)
Bundle logic, interface and services for distribution.
App Logic (52)
The Apex programming language, workflow and formulas for logic.
Collaboration (7)
The Salesforce Chatter collaboration platform.
Database (29)
Data persistence, reporting and analytics.
Integration (57)
Web Service APIs and toolkits for integration.
Security (22)
Platform, application and data security.
Tools (17)
Force.com tooling
User Interface (38)
Visualforce MVC and metadata-drive user interfaces.
Web Sites (13)
Public web sites and apps with optional user registration and login.
Cookbook Home » Calling Salesforce Web Services Using Apex
Share
X
Vote to Verify a Recipe
Verifying a recipe is a way to give feedback to others and broaden your own understanding of the capabilities on Force.com. When you verify a recipe, please make sure the code runs, and the functionality solves the articulated problem as expected.
Please make sure:- All the necessary pieces are mentioned
- You have tested the recipe in practice
- Have sent any suggestions for improvements to the author
Please Log in to verify a recipe
You have voted to verify this recipe.
© Copyright 2000-2011 salesforce.com, inc. Web-based Customer Relationship Management (CRM) Software-as-a-Service (SaaS).
All rights reserved Various trademarks held by their respective owners.
All rights reserved Various trademarks held by their respective owners.
Salesforce.com, inc. The Landmark @ One Market, Suite 300, San Francisco, CA, 94105, United States
General Enquiries: 415-901-7000 | Fax: 415-901-7040 | Sales: 1-800-no-software
General Enquiries: 415-901-7000 | Fax: 415-901-7040 | Sales: 1-800-no-software

Recipe Activity - Please Log in to write a comment
Nice!... But I'd really like to do the same with the Enterprise wsdl... can you?
I get a different erros, as noted above by Ponybai.
Thanks
David
It's wonderful!
I have successfully import Parter WSDL and Apex WSDL.
But when I import Enterprise WSDL and Metadata WSDL,there have error happened.
ERROR MESSAGE:
Apex Generation Failed
Unsupported schema type: {http://www.w3.org/2001/XMLSchema}anyType
Apex Generation Failed
Class name 'Metadata' already in use. Please edit WSDL to remove repeated names
Awesome!!
Nicely written recipe and just what I was looking for to link a few of my orgs together!
i was thinking if something like this is possible since long. and it is. thanks for the recipe. :)
Very interesting recipe Luke. I tried to use metadata api in apex. i was able to create the apex code with some tweaks in wsdl. but the structure, i believe is not what i expected. If I create the stub in java every metadata type "extends Metadata". but here in apex, it does not.so again we need to change a few thing in the apex code. now after doing all this, when i tried to create a metadata component, say a field, it shows me an error, "Must specify a {http://www.w3.org/2001/XMLSchema-instance}type attribute value for the {http://soap.sforce.com/2006/04/metadata}metadata element".
I tried searching on community but couldn't find any specific solution. could you guide me in right direction pls. Thanks