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

xmlStreamReader class' sample code not working
Hello All,
I was trying to run the sample code for xmlStreamReader class from
http://www.salesforce.com/us/developer/docs/apexcode/index.htm
But when i try to save a class its giving me an error
Method does not exist or incorrect signature: [XmlStreamReader].getLocalName()
Looks like a problem with sample code of XmlStreamReader class. Does anybody faced same problem?
Or I am doing some stupid thing :smileyindifferent:
It saves for me. How are you saving your code? You may be using an older version of the API that didn't include XMLStreamReader as an available class.
Hi Ralph,
Thanks for your reply.
Initially i thought the same way. But I am trying to save that class using inbuilt development mode of Salesforce.com. So by default it uses API Version 21. But still I am not able to save the class.
Thanks,
Mandar.
That's pretty strange given that it's working for me. At this point I'd recommend creating a case with salesforce support and have the login and take a look at whats going on.