Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Facing Parsing issue while using the connector #15

Open
kapil9186 opened this issue Jan 5, 2017 · 0 comments
Open

Facing Parsing issue while using the connector #15

kapil9186 opened this issue Jan 5, 2017 · 0 comments

Comments

@kapil9186
Copy link

Hi,

I am facing below error when trying to run the java -jar salesforce2hadoop-assembly-1.2.jar init command ,providing all the parameters.

I validated the wsdl file and can see the element are present there.

Thanks

Exception in thread "main" com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:orgDisallowHtmlAttachments' but found 'urn:partner.soap.sforce.com:orgDefaultCurrencyLocale'
at com.sforce.ws.bind.TypeMapper.verifyTag(TypeMapper.java:417)
at com.sforce.ws.bind.TypeMapper.verifyElement(TypeMapper.java:446)
at com.sforce.soap.partner.GetUserInfoResult.loadFields(GetUserInfoResult.java:582)
at com.sforce.soap.partner.GetUserInfoResult.load(GetUserInfoResult.java:559)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:537)
at com.sforce.soap.partner.LoginResult.loadFields(LoginResult.java:236)
at com.sforce.soap.partner.LoginResult.load(LoginResult.java:204)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:537)
at com.sforce.soap.partner.LoginResponse_element.loadFields(LoginResponse_element.java:64)
at com.sforce.soap.partner.LoginResponse_element.load(LoginResponse_element.java:56)
at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664)
at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:537)
at com.sforce.ws.transport.SoapConnection.bind(SoapConnection.java:174)
at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:148)
at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:99)
at com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.java:1349)
at com.sforce.soap.partner.PartnerConnection.(PartnerConnection.java:405)
at com.sforce.soap.partner.Connector.newConnection(Connector.java:27)
at co.datadudes.sf2hadoop.SalesforceService$.apply(SalesforceService.scala:54)
at co.datadudes.sf2hadoop.SFImportCLIRunner$.handleCommand(SFImportCLIRunner.scala:49)
at co.datadudes.sf2hadoop.SFImportCLIRunner$.delayedEndpoint$co$datadudes$sf2hadoop$SFImportCLIRunner$1(SFImportCLIRunner.scala:39)
at co.datadudes.sf2hadoop.SFImportCLIRunner$delayedInit$body.apply(SFImportCLIRunner.scala:10)
at scala.Function0$class.apply$mcV$sp(Function0.scala:40)
at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.App$$anonfun$main$1.apply(App.scala:76)
at scala.collection.immutable.List.foreach(List.scala:381)
at scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
at scala.App$class.main(App.scala:76)
at co.datadudes.sf2hadoop.SFImportCLIRunner$.main(SFImportCLIRunner.scala:10)
at co.datadudes.sf2hadoop.SFImportCLIRunner.main(SFImportCLIRunner.scala)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant