Web Forms :: Webservice Autenticacion Forefront Tmg?
Mar 16, 2010
I have a web sevice using windows securitybasic type, published in a Forefront TMG and I work well: example of code
[Code]....
however, this code will not work if I have the Forefront TMG instead of "basic" change it to "form"Error displayed;The request failed with an empty responseheader:
(Connection: close
Content-Length: 0
Location: https: / / servername / CookieAuth.dll? GetLogon? Curl = Z2Fagm_xxx.asmx & reason = 0 & Formda = 3
Set-Cookie: cadata6827CB10C3EB4FE98B62C7ACD49118E7 =; path = /; expires = Thu, 01-Jan-1970 00:00:00 GMT
)
I get this error before getting the service.my question is how can I send the credentials to the fore front tmg?
View 1 Replies
Similar Messages:
Jul 12, 2010
I have a popup window that is displayed from the main form. I use a timer to refresh the data in an update panel on the popup page. The users keep the page open but ypically go back to the main page which then covers the popup. The problem I'm having is every time the timer event occurs, the popup page jumps to the forefront. How can I perform the updates without the page coming into focus automatically?
View 3 Replies
Mar 19, 2011
am absolutely clueless on this. I've been told that the web application I'm building (.net 4 / mvc3 / c# / sql server) will be "sitting behind UAG so we can silently authenticate". I've no idea now how to approach the authentication part of the build in my dev environment. Should I just use "windows authentication"? Will that be the required setting when the application goes live? How do I test the authentication?The people asking me to do this are currently just getting started with UAG too do so any help, pointers, .To put the situation in context, this application will be accessible via the company network internally, and also via the web externally (via UAG portal, of course). The company is on Active Directory, and all I actually need to "pull through" to the application to get further people entity data is the AD username.
View 1 Replies
Aug 5, 2010
In Visual Studio 2008 I have a Class Library project (called Media) to which I added a Web Reference (not a Service Reference) to a third-party web service (wsdl). In the Class Library project a proxy class is created for using the service along with several classes for the types used in that service.
I also have a second Class Library (called Sync) that references the first one. And then I have a Web Site project that references the second class library. All of this is .NET 3.5
So Web Site > Class Library (Sync) > Class Library with web service reference (Media)
I want to step into the generated code, so I fire up the web site in IIS 7.5 and trigger the call to a method in the second class library (Sync) that in turn should call the web service proxy. I was fully expecting to hit the breakpoint, but instead got an exception:
Unable to generate a temporary class(result=1). error CS0029: Cannotimplicitly convert type Media.WebService.multiValuedAttribute to Media.WebService.multiValuedAttribute[]
Why is ASP.NET trying to generate a temporary class? Don't I already have the generated class from the first Class Library (Media)?
View 1 Replies
Jan 5, 2014
We have sql database for more than 50,000 subscribers with us. Now many people approaching us to get our database access and wants to integrate it with their website through API or webservices.
My requirement is how can develop webservices or API of my sql database so other companies can integrate it with their website and access our updated database.
View 1 Replies
Mar 9, 2011
provide me the cascading dropdown code upto 3 levels without using the WebService .
View 1 Replies
Jan 27, 2010
In my application, i want to do URL encoding And Decoding in my webservice. how i will do encoding and decoding.
View 4 Replies
Mar 16, 2011
I have several JS proxies generated on the page through using code like:
scriptManager.Services.Add(new ServiceReference("~/Service.asmx"));
This code generates the following JS proxy on ASPX page where it is used:
<script src="../../Service.asmx/js" type="text/javascript"></script>
This file is not being cached in browser cache. I checked in firebug and in header it says:
Cache control: private
All other JS and CSS files are being cached with "Cache-Control: public,max-age=8640000". In web.config I have:
<staticContent>
<clientCache cacheControlCustom="public" cacheControlMode="UseMaxAge" cacheControlMaxAge="100.00:00:00" />
</staticContent>
How can I get JS Proxy files to cache?
View 1 Replies
Oct 27, 2010
Is it possible to Pass the Folder through webservice?
View 2 Replies
May 7, 2015
I am using following webmethod
[WebMethod]
public DataSet GetData()
{
List<City> city = new List<City>();
DataSet ds = new DataSet();
[CODE]...
But it give error like
Error - xml parsing error syntax error line number 1 column 1 in asp.net
View 1 Replies
Mar 25, 2011
I have a number of dropdownlists which use cascading dropdownlist / webservices. All fine. Now user wants last dropdown to be multi-select. So I want to replace the last dropdownlist with a listbox. But there is no cascadinglistbox. I'm looking for a straight-forward solution if possible. Either how to fill the listbox with the existing webservice which fills the last dropdownlist, or - is it possible to use the contrents of the last dropdown as a datasource for the listbox? I thought maybe hide the last dropdown and loop through its contents to fill the listbox.
View 2 Replies
Feb 15, 2011
My project use asp.net web form, and I code it with masterpage, page and mutil webcontrol to render a web page. A problem, request it slowly. I want to increase performace. I use webservice to request data, whole web control has code to request data from webservice.
I review code, and I think if my web used webservice pooling to render a webpage. But I haven't know how to code better, remove all webcontrol, and move their code to create a web page like asp web page (not asp.net)! using only one webservice to request data...
View 1 Replies
Nov 10, 2010
I have simple webservice method.
from my asp.net page i'm asynchronously invoking that method. and i have some code logic which shoudl be executed once the Async call is completed. but HelloWorldCompleted is never fired.
[Code]....
[Code]....
View 1 Replies
Jan 4, 2011
I wrote a webservice that returns an array of Strings. Below is the code for the webservice:
WebMethod()> _
Public Function CheckNotices(ByVal UserId As String) As String()
' Dim time As String = Now.Date.ToString
Dim dt As New DataTable
Dim ob As New BLL.ClsBLL
[Code]....
View 4 Replies
Oct 26, 2012
writing name space as URI instead of HTTP URL in WebServie like this [WebService(Namespace = "http://www.samplesite.com/somepath/sth100/Service1.asmx", Name = "STHDBtoXMLWebService")]
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="soonthyehang.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
View 1 Replies
Mar 8, 2011
Is there any way to load [main] menu items in run-time? for instance using WebServices? My web application's main menu is so big and takes a long time to be loaded. So that, i want to load its items on demand. I want to load the sub-items of the menu item user is hovering.
View 1 Replies
Sep 15, 2010
I am generating a Pdf file from a webservice to local machine. Once the pdf file is saved to local machine, i would like to print this file automatically without Popping up the Print Dialogue.
I mean without any user interaction that pdf file should be printed.
View 1 Replies
Sep 22, 2010
I am new to ASP.NET but what i am trying to do is create a webservice (in C#) with a method that basically returns the IIS HTTP 202 Error Code (ACCEPTED) page.Is there any method that would automatically return this? Or would i need to write some sort of code that would cause the error message 202 to display?
View 1 Replies
Jan 5, 2011
I have an asp.net web application in which i use several we services to serve several ajax requests. The problem is how to determine whether the corresponding call comes the page that i have served.I use forms authentication in my pages. Is there any way in which i can authorise the user calling the weservice through the same forms authentication.
View 3 Replies
Oct 9, 2012
I have created a asmx web service.The service will interact with SQL Server database to Get, Insert and Update of some tables in my db.I have one Service method called AddItem which takes a class object as parameter. with that parameter I am inserting the values into the database. In the same way I have another service method that Gets all the Items from db using the same class and returns the class object as the return type for my service.
Here is my sample AddItem() and GetAllItems() prototype
Collapse | Copy Code
View 1 Replies
May 7, 2015
I have deployed my webservice in server it shows the error like "Parser Error Message: Could not create type 'WebServiceFB'" ....
View 1 Replies
Dec 8, 2010
I am having a DataGridView in that having 4 columns I need to bind 1 hyperlink column to the webservice which returns me DisplayText and Navigation URL.
View 1 Replies
Feb 16, 2010
I am not clear when do I want to use a webservice over a sqlDataAdapter for dataRetrieval. I want to populate a repeater control which I have been doing from a dataTable that I fill from a sqlDataAdapter. Is there criteria when I would want to use a webservice to fill my dataTable?
View 3 Replies
Dec 13, 2010
I'm pretty new in the world of ASP.Net, but not on developing in general. I created a webservice which read data from a SQl-database. This works fine. Now I want to create a customer website which uses the webservice to read those data. I need to do this periodically, say every 10 seconds.
The profiler on the database and debugging the website tells me that the values are read good, even is they are changed in de database. But, I need to display those values on a label, but this won't work, only with a meta-refresh every 10 seconds.Is there a way to use a timer and refreshes labels ?
View 4 Replies
Sep 30, 2010
I m getting data from webservice and putting in dataset. I m doing paging for that datagird.
OnPageIndexChanging is the event I m using. When I click on 2 in paging, no data is displaying but the grid is displaying.
View 7 Replies