hi Anirudh, I tried using .net sample but i do not succeed in getting result.So i tried using PHP Sample.Now i am succeed in getting all kind of SAML responses.Now issue is that i enabled SSO in my google apps domains.But inspite of being genuine user there is one line reply coming from google that i am not valid authorized user.Another issue is that if i disable SSO In Google control panel,it shows i had not enabled Google apps SSO.Which implies that my requests are reaching up to google.Now issue is that if you look at follwing link, http://code.google.com/apis/apps/sso/saml_reference_implementation_static_demo.html i am succeed all steps,but at last replies comes like i am not autorized user.Now another issue is that our original aim is integrating www.abc.com integrate with http://mail.abc.com .So here in aforesaid link there is series of steps to connect with google mail.Is there is any way like i put http://mail.abc.com in my any simple www.abc.com page,and any icon like mail directly redirects to Login / password/ok page to final email inbox??? if yes then what about series of steps which occurs in between?? We as developers know ,but common consumers of application just want to access simple email.Another issues is that if users of www.abc.comconsumes application via separate username and password and google apps username and password is also separate.Is there is any way using that genuine user can access his www.abc.com and http://mail.abc.com ?? if we can do then it will be wonderful use of google apps.Because this is the real intention of google apps.
On Sat, Aug 30, 2008 at 5:26 AM, Arkesh <[EMAIL PROTECTED]> wrote: > > Hi Everybody, > Could any one noticed that while runnig .NET (c# and asp) Sample for > SSO (Single sign on) application generates exception as below.I am > runnig this application over visual studio 2008.I take care all the > issues while runnnig the application > ==== > Server Error in '/' Application. > Root element is missing. > Description: An unhandled exception occurred during the execution of > the current web request. Please review the stack trace for more > information about the error and where it originated in the code. > > Exception Details: System.Xml.XmlException: Root element is missing. > > Source Error: > > Line 51: > Line 52: XmlDocument doc = new XmlDocument(); > Line 53: doc.LoadXml(result); > Line 54: > Line 55: return doc; > > > Source File: C:\projects\Google.Apps.SingleSignOn\src\SamlParser.cs > Line: 53 > > Stack Trace: > > [XmlException: Root element is missing.] > System.Xml.XmlTextReaderImpl.Throw(Exception e) +90 > System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +109 > System.Xml.XmlTextReaderImpl.ParseDocumentContent() +1954433 > System.Xml.XmlTextReaderImpl.Read() +41 > System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, > Boolean preserveWhitespace) +145 > System.Xml.XmlDocument.Load(XmlReader reader) +96 > System.Xml.XmlDocument.LoadXml(String xml) +197 > Google.Apps.SingleSignOn.SamlParser.UnpackRequest(String > packedText) in C:\projects\Google.Apps.SingleSignOn\src\SamlParser.cs: > 53 > > Google.Apps.SingleSignOn.Web.SingleSignOnDebug.SetupGoogleLoginForm(String > userName) in C:\projects\Google.Apps.SingleSignOn\web > \SingleSignOnDebug.aspx.cs:72 > Google.Apps.SingleSignOn.Web.SingleSignOnDebug.Page_Load(Object > sender, EventArgs e) in C:\projects\Google.Apps.SingleSignOn\web > \SingleSignOnDebug.aspx.cs:54 > System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, > Object o, Object t, EventArgs e) +15 > System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object > sender, EventArgs e) +33 > System.Web.UI.Control.OnLoad(EventArgs e) +99 > System.Web.UI.Control.LoadRecursive() +47 > System.Web.UI.Page.ProcessRequestMain(Boolean > includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) > +1436 > ============== > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Apps APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-apps-apis?hl=en -~----------~----~----~----~------~----~------~--~---
