SilverHoodCorp / gdata-java-client

Automatically exported from code.google.com/p/gdata-java-client
Apache License 2.0
0 stars 0 forks source link

Multi Domain Support #337

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Retrieve a Single User in a Domain
2. All MDM Support

What is the expected output? What do you see instead?
Get the user account in the specified domain

Getting user entries...

com.google.gdata.util.ParseException: [Line 1, Column 131] Invalid root 
element, expected (namespace uri:local name) of 
(http://www.w3.org/2005/Atom:feed), found (http://www.w3.org/2005/Atom:entry
    at com.google.gdata.util.XmlParser.throwParseException(XmlParser.java:730)
    at com.google.gdata.util.XmlParser.parse(XmlParser.java:693)
    at com.google.gdata.util.XmlParser.parse(XmlParser.java:576)
    at com.google.gdata.data.BaseFeed.parseAtom(BaseFeed.java:867)
    at com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:68)
    at com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:39)
    at com.google.gdata.wireformats.input.CharacterParser.parse(CharacterParser.java:100)
    at com.google.gdata.wireformats.input.XmlInputParser.parse(XmlInputParser.java:52)
    at com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:66)
    at com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:34)
    at com.google.gdata.client.Service.parseResponseData(Service.java:2165)
    at com.google.gdata.client.Service.parseResponseData(Service.java:2098)
    at com.google.gdata.client.Service.getFeed(Service.java:1136)
    at com.google.gdata.client.Service.getFeed(Service.java:998)
    at com.google.gdata.client.GoogleService.getFeed(GoogleService.java:631)
    at com.google.gdata.client.Service.getFeed(Service.java:1017)
    at com.google.gdata.client.appsforyourdomain.AppsForYourDomainService.getFeed(AppsForYourDomainService.java:137)
    at AppsProvisioning.main(AppsProvisioning.java:52)
Caused by: com.google.gdata.util.ParseException: Invalid root element, expected 
(namespace uri:local name) of (http://www.w3.org/2005/Atom:feed), found 
(http://www.w3.org/2005/Atom:entry
    at com.google.gdata.util.XmlParser.startElement(XmlParser.java:802)
    at org.xml.sax.helpers.ParserAdapter.startElement(ParserAdapter.java:597)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:453)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405)
    at com.google.gdata.util.XmlParser.parse(XmlParser.java:685)
    ... 16 more

What version of the product are you using? On what operating system?
Im using Google Apps for Business, my OS is Ubuntu 11.04 running Eclipse Helios 
with the lastest Gdata version

Please provide any additional information below.

Original issue reported on code.google.com by alejacq...@gmail.com on 4 May 2011 at 5:45