• Sushant Batra
  • NEWBIE
  • 0 Points
  • Member since 2022

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
I am trying to set up email2Case Agentand getting this error. 
Tried almost everything but couldnt 
I will appreciate any help.


2014-11-04 12:33:04,803 [main] ERROR Failed to connect to SFDC service
com.sforce.ws.ConnectionException: Unexpected element. Parser was expecting elem
ent 'urn:partner.soap.sforce.com:passwordExpired' but found 'urn:partner.soap.sf
orce.com:metadataServerUrl'
        at com.sforce.ws.bind.TypeMapper.verifyTag(TypeMapper.java:272)
        at com.sforce.ws.bind.TypeMapper.verifyElement(TypeMapper.java:294)
        at com.sforce.soap.partner.wsc.LoginResult.loadFields(LoginResult.java:2
11)
        at com.sforce.soap.partner.wsc.LoginResult.load(LoginResult.java:203)
        at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:437)
        at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:362)
        at com.sforce.soap.partner.wsc.LoginResponse_element.loadFields(LoginRes
ponse_element.java:68)
        at com.sforce.soap.partner.wsc.LoginResponse_element.load(LoginResponse_
element.java:59)
        at com.sforce.ws.bind.TypeMapper.readSingle(TypeMapper.java:437)
        at com.sforce.ws.bind.TypeMapper.readObject(TypeMapper.java:362)
        at com.sforce.ws.transport.SoapConnection.bind(SoapConnection.java:119)
        at com.sforce.ws.transport.SoapConnection.receive(SoapConnection.java:93
)
        at com.sforce.ws.transport.SoapConnection.send(SoapConnection.java:76)
        at com.sforce.soap.partner.wsc.PartnerConnection.login(PartnerConnection
.java:734)
        at com.sforce.mail.GenericClient.login(GenericClient.java:323)
        at com.sforce.mail.GenericClient.getConnection(GenericClient.java:189)
        at com.sforce.mail.GenericClient.<init>(GenericClient.java:142)
        at com.sforce.mail.ImapClient.<init>(ImapClient.java:40)
        at com.sforce.mail.ImapSSLClient.<init>(ImapSSLClient.java:31)
        at com.sforce.mail.EmailService.loadService(EmailService.java:159)
        at com.sforce.SalesforceAgent.main(SalesforceAgent.java:138)
2014-11-04 12:33:04,833 [main] INFO  Will try 2 more time(s).
  • November 04, 2014
  • Like
  • 0