You need to sign in to do that
Don't have an account?

Login fail with StreamingClientExample
Just going through the sample describe in Force.com Streaming API developer guide. I have created the Push Topic and sucessfully tested on Workbench. Now want to see if I can have external java client to receive the same notification message.
So I get all the jar file and sample code into eclipse. Changed the user and password. But cannot seem to get it going. Keep getting login fail. What other step do i need to get this example running?
Running streaming client example....
Login Failed!
<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sf="urn:fault.partner.soap.sforce.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><soapenv:Body><soapenv:Fault><faultcode>UNKNOWN_EXCEPTION</faultcode><faultstring>UNKNOWN_EXCEPTION: Element type "soapenv:Envelope" must be followed by either attribute specifications, ">" or "/>".</faultstring><detail><sf:UnexpectedErrorFault xsi:type="sf:UnexpectedErrorFault"><sf:exceptionCode>UNKNOWN_EXCEPTION</sf:exceptionCode><sf:exceptionMessage>Element type "soapenv:Envelope" must be followed by either attribute specifications, ">" or "/>".</sf:exceptionMessage></sf:UnexpectedErrorFault></detail></soapenv:Fault></soapenv:Body></soapenv:Envelope>
I got the same error, anyone has solved the problem?