zhangjixing / sfdc-wsc

Automatically exported from code.google.com/p/sfdc-wsc
0 stars 0 forks source link

Can't use DescribeAppMenu #78

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Using partner wsdl (v29) and wsc-23.jar
The authEndpoint is: https://login.salesforce.com/services/Soap/u/29.0 
(which is what i see in the partner.wsdl as well. 

config.setUsername(userName);
config.setPassword(password + secret);
config.setTraceMessage(true);
PartnerConnection connection;
 DescribeAppMenuResult allApps2 = connection.describeAppMenu(AppMenuType.AppSwitcher);

What is the expected output? What do you see instead?

It should return the describeAppMenuResult,
but instead i'm getting:
com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting 
element 'urn:partner.soap.sforce.com:name' but found 
'urn:partner.soap.sforce.com:type'

What version of the product are you using? On what operating system?
using eclipse on windows 7.

Please provide any additional information below.

Original issue reported on code.google.com by dharam...@gmail.com on 14 Nov 2013 at 7:50