<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Web Service Authentication</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Web Service Authentication</description>
  <pubDate>Wed, 10 Jun 2026 20:47:34 -700</pubDate>
  <lastBuildDate>Mon, 22 Sep 2008 10:37:00 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=940</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Web Service Authentication : Thanks for the info on LoginCredential.Domain.  Your...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3418#3418</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 940<br /><strong>Posted:</strong> 22-Sep-2008 at 10:37am<br /><br />Thanks for the info on LoginCredential.Domain.<DIV>&nbsp;</DIV><DIV>Your debug log is more than likely being written to somewhere deep below C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files.&nbsp; If you set the &lt;logFile&gt; in the ibconfig within AppHelper to a qualified path name (e.g., c:\temp\debuglog.xml), then you'll be able to easily find and use the log.</DIV>]]>
   </description>
   <pubDate>Mon, 22 Sep 2008 10:37:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3418#3418</guid>
  </item> 
  <item>
   <title>Web Service Authentication : Ok. I got it.  I assumed that...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3417#3417</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 940<br /><strong>Posted:</strong> 22-Sep-2008 at 10:18am<br /><br />Ok. I got it.<DIV>&nbsp;</DIV><DIV>I assumed that since I did not set the domain it would be String.Empty. This is not the case. The credential.Domain can not be excluded. When I added String.Empty to the domain it passed.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 22 Sep 2008 10:18:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3417#3417</guid>
  </item> 
  <item>
   <title>Web Service Authentication : And one other note:  The log...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3416#3416</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 940<br /><strong>Posted:</strong> 22-Sep-2008 at 10:12am<br /><br />And one other note:<DIV>&nbsp;</DIV><DIV>The log file is never created.</DIV>]]>
   </description>
   <pubDate>Mon, 22 Sep 2008 10:12:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3416#3416</guid>
  </item> 
  <item>
   <title>Web Service Authentication : While trying to do some further...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3415#3415</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 940<br /><strong>Posted:</strong> 22-Sep-2008 at 10:10am<br /><br /><P>While trying to do some further testing I alter the LoginManager.Login to use the sample units code. Authenticate any user with username admin pswd admin. I then changed the credentials on the test web site. This test passed and loaded the query.</P><DIV>I went back to my custom authentication, by user in user table and roles assigned. It leaves the Login method successfully but fails after that. I know that the Login method is called by the PM. What exactly happens after that? What does the calling method need that could be null?</DIV><DIV>&nbsp;</DIV><DIV>The error says something about Proxy - "<FONT color=#ff0000>IdeaBlade.Persistence.PersistenceServerException: Object reference not set to an instance of an object. ---&gt; System.NullReferenceException: Object reference not set to an instance of an object. at IdeaBlade.Persistence.RemotingPersistenceServerProxy.CheckConnection(Exception pException) at IdeaBlade.Persistence.PersistenceServerProxy.Login(ILoginCredential pCredential) at IdeaBlade.Persistence.PersistenceManager.DoLogin(ILoginCredential pCredential) at IdeaBlade.Persistence.PersistenceManager.Login(ILoginCredential pCredential) --- End of inner exception stack trace --- at IdeaBlade.Persistence.PersistenceManager.HandlePersistenceServerException(Exception pException, Boolean pTryToHandle, PersistenceOperation pOperation) at IdeaBlade.Persistence.PersistenceManager.Login(ILoginCredential pCredential) at ..." </FONT></DIV><DIV><FONT color=#000000></FONT>&nbsp;</DIV><DIV>Am I missing a proxy setting. I have verified that my ibconfig file matches the sample units ibconfig file. </DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 22 Sep 2008 10:10:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3415#3415</guid>
  </item> 
  <item>
   <title>Web Service Authentication : OK. Zip it up and send to support@ideablade.com,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3403#3403</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 940<br /><strong>Posted:</strong> 19-Sep-2008 at 2:38pm<br /><br />OK.&nbsp;&nbsp; Zip it up and send to <a href="mailto:support@ideablade.com" target="_blank">support@ideablade.com</A>, attention Kim.]]>
   </description>
   <pubDate>Fri, 19 Sep 2008 14:38:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3403#3403</guid>
  </item> 
  <item>
   <title>Web Service Authentication : The Web Service itself is not...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3400#3400</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 940<br /><strong>Posted:</strong> 19-Sep-2008 at 12:51pm<br /><br /><P>The Web Service itself is not creating a LogFile I have checked the AppHelper LogFile but it is only from the last time the app was ran. I have checked the web app and the web service and have not found the log.</P><P>I can send you the project if you like. Where to?</P>]]>
   </description>
   <pubDate>Fri, 19 Sep 2008 12:51:08 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3400#3400</guid>
  </item> 
  <item>
   <title>Web Service Authentication : I was able to successfully run...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3398#3398</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 940<br /><strong>Posted:</strong> 19-Sep-2008 at 12:26pm<br /><br />I was able to successfully run the WS app example. There are only 2 difference:<br />1. I am logging in using custom roles an users set by the app.<br />2. Using the Cabana framework<br /><br />Logging in works fne for my app.  I will post the results of the debuglog as soon as I can. It did not create the log I. The webservice by default I will check the ibconfig file for that setting]]>
   </description>
   <pubDate>Fri, 19 Sep 2008 12:26:35 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3398#3398</guid>
  </item> 
  <item>
   <title>Web Service Authentication : If you haven&amp;#039;t already, change...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3396#3396</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 940<br /><strong>Posted:</strong> 19-Sep-2008 at 12:13pm<br /><br />If you haven't already, change your &lt;logFile&gt; value in the IdeaBlade.ibconfig to a hard-coded path so that you can easily find the debuglog.xml file generated by the service.&nbsp; Then, if you could post that, or send it to support that will give us a little more to go on.<DIV>&nbsp;</DIV><DIV>Also, add some TraceFns.WriteLine statements to both your LoginManager implementation and the generated web service method (or create a new webmethod) so we can see what's going on when the problem occurs.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>And finally, were you able to successfully run the WsPublishing tutorial?</DIV>]]>
   </description>
   <pubDate>Fri, 19 Sep 2008 12:13:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3396#3396</guid>
  </item> 
  <item>
   <title>Web Service Authentication : I am attempting to add a Web Service...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3393#3393</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 940<br /><strong>Posted:</strong> 18-Sep-2008 at 2:15pm<br /><br />I am attempting to add a Web Service for an application.&nbsp; When I try and get a DataSet (<FONT size=2>mWebService.GetContactsDataSet(q, </FONT><FONT color=#2b91af size=2><FONT color=#2b91af size=2>String</FONT></FONT><FONT size=2>.Empty);) it fails. <DIV>&nbsp;</DIV><DIV>I have tried tracing the error but it does not create the error on my code it creates it after leaving Login in the LoginManager.</DIV><DIV>&nbsp;</DIV><DIV>Soap Detail Error Message:</DIV>"&lt;Exception name=\"IdeaBlade.Persistence.PersistenceServerException\" message=\"Object reference not set to an instance of an object.\" operationType=\"Login\" failureType=\"Other\" /&gt;"<DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Stack Trace:</DIV>"&nbsp;&nbsp; at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)\r\n&nbsp;&nbsp; at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object&#091;&#093; parameters)\r\n&nbsp;&nbsp; at LOC.CEMS.Webservice.Tests.CEMSWebservice.WebService.GetContactsDataSet(Query pQuery, String pDataSourceExtension) in C:\\Development\\CEMS\\NUnitTests\\LOC.CEMS.Webservice.Tests\\Web References\\CEMSWebservice\\Reference.cs:line 296\r\n&nbsp;&nbsp; at LOC.CEMS.Webservice.Tests._Default.Page_Load(Object sender, EventArgs e) in C:\\Development\\CEMS\\NUnitTests\\LOC.CEMS.Webservice.Tests\\Default.aspx.cs:line 39\r\n&nbsp;&nbsp; at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)\r\n&nbsp;&nbsp; at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)\r\n&nbsp;&nbsp; at System.Web.UI.Control.OnLoad(EventArgs e)\r\n&nbsp;&nbsp; at System.Web.UI.Control.LoadRecursive()\r\n&nbsp;&nbsp; at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)"<DIV>&nbsp;</DIV><DIV>Help would be greatly appreciated.</DIV><DIV>&nbsp;</DIV><DIV>Environment:</DIV><DIV>Webservice is a project in the solution. Created test web site app, added to solution,&nbsp;to call the web service.</DIV><DIV>&nbsp;</DIV><DIV>Code:</DIV><DIV><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">mWebService = <SPAN style="COLOR: blue">new</SPAN> CEMSWebservice.<SPAN style="COLOR: #2b91af">WebService</SPAN>();<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: #2b91af; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">LoginCredential</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"> credential = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">LoginCredential</SPAN>();<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>credential.Username = <SPAN style="COLOR: #a31515">"admin"</SPAN>;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>credential.Password = <SPAN style="COLOR: #2b91af">CryptoFns</SPAN>.MD5HashUTF16ToString(<SPAN style="COLOR: #a31515">"password"</SPAN>);<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">this</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">.mWebService.Security = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">SecurityHeader</SPAN>();<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">this</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">.mWebService.Security.UsernameToken = credential;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: #2b91af; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">Query</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"> q = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">Query</SPAN>();<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; COLOR: #2b91af; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">QueryClause</SPAN><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"> clause = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">QueryClause</SPAN>();<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">clause.ColumnName = <SPAN style="COLOR: #a31515">"InActive"</SPAN>;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">clause.ColumnValue = <SPAN style="COLOR: #a31515">"False"</SPAN>;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">q.Expressions = <SPAN style="COLOR: blue">new</SPAN> <SPAN style="COLOR: #2b91af">QueryExpression</SPAN>&#091;&#093; { clause };<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt; LINE-HEIGHT: normal; mso-layout-grid-align: n&#111;ne"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'; mso-no-proof: yes"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0in 0in 10pt"><SPAN style="FONT-SIZE: 10pt; COLOR: blue; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">this</SPAN><SPAN style="FONT-SIZE: 10pt; LINE-HEIGHT: 115%; FONT-FAMILY: 'Courier New'; mso-no-proof: yes">.mResultsGrid.DataSource = mWebService.GetContactsDataSet(q, <SPAN style="COLOR: #2b91af">String</SPAN>.Empty);</SPAN></P></DIV></FONT>]]>
   </description>
   <pubDate>Thu, 18 Sep 2008 14:15:57 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=940&amp;PID=3393#3393</guid>
  </item> 
 </channel>
</rss>