com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:orgDisallowHtmlAttachments' but found 'urn:partner.soap.sforce.com:orgDefaultCurrencyLocale'

GitHub | kapil9186 | 1 month ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Facing Parsing issue while using the connector

    GitHub | 1 month ago | kapil9186
    com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:orgDisallowHtmlAttachments' but found 'urn:partner.soap.sforce.com:orgDefaultCurrencyLocale'
  2. 0

    Salesforce connector exception

    Salesforce | 3 months ago | amcep123
    com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting element 'urn:enterprise.soap.sforce.com:orgDefaultCurrencyLocale' but found 'urn:enterprise.soap.sforce.com:orgDisallowHtmlAttachments'
  3. 0

    Unable Login To Sfdc Org Using Bulk Api Java Code

    Salesforce | 3 weeks ago | Vinay Vullakula
    com.sforce.ws.ConnectionException: unable to find end tag at: START_TAG seen ...</orgDefaultCurrencyIsoCode><orgDefaultCurrencyLocale>... @1:930
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable Login To Sfdc Org(using partner wsdl) Using Bulk Api Java Code

    Salesforce | 3 weeks ago | Vinay Vullakula
    com.sforce.ws.ConnectionException: unable to find end tag at: START_TAG seen ...... @1:930
  6. 0

    Salesforce Hacks: Building the Partner.jar API file

    blogspot.com | 11 months ago
    com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting element 'urn:partner.soap.sforce.com:searchable' but found 'urn:partner.soap.sforce.com:searchLayoutable'

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. force-wsc
      TypeMapper.verifyElement
      1. com.sforce.ws.bind.TypeMapper.verifyTag(TypeMapper.java:417)
      2. com.sforce.ws.bind.TypeMapper.verifyElement(TypeMapper.java:446)
      2 frames
    3. force-partner-api
      GetUserInfoResult.load
      1. com.sforce.soap.partner.GetUserInfoResult.loadFields(GetUserInfoResult.java:582)
      2. com.sforce.soap.partner.GetUserInfoResult.load(GetUserInfoResult.java:559)
      2 frames
    4. force-wsc
      TypeMapper.readObject
      1. com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664)
      2. com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:537)
      2 frames
    5. force-partner-api
      LoginResult.load
      1. com.sforce.soap.partner.LoginResult.loadFields(LoginResult.java:236)
      2. com.sforce.soap.partner.LoginResult.load(LoginResult.java:204)
      2 frames
    6. force-wsc
      TypeMapper.readObject
      1. com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664)
      2. com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:537)
      2 frames
    7. force-partner-api
      LoginResponse_element.load
      1. com.sforce.soap.partner.LoginResponse_element.loadFields(LoginResponse_element.java:64)
      2. com.sforce.soap.partner.LoginResponse_element.load(LoginResponse_element.java:56)
      2 frames
    8. force-wsc
      SoapConnection.send
      1. com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:664)
      2. com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:537)
      3. com.sforce.ws.transport.SoapConnection.bind(SoapConnection.java:174)
      4. com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:148)
      5. com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:99)
      5 frames
    9. force-partner-api
      Connector.newConnection
      1. com.sforce.soap.partner.PartnerConnection.login(PartnerConnection.java:1349)
      2. com.sforce.soap.partner.PartnerConnection.<init>(PartnerConnection.java:405)
      3. com.sforce.soap.partner.Connector.newConnection(Connector.java:27)
      3 frames
    10. co.datadudes.sf2hadoop
      SFImportCLIRunner$delayedInit$body.apply
      1. co.datadudes.sf2hadoop.SalesforceService$.apply(SalesforceService.scala:54)
      2. co.datadudes.sf2hadoop.SFImportCLIRunner$.handleCommand(SFImportCLIRunner.scala:49)
      3. co.datadudes.sf2hadoop.SFImportCLIRunner$.delayedEndpoint$co$datadudes$sf2hadoop$SFImportCLIRunner$1(SFImportCLIRunner.scala:39)
      4. co.datadudes.sf2hadoop.SFImportCLIRunner$delayedInit$body.apply(SFImportCLIRunner.scala:10)
      4 frames
    11. Scala
      App$class.main
      1. scala.Function0$class.apply$mcV$sp(Function0.scala:40)
      2. scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
      3. scala.App$$anonfun$main$1.apply(App.scala:76)
      4. scala.App$$anonfun$main$1.apply(App.scala:76)
      5. scala.collection.immutable.List.foreach(List.scala:381)
      6. scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
      7. scala.App$class.main(App.scala:76)
      7 frames
    12. co.datadudes.sf2hadoop
      SFImportCLIRunner.main
      1. co.datadudes.sf2hadoop.SFImportCLIRunner$.main(SFImportCLIRunner.scala:10)
      2. co.datadudes.sf2hadoop.SFImportCLIRunner.main(SFImportCLIRunner.scala)
      2 frames