Archived Months
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > dotnet web services > january 2006

Filter by week: 1 2 3 4 5

Print at Server using Web Services
Posted by Speedydooo at 1/31/2006 2:25:22 PM
Is it possible to print on the server using Web Services? I have a CE app that reads and writes to the database using Web Service. I would like to print a Summary of each transaction after it is done. Since I cannot print from the CE device, I would like to print it on the Server by passing...more >>

test - please ignore
Posted by John Smith at 1/29/2006 10:09:13 PM

Manipulating/Changing the way proxies are generated
Posted by Ido Flatow at 1/28/2006 2:20:26 AM
Hi all, I've been exploring the way I can manipulate WSDL.exe using SchemaImporterExtension in order to create a proxy to my liking. My situation is as follows - I have a web site that has multiple asmx files, some of them share the same data types (the famous "Order" example). What I w...more >>

Programatically close ssl session
Posted by Antonio Dias at 1/28/2006 12:31:07 AM
Hi all, I'm hoping someone can help me with this question: I'm building a winforms .net application which is going to use a web service with https. I have a certificate protected in a biometric smart-card and the firt time i call the web-service i have to use my fingertip to release ...more >>

Help with my my Hello World web service
Posted by Chad at 1/27/2006 6:13:58 PM
I created my first simple web service on my local PC> I tested it using the test page that is generated for you. I then created a standalone app, and in the IDE, set a reference to the local web service. I was able to call it successfully. The next step, I want to move it to a remote serve...more >>

Acrobat Elements Server
Posted by Steve Drake at 1/27/2006 11:44:51 AM
All, This maybe OT for this group, but I am really after some views on our issue, with Acrobat Elements server 6.0 the webservices work fine, with 6.0.1 they don't, this is the XML that comes back : <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/1...more >>

HELP! unable to detect Web reference.
Posted by beatlebum at 1/27/2006 8:46:03 AM
I am building a web application using VS 2003 in c#. I am able to successfully add a web reference. However when I attempt to 'use' it, I get an error message saying: 'The type or namespace name 'xxx' could not be found (are you missing a using directive or an assembly reference?) I g...more >>

Create and pass a WebService instance
Posted by otto at 1/27/2006 3:49:01 AM
I have a technical question about WebServices. I have a solution with several projects (.exe and .dll). Each project have references to several webservices. I want to know if is possible to create a global instance of the webservice accesible from all projects to avoid the creation of the we...more >>



Web Service from WSDL
Posted by CJF at 1/26/2006 5:11:02 PM
Is there a way to build a web service from an existing wsdl? I do not wish to create a .Net web service client proxy from a wsdl, but an actual web service. I tried using the wsdl.exe utility, but the output is class of type SoapHttpClientProtocol and not WebService. It was my understanding ...more >>

Strange error validating XML against XSD
Posted by Cesar at 1/26/2006 4:16:02 PM
Hello, I've developed a .NET C# web service; which has one method named, let's say, upload_your_data. This method has one parameter ( string your_data). The value that this parameter will actually have is the content of a XML document. This data will be processed and check for a well-formed...more >>

NET Web Service and XML
Posted by Sam at 1/26/2006 7:42:05 AM
Hello all, I have a requirement to to return a XML response for incoming posts to my webservice. In addition, I can not write out to a file. I must process this in memory. The XML response must be as follows <xml version='1.0' standalone='no'?><!DOCTYPE SMSRESPONSE SYSTEM 'response_gen...more >>

I am getting error when trying to Add Web Reference in Visual Studio 2005.
Posted by dipesh at 1/25/2006 10:07:25 PM
I am getting error when trying to Add Web Reference in Visual Studio 2005. "Some of the files required for web references are not installed"...more >>

Dynamic URL Behavior & Configuration
Posted by Mike Livenspargar at 1/25/2006 3:12:02 PM
We have an application converted from v1.1 Framework to v2.0. The executable references a class library which in turn has a web reference. The web reference 'URL Behavior' is set to dynamic. We added an entry to the executable's .exe.config file to specify the URL, and under the 1.1 framework ...more >>

