Open GoogleCodeExporter opened 8 years ago
Susan. Just an FYI Revision 9 is a branch of the trunk that is a work in
progress and still needs to go under code review and testing with the other
project members. The branch uses different methods other than defined here in
the project to get the WSDL file appropriately.
Otherwise, I could use some more details in order to assist you.
Have you done the following?
1) You have generated the WSDL in Salesforce, downloaded the enterprise.wsdl
file, and saved it to the wsdl/ folder in the project? Steps to do so here
[http://www.salesforce.com/us/developer/docs/api/Content/sforce_api_quickstart_s
teps.
htm]. Be sure to save it to the wsdl/ folder as "enterprise.wsdl".
2) Under the wsdl/ folder is a .bat file called go-wsdl.bat. Edit the file and
change the "C:\Clientwork\SalesforceDotNet\wsdl\enterprise.wsdl" to to PATH of
your project e.g. "C:\Path\To\My\Project\wsdl\", for you in this case it would
be C:\inetpub\wwwroot\salesforceAPI\wsdl\. Once this is done go-wsdl.bat will
automatically create the SforceService.cs code needed by the
Gaiaware.Salesforce.Core project.
3) Save the SforceService.cs generated in the wsdl/ folder to the
Gaiaware.Salesforce.Core project.
4) Rebuild.
As a side note I would recommend not creating a Service Reference to the wsdl
Web Service. Use the following above with the "C:\Program Files\Microsoft
Visual Studio 8\SDK\v2.0\Bin\wsdl.exe" tool to create the CSharp classes for
you.
If this still does not work? I recommend you SVN switch back to the trunk/, and
I can provide you with .cs files that use the AssignmentRuleHeaders if that is
what you are looking to use. Again this Revision 9 is a branch.
Original comment by mteece@gmail.com
on 12 Jul 2010 at 3:25
Original issue reported on code.google.com by
susanspa...@googlemail.com
on 11 Jul 2010 at 1:04