web

How to create tree using web service?

Hi, I want to create tree structure using web service. I have used bottom up web service technique for creation of simple arithmatic operation. I can not understand, how to build a tree using web services. Is there is way to achieve this? ...

Create a .csv file in C#

Alright I want to create a .csv file in C#. I have been looking around and noticed a lot of people are using the system.IO.memorystream and system.io.streamwriter. The problem is this: I have a web application. I want to give the user the ability to export to excel. Problem is, Excel cannot be installed on the server (don't ask). I want...

How to move records from one table to another in linq

I have a ProductLevel table in an SQL database. It contains the products for a store. I want to copy these records into a ProductLevelDaily table at the time the user logs onto the hand held device in the morning. As they scan items the bool goes from false to true so at anytime they can see what items are left to scan/check. From the ...

Redirect non www version of domain to www in Jetty

I cannot redirect my non www domain version to www with MovedContextHandler, it does not have host to redirect to. Both www.myhost.com and myhost.com point to my web server IP. When someone tries to open myhost.com he is still able to access my site that way. I want for his browser to receive 301 to www.myhost.com instead. It is importa...

How accurate is geo ip data on the U.S. state level?

We would like to implement slightly different behavior in our web application for those who visit from a certain state (Florida) vs. those in the rest of country (and world). It's not critical that it be 100% accurate but well into the 90s-- it's OK if a few Floridians see the other version, and others see the Florida version. What is...

Bug Reporting Web Service in .Net

Following up to my old question here: http://stackoverflow.com/questions/3125248/vb-net-secure-passwords-to-database Where would a person start who wants to make a web service to allow a public desktop application to submit bug/crash data to a MS SQL Database without containing the database information. I created an app a while ago and...

Sharepoint: How to prevent a user from closing a webpart

I see that the close or hidden options can be set for a webpart, but it seems anyone can edit those settings when in edit mode. Do you use item level security? If so, what are the specific steps to accomplish this in 2010? ...

Online web service for image resizing

Hi all, many web provider have support for php but generally memory limit is very limited. My web site needs to do image resizing, so I would have use library like gd or phpthumb, but I encounter problem with the memory limit. So I would like to know if someone knows about an online web service that does image resizing. Of course, a fr...

Programatically accessing a PKI sharepoint portal.

I am having trouble doing something simple like the following using (SPSite site = new SPSite(topLevelSite)) { SPWeb rootWeb = site.OpenWeb(); SPWeb newWeb = rootWeb.Webs.Add(siteName, "abc", "abc",1033,template,false,false); } But the catch I am trying to add a site to a PKI enabled sharepoint site: This code works fine when i...

Is there a self-hosted web-based web UI prototyping tool?

The question says it all, we know most of the hosted web-based UI prototyping tools out there, but we would like to have ours hosted on our own internal servers, preferably with on-line multi-user collaboration functionality (i.e. users modifying the prototype, making comments, etc. in parallel). Any suggestions will be appreciated. ...

Port requirement for web server.

I currently have a small socket server that I'm trying to convert to a web server. Basically it dumps XML to anyone connecting to it. At the moment, it's not a web server as it listens to a non-web port (1337). I know that both 80 and 8080 are accepted web ports, but none of those are free on the machine I'm going to use. Are there a...

C# Web Reference Call Timeout

I am making a call to an external service using a web reference. The IP's are dynamic so I call them one by one, and everything works fine. Periodically some of the IP's won't be available and I am getting a timeout which I am handling. The issue is the length of time it takes to timeout is around 30 seconds for each call. I tried ch...

How to make a whole div be a link to somewhere?

I have a div block that I want to be a link to somewhere. I don't think I can just wrap it in an anchor tag because I don't think you're supposed to wrap an inline element around a block element. Currently I just use javascript and it works fine except that the status bar doesn't show the destination URL when they hover over the div. ...

wsimport try to resolve by namespace

Is it possible for wsimport to ignore "import" tags in wsdl that are http-linked to some XSD files and insted use XSD files provided next to the wsdl file?. I know svcutil is able to do so. ...

JUnit - testing a web site

I'm very new to JUnit, but I want to set up some tests which does the following.. Tests a range of server to server API calls - verifying the responses are correct - I can do that fine. Open a web page, enter data onto it and verify what happens on submit - This I am struggling with. Is it even possible? I am thinking that I could c...

Calling a VB.NET web service with Java

Hello, What is the best solution (if any) for calling a vb.net web service with Java / JSP? If anyone could point me to any examples / references I would very much appreciate it. Thanks! ...

PROGRAMMING ISSUES

I am having issues accessing my ConnectionString in the web config. Here is my web config. <configuration> <appSettings/> <connectionStrings> <add name="UAFConnectionString" connectionString="Provider=SQLOLEDB;Data Source=INLISAP003;Password=5q1server2005;User ID=sa;Initial Catalog=UserAccessForm" providerName="System.Data.Ole...

Deploying a web service to a server

I have a web service currently running in Glassfish through Netbeans. Netbeans automatically created a wsdl for this, at Logging listening at address at http://localhost:8080/LogWebService/LoggingService where LogWebService is the project name and LoggingService is the class name. I want to move the service to an external server so I c...

Is it possible to have the web site supply the WCF config to a silverlight app?

I am developing a silverlight 4.0 application which communicates with a WCF service. The WCF configuration (endpoint, ...) is contained in the ServiceReferences.ClientConfig file. However, I would like the silverlight application to get this config from the web server as I don't want to recompile the application or fiddle with the XAP ...

How to implement single sign-on for Web applications?

What are the strategies for implementing single sign-on in web applications? ...