400+ web references in a project
Posted by marked23 at 1/25/2006 3:06:02 PM
I have a project that contains 400+ web references. When I go to do a new build, I need to update all the web references to pick up any changes in the web services they reference. I select the top one, and shift-select the bottom one... then click "update." Visual studio goes through ev...more >>

Is it possible in WebServices with .NET 2.0 to offer two interfaces from the same web service?
Posted by WTH at 1/25/2006 11:10:28 AM
I want to keep the codebase simple and deployment simple as well, so I'd like to expose multiple interfaces to web services consumers from the same assembly. This wasn't possible a year ago (afaik), has this changed? Thanks, WTH ...more >>

Debug WebService with VS2005
Posted by Stefano Magni at 1/25/2006 3:54:02 AM
Hi all, Is it possible debug my WebService that I've published under IIS WebServer ? The default permit to debug only in ASP.NET Develepment WebServer. Thanks Stefano...more >>

WSE910 and WSE2005 errors
Posted by Joël at 1/25/2006 3:13:02 AM
I'm trying to communicate with a webservice using kerberos authentication (WSE3). Servers are under Windows 2003. Unfortunatly I allways get this error: Message: "WSE910: An error happened during the processing of a response message, and you can find the error in the inner exception. You ca...more >>

Has anyone seen this error: WSE502
Posted by Rob at 1/24/2006 11:27:56 AM
This error is sporadic in nature.... We are using synchronous web service calls. Any ideas? Here's a stack trace: Microsoft.Web.Services2.Security.SecurityFault: The signature or decryption was invalid ---> System.Security.Cryptography.CryptographicException: WSE523: The CipherData co...more >>

The '<' character cannot be included in a name
Posted by Jeremy at 1/23/2006 6:31:02 PM
I have a problem with a particular client accessing web services we built with .NET 1.1. He receives the following message everytime he makes a call to the web service: Server was unable to read request. --> There is an error in XML document(x, xxxx). --> The '<' character, hexidecimal valu...more >>

Polymorphic return values
Posted by 6kjfsyg02 NO[at]SPAM sneakemail.com at 1/23/2006 9:02:02 AM
I am trying to return one of two different objects from the same method, but I can not do it in WSDL or C#. I have a web service with three methods. I have been told that one of the methods must return either <Respuesta ....> or <ConfirmacionPeticion ...> directly under the SOAP Body. Other ...more >>

Issuing Token: "http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue"
Posted by MasterGaurav at 1/22/2006 10:19:08 PM
Hi, To get the token from ASP.Net WebService, what should be the SOAPAction? Setting it as "http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue" returns me an fault of "Unrecognized SOAP Action". Cheers, Gaurav ...more >>

How to override address location in WSDL ports
Posted by GavinM at 1/21/2006 12:53:02 AM
I have the same question as andreas.w.h.k asked on 1/5. Our configuration is as follows: The client must use the URL https://clustername.xyz.com/webservice.asmx to access this web service. clustername.xyz.com resolves to a virtual IP address on a hardware load balancer which is listenin...more >>

HttpListener simultaneous connections
Posted by googlegroups NO[at]SPAM denisbider.com at 1/20/2006 2:57:07 PM
Hello everyone, I need a new web server for our existing website and I don't want subscribe to the whole IIS way of doing things. I thought I would implement a custom web server using the new HttpListener interface to HTTP.SYS. However, I found after playing with HttpListener that it seems ...more >>

Error Reference.cs Web Application using WebService
Posted by mike at 1/20/2006 11:45:03 AM
I have a WebApplication which is consuming a WebService. Basically the problem I am facing is such that everything is working fine when I am developing on my local machine. Then I do "Copy Project" from withing the VS2003 to copy the project to a shared webserver. My project references some w...more >>

Dime attachments, set maxRequestLength without .config file.
Posted by Krzysztof Galuszka at 1/19/2006 8:13:11 AM
Hi, Can i set manually something like this (app.config): <microsoft.web.services2> <messaging> <maxRequestLength>-1</maxRequestLength> </messaging> </microsoft.web.services2> in class library project (dll file)? -- KG ...more >>

Is there HTTP connection limit of 2 simultaneous connections?
Posted by Simon at 1/19/2006 6:25:03 AM
Is there HTTP connection limit of 2 simultaneous connections in webservices? For example what hapens if you use webservices form ASP.NET web application? Presumably ASP.NET is webservices client to some remote server. Does that mean that the requests would be compete over those 2 connections? I...more >>

How do I get the WSDL Proxy to use Custom Types as Parameters/Return Values
Posted by gbanister at 1/18/2006 8:31:24 PM
I'd like to repost a message that I found in this group almost one year ago, because it's the exact problem I'm in and there was no solution offered to this post last year. (note: I was not the original author of the below post) I have similar issue sharing types between the web services, and...more >>

Timeout on long-running web service
Posted by Greg Allen at 1/18/2006 2:36:48 PM
I have a timeout issue with a long running web service, and I can't figure out where the timeout value is coming from. In the client I end up getting the following exception: The underlying connection was closed: An unexpected error occurred on a receive. at System.Web.Services.Proto...more >>

WebSevice progress counter
Posted by Jeppe Jespersen at 1/18/2006 11:20:37 AM
Hi folks, I'm developing a webservice with a function that returns a potentially large dataset. I would like my client app to "know" how far along the call to the webservice has gotten, and to notify the user that 100, 200, 300 etc records have been retrieved. I _know_ this is very un...more >>

A Customized SQL Statement in Web.Config File
Posted by Assembly file locked at 1/18/2006 9:05:03 AM
I'm trying to put a SQL statement in a web.config file. But I'd like to have a customized column name as I normally do in ORACLE: e.g. select reg_date "Registration" from patient But when I put the above string into the web.config file, it fails due to a double quotes. Is there any way I ...more >>

Multiple web service classes in a single URL
Posted by Howard Postley at 1/17/2006 7:10:03 PM
This seems like it's probably a pretty basic question but is there a way to publish multiple classes from a single web service URL? Using VS.NET, I create a project, FOO and add a web service, BAR, to it with one function, baz(). Then, I create a second project to consume the service. I add...more >>

Access global static object from web service ?
Posted by romeo_a_casiple NO[at]SPAM hotmail.com at 1/17/2006 12:50:59 PM
I'm looking to create an static object that has application scope and be able to access that static object from my web service. I understand there are two ways to do this : 1) use the object tag in the global.asax, such as: <object id="objObject" runat="server" class="TestApplication.My...more >>

Is a module in a web service or not???
Posted by David Hyde at 1/17/2006 11:41:24 AM
Hi, I am writing a module that I want to be able to be called either by client code or by a webservice method, and I want the module's function to be able to detect whether it is being called directly from the client, or from the web service. The idea is that if it is running in the client...more >>

Test Web Method from remote machine from browser
Posted by Jazz at 1/17/2006 10:46:04 AM
Hello, I have a webservice(called MyService) which exposes one method(called MyMethod) On the local machine, it can be tested by accessing http://MyServerName/MySite/MyService.asmx/MyMethod But it doesn't work if I access the above one from a remote machine. IS there any setting...more >>

Consume web service using HTTP
Posted by David Lozzi at 1/16/2006 4:17:25 PM
Howdy, I wrote a web service in .Net for my customer. My customer has another vendor who now has to consume it but they are not using Visual Studio. Most of their pages are jsp, and they said they need to consume this web service using HTTP. The developer's IDE is Notepad. Yeah, weird I kno...more >>

Smart Client and Web Application
Posted by HM at 1/16/2006 9:46:04 AM
Hi, I have an existing web application in ASP/VB which uses OCX controls. I want to replace them with a Smart client solution, but I do not want to change the whole application at the first go. First I want to change my Local OCX control and replace it with a smart client. Is there any way ...more >>

Web Service failing URGENT
Posted by ajit at 1/16/2006 7:37:02 AM
I am working on web service which in turn call com components. if # of users using the web service increases. Web service fails is there some why I can prevent max # of concurrent users using the web service. Thanks Ajit...more >>

Access properties and methods from within a Web Service
Posted by SAL at 1/16/2006 6:49:02 AM
I’m fairly new to .NET. I’ve been developing in .NET for about 6 months. I have over 10 years experience with VB in general. Here’s what I have done so far: 1. Project is entirely .NET 2. Working with VS.net 2003, Framework 1.1, and WSE 2.0 3. Created 1 Webservice 4. Added 9 proj...more >>

how to retrieve the service's folder in service code
Posted by amnon at 1/16/2006 4:46:05 AM
I am wrting XML WEB Service and want to retrieve the directory (folder) where the servie is located thanks...more >>

Multiple asmx with same datatype causes multiple namespaces in vs2
Posted by Ido Flatow at 1/14/2006 8:05:03 AM
Here's the scenario: - Created a web service project - Added 2 services (asmx files) - Created a custom entity ("Customer") - Created a method in each service which returns/receives the above entity - Created a class library - Added 2 web references (one for each asmx) The created proxy con...more >>

delegation question
Posted by russell.lane at 1/13/2006 11:00:19 AM
I'm building out a pretty standard n-tier web application. The stack includes application/presentation, biz logic, and data access layers on top of an SQL server back end. We want to use impersonation and delegation to forward the user's Windows login through all layers in the stack. To s...more >>

Multiple Projects added to a Web Service Solution
Posted by SAL at 1/12/2006 1:47:01 PM
I’m new to building Web services and I have some questions I hope someone can help me with. I have built a Web Service Solution with 9 projects added to it. I have added all the references for these projects to the Web Service Project. I have compiled the Service and the dll is in the b...more >>

System.Net.WebException: The request failed with HTTP status 404:
Posted by Tim Reynolds at 1/12/2006 12:50:02 PM
Our .Net application calls a web method of aplpication 2 that resides on their Apache server. When I as a developer C#, Studios 2003, make the call to their web method from my desktop, I receive no exceptions - completes fine. Their web service url was added as a web reference to our project ...more >>

soap authentication and custom method in global.asax
Posted by Stu at 1/12/2006 11:18:08 AM
Hi, Im using vis studio 2003 and I think wse is out of the question as clients could be using java which doesnt support it. So I managed to find some code which allows you to develop a custom soap header called by using a http module. The problem Im having is I cannot seem to get the event ...more >>

System.ArgumentException: Illegal characters in path
Posted by Juhan at 1/12/2006 3:16:03 AM
Hi! I have a strange error in a console application that is hosted by IIS 5.0 and invokes a web service hosted on the same machine. A request form the web comes in and it is dispatched to a service class which uses a helper class to create an instance of the automatically generated webse...more >>

Web Service XmlDocument Parameter
Posted by Joe Monnin at 1/10/2006 11:03:03 AM
I have a web service that takes an XmlDocument as a parameter, performs some processing on it, and saves it to a database. The web service signature looks similar to this: public void SaveDocument(XmlDocument doc) { //Method logic omitted } The web service worke...more >>

How to configure my first Web service in 2005
Posted by DaveP at 1/10/2006 1:57:02 AM
Hi, I've been using Web services for 4 years. I've just got VS2005. So I go in and create a Web Service. I can seethe code behind part in App_Code, but the asmx bit has CodeBehind="~/App_Code/Service.cs" and when I run it I get Parser Error Message: Could not create type 'Service'. ...more >>

HttpContext.Current.ApplicationInstance.CompleteRequest() in SoapExtension
Posted by Cuellar at 1/9/2006 4:35:49 PM
Hi, I tried to bypass a webmethod invocation as I have a cached stream to return in some occasions at the SoapMessageStage.AfterDeserialize of ProcessMessage on a SoapExtension. I called HttpContext.Current.ApplicationInstance.CompleteRequest expecting that would short-circuit the pipe and no...more >>

consuming a webservice from internet explorer
Posted by Ulf at 1/9/2006 9:36:07 AM
I have found Ajax and webservice.htc that is not supported any more. Is there a built in funcion for webservices in Visual Studion 2005 / .Net 2.0 ? What is the best solution ? ...more >>

How to access GAC DLLs from WebService???
Posted by Michael Bray at 1/6/2006 6:40:20 PM
I have a webservice that I want to let access a class from a DLL that is stored in the GAC. I can add a reference to the dll, but when I try to use the 'using <namespace>' in the codebehind for the webservice, it doesn't appear. It DOES appear on ASPX pages in the same project. How can I ...more >>


DevelopmentNow Blog