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
all groups > dotnet web services > march 2007

Filter by week: 1 2 3 4 5

Web Reference Generated Class C# VS 2005 edit?
Posted by griff at 3/31/2007 4:32:03 AM
I've run into an interesting set of problems. I need to override the HttpWebRequest that is used by the autogenerated class from add a web reference. I'm using C# in VS2005. I thought using a partial class would be the way to do this. It doesn't seem to work with the auto generated class...more >>


Consuming web service from a class library
Posted by Long Nguyen at 3/29/2007 10:32:06 AM
Hi, I've developed a web service and a test application. From the test application, I was able to call the web service successfully. However, when I tried to call it from a class library, I ran into compile error, even though I did add the web reference in exactly the same way as the test...more >>

Out of memory error!
Posted by DBC User at 3/29/2007 7:55:36 AM
Hi, I am using MTOM and WSE 2.0 and trying to upload a file which is almost 70MB (big). I have setup the timeout to a good size and file size limit to 100MB in the server. The uploading is coming through T3 pipe. Even with all the changes, I get a 'out of memory' error. Can someone help? I...more >>

Calling a method on a webservice
Posted by bjornms NO[at]SPAM gmail.com at 3/29/2007 2:19:48 AM
Hi, I have a question related to webservices on the Microsoft platform. Context: I have two projects. One is called LogService. The other is called client. The LogService is a C# webservice developed on VS.NET 2005. The client is a seperate project developed in VS.NET 2005 which uses (in t...more >>

Problem with invoking web method
Posted by Marek Suski at 3/28/2007 10:46:44 PM
Hi all, I am getting following error while a user is trying to execute web method from proxy class (proxy class inhertis from WebServicesClientProtocol class) System.Xml.XmlException: There is an unclosed literal string. Line 1, position 129. at System.Xml.XmlScanner.ScanLiteral() ...more >>

Removing required credential check for Web Services in VS2005
Posted by adiel_g NO[at]SPAM hotmail.com at 3/28/2007 5:43:35 AM
Does anyone know how to remove the required credential check for a web service in VS2005? There should be an option to remove the required credential check since I will be running the service in an intranet and will not require authentication. After I remove the credential check, I should b...more >>

How can I get debug tracing from deserialization process?
Posted by beachdog at 3/28/2007 5:01:04 AM
I am building a client which accesses a web service (HTTP/SOAP), and I think the response message is somehow not in agreement with my wsdl/ proxy class. I am able to access SOAP headers ok from the deserialized response, but not elements in the body of the response. Is there some way I can get ...more >>

Can't see public method on object returned from web service
Posted by WG at 3/27/2007 5:10:17 PM
Hi, I have the following ws method... [WebMethod] public Class1 GetClass1() { return new Class1(); } Class1 looks like.... public class Class1 { protected string _prop; public string Prop { get { return _prop; } set { _prop = value; } } public void Test(strin...more >>



System. Web. Services. Protocols. SoapException: Server was unable to process request.---> Object reference not set to an instance of an object.
Posted by Florencio Laso at 3/27/2007 12:42:34 PM
Hola to all: We have created a service web that works perfectly while is invoked in the localhost of the machine of development or from the IE of the servant where we have published it. Nevertheless, if we create an application client who does a call to the same one, it returns the following ...more >>

Why does my web services client generate SOAP with blank namespace?
Posted by beachdog at 3/27/2007 9:58:34 AM
I'm using Visual Studio 2005/C# to build a web client. The web server is something I've written in a different framework, which does not support generating wsdl, so I have hand-built a wsdl file, then created my proxy class by running wsdl.exe. The problem is that the SOAP message that the cli...more >>

WebService over FTP
Posted by Peter Morris at 3/27/2007 12:00:00 AM
Hi all I would like my Pocket PC application (.NET Compact Framwork V2) to talk to a webservice, but the only port open on the server is 21 where an FTP server is sitting. I was wondering if it is possible to stream WS requests to a MemoryStream which I can then ZIP and put onto the FT...more >>

.NET 2 webservice proxy server detection
Posted by chrisexentra NO[at]SPAM newsgroups.nospam at 3/26/2007 5:05:21 PM
Hi, We have .NET 1.1 WinForms apps accessing webservices through proxy servers in various companies using different proxy server setups. Our WinForms app is currently configurable to either use the default settings from IE, or to allow an explicit proxy server uri to be specified - using th...more >>

Help with error: "No overload for method 'x' takes 'y' arguments" using web service
Posted by JamesG at 3/26/2007 2:21:01 PM
Hi, I'm new to C-Sharp (as of today) and i'm struggling to implement a SOAP client to a PHP5 web service. I have added the Web Reference (do I also need to use wsdl.exe and compile the .dll, and reference that as well?) to the wsdl document. Behind my form, I have the following (snippeted) ...more >>

Casting WebForm TreeNode ( TreeView ) to WinForms TreeNode
Posted by djp at 3/24/2007 3:25:07 PM
Hi I add web reference to my C# client app and call web method that returns TreeNode. I tried to cast WebService TreeNode to Windows Forms TreeNode, but without any effect. Any ideas? Thanks PK ...more >>

Consuming ColdFusion Web service
Posted by GaryDean at 3/23/2007 10:41:41 AM
(this is a dup posting with the other webservices forum - what's the diff between these two forums??) I've been writing Web services and assemblies that consume web services successfully for some time now. However, I need to consume a web service from a vendor that was written in Cold Fusi...more >>

SOAP Extension Returning Original Stream
Posted by Datawright at 3/23/2007 3:43:40 AM
This might be a daft post but I am very new to the SOAP Extension class. Basically I have taken the MSDN example that writes the SOAP request and response to a log file in C#. The code works fine and writes the data to the log file. As such I tweaked the code to change the new stream to remove...more >>

change Web service Url in the config file
Posted by emax at 3/22/2007 12:08:07 PM
Hi everybody, Our company has identical web services running on different machines and I tried to switch to another server by changing Url in a config file - it doesn't work that way. Does anybody have a clue how to do it without adding a new web reference to a project and recompiling?...more >>

Redirect results in lost soap envelope. Changes method from POST to GET
Posted by pmasclark at 3/22/2007 9:32:49 AM
Hello, I created a web site, site A, that redirects to another web site, site B, where a simple web service is hosted. The code to call the web service is simple. oWS.AllowAutoRedirect = True oWS.Credentials = New System.Net.NetworkCredential("user","pass") ...more >>

WCF question
Posted by EnerPeter at 3/22/2007 2:12:10 AM
Hi all, what is the propper newsgroup for issues regarding WCF? Thanks...more >>

IIS or ASP.NET blocks web service after many calls
Posted by Hao at 3/21/2007 2:03:34 PM
I developed a ASMX web service with empty boday (return immediately). The API has a few parameters, all .Net objects. The client application is a simple WCF client keep calling this ASMX web service API. I am measuring the performance of ASMX. What I found is that the first a few thousand cal...more >>

WSDL not properly parsed
Posted by HYPERVIEW NO[at]SPAM hotmail.com at 3/21/2007 11:55:58 AM
I am generating a web service from an application called Remedy. It has a sort of wizard that is responsible for creating the web service. It produces the following WDSL file that is properly parsed by SOAPSonar and other applications. However, when I try to bring it into both Visual Studio 2003...more >>

Uddi
Posted by Phil Sharp at 3/21/2007 10:48:00 AM
Hi I am trying to use Uddi as a directory service. In my development environment it is fine however I have a problem when it comes to deploying into my production environment. I am deploying Uddi as a distributed component, database server plus app server. Unfortunately the database se...more >>

Problem with WCF WebService hosted in IIS 6.0
Posted by Arild Bakken at 3/21/2007 12:00:00 AM
Hi, I have written a webservice using WCF. Everything works fine and I can consume the webservice using wsdl, svcutil or visual studio as long as the application pool is running under network_service or an account that is a member of the local administrators group. This webservice needs ...more >>

"add web reference" fail in visual studio 2003
Posted by ouri at 3/20/2007 3:03:13 AM
Hi, I am creating a new 'windows application' project in studio 2003. then I am trying to add a web reference to that project. I tried to reference douzen different wsdl urls, including google, amazon and others and whenever I press the 'go' button, right after the interface to that service...more >>

Multiple Classes using a single asmx
Posted by PB at 3/19/2007 11:58:08 AM
Hi I was investigating whether we could have a single entry-point (.asmx) to multiple Web Service classes instead of just one. Something like: <%@ WebService Language="C#" Class="Class1" "Class2" "Class3" %> My goal is to minimize the number of .asmx files (and as such, the number of W...more >>

Throwing a Soap Exception from a webservice
Posted by Hemil at 3/18/2007 3:33:10 PM
Hi, I have written a web service for accessing data from a database. I have a method in the webservice which returns a dataset. I am trying to implement error handling by using the try...catch...finally structure. Now, the method's logic in the try block returns a dataset while the the ...more >>

Please help : The request failed with HTTP status 505: HTTP Version Not Supported.
Posted by Aga at 3/17/2007 5:22:16 AM
Hi, I'm quite new in WebServices. I work in VS2003, C#. My code is : MyWebReference.ClassX x1=new MyWebReference.ClassX(); x1.Url="address to wsdl"; System.Net.NetworkCredential nc=new System.Net.NetworkCredential("user","password","domain"); x1.Credentials=nc; a...more >>

Can a web method return an instance of an interface?
Posted by robert NO[at]SPAM rvaessen.com at 3/17/2007 5:04:17 AM
Hello, I trying to determine whether or not it is possible to create a web service whose methods are declared to return interfaces. I have been researching it and have found lots of hints and clues. I even read a post from a Microsoft employee (dated 2004) that said it was not possible - ...more >>

Why does client send two soap messages when Credentials is used?
Posted by Hao at 3/16/2007 4:57:29 PM
There is a wield issue in inspecting the network traffic on the web service client side. There are two soap calls if credentials are used. The first call has no credentials and is rejected by the server. The second call has credentials and works. They are done by .Net behind the scene. No exce...more >>

securing web method calls using .NET 1.1
Posted by The Big Fat Sloppy Pig! at 3/15/2007 8:39:29 PM
x-no-archive: yes Hi All: I'm sort of "new" to doing this so I was wondering if anyone can offer some additional insight/suggestions. I've created a web-service that will be receiving some customer-critical information. I've written both the client application and the web-service. We n...more >>

"System.Net.WebException: The remote name could not be resolved" e
Posted by Zoodor at 3/15/2007 6:53:08 AM
I have a ClickOnce application that uses web services. This works from every machine we can test it on; however, a customer has a laptop that fails with an exception (relevant portion of stack trace below - I have replaced the real web server address with a dummy value). --- System.Net.WebEx...more >>

HTML-page clicked in Google don't get me to the website
Posted by catharinus van der werf at 3/15/2007 4:16:34 AM
Hello, I have build a website with approximately 30 html-pages. When I search this website in Google, I see the index.html or home.html on this website, but also other html-pages on this website. When I click in Google on one of these pages (not index.html or home.html), I am only linked to...more >>

Help with dynamically consuming a web service
Posted by grazza at 3/15/2007 2:47:00 AM
Hello If someone can help me with this it would be greatly appreciated. I’m no web service expert but I don't think i'm trying to do anything too special. I think i must be missing something simple because i have been banging my head against a wall with this for a while now. I have cre...more >>

Client code w/wsdl.exe
Posted by Nick K. at 3/14/2007 9:06:12 AM
I use wsdl.exe to generate client code to call a web service. The actual web service is generated with the BizTalk Web Services Publishing Wizard. I'm not sure this is particular to the BizTalk code but the calls to web methods pass parameters by ref so that I have to call it like: XmlDocu...more >>

Binary files copy and execution paths ??
Posted by PAF at 3/14/2007 2:20:44 AM
Hi all, I don't understand something... First: I have a Web Site project that provide web services who use some other libraries projects. When I build my Web Site, bin folder is created and all binaries are copied, but I have some other files (like config files) that are not copied and a...more >>

DST problem w/ Net 1.1?
Posted by Richard at 3/13/2007 2:24:03 PM
I have an console app running on several clients written in VB .Net that calls a web service also written in VB .net 1.1. Its uses the Now function to send the current date time to the web service. Since DST went into effect this past Sunday, it subtracts one hour from the time sent from the...more >>

Accessing Oracle via Web Service and IIS
Posted by David++ at 3/13/2007 2:38:03 AM
Hi, I have been developing Web Services in VS2005. Usually I use the built in server in VS2005 to test and develop the Web Service. However I now want to make this Web Service available to other computers (and applications) in our local company network. When the service runs it accesses...more >>

404 when using System.Web.Hosting on windows service
Posted by Diego L Espiñeira at 3/12/2007 3:34:14 PM
Hi all!!! I am trying to build a windows service that hosts a web service using the classes in System.Web.Hosting namespace. I have a class library called Digicard.WebServiceHost containing the code for hosting the web service and I've got a windows forms host (for debugging porposes) and a w...more >>

How to determine datatype returned from WCF method.
Posted by Greg at 3/12/2007 3:30:10 PM
I am a newbie to WCF so please forgive if this is an obvious question. I have the following. (Service contract) IEmployee [ServiceContract()] public interface IEmployee { [OperationContract] List<Employee> GetEmployeeByID(string employeeID); } (DataCont...more >>

Accessing Web Service Response Header information on the client side
Posted by sean.j.gage NO[at]SPAM gmail.com at 3/12/2007 2:15:44 PM
We are building a web service for a client application that will need to send information in the Header of the web service responses. What's the best way to access this header information from the client application which is written in C#? ...more >>

Error consuming a web service in axis
Posted by Jeremy Chapman at 3/12/2007 1:33:22 PM
I've writtin a very simple web service in axis which returns an array of classes. I consume it in a .net app. When receiving the response, my .net app generates an error "Cannot assign object of type System.Object[] to an object of type PersonWS.WorkGroupData[].". I've included the wsdl...more >>

problem using consumed web service
Posted by lambelly at 3/12/2007 9:44:32 AM
I am attempting to use the web service located at: www.cmsmobilesuite.com:8080/axis2/services/CmsApi?wsdl using asp and c#. I have added this as a web reference to my project and am able to access this object. However, when I try to call the Authenticate method using the following code: ...more >>

Help requried on accessing Webservice.
Posted by Mani at 3/12/2007 8:56:14 AM
Hi , i have a webservice which is been exposed to this url: http://localhost:1299/SampleWebService/Service.asmx if the same webservice if i try to access from different machine by providing IP address like , http://[WenServiceMachineIPAddress]:1299/SampleWebService/Service.asmx for EX :...more >>

Urgent help requried on WSDL.exe .
Posted by Mani at 3/12/2007 4:57:08 AM
Hi , According to my knowledge we can use web service in the client applications in two ways Case-1) By adding the web reference Case-2) or use XML Web Service Proxy Class generated by wsdl.exe . Can any one explain me when should i go for Case-2 and how it is benifit for.If possible pl...more >>

Object pooling instance of a web service proxy class
Posted by sridhar at 3/9/2007 11:20:46 AM
would like to know is it recommended to use techniques like object pooling or the using static instances of the proxy class of a web serivice highly appreciate your opinions and recommendations on how to of the above scenario. are there any best practices in using proxy classes of a web se...more >>

Web Service export enum to consumer
Posted by bsma1 NO[at]SPAM hotmail.com at 3/9/2007 8:25:22 AM
I building a web service that has an enum I want the consuming application to be able to use. I have the enum declared in the web service as: public enum myEnum { ONE = 1, TWO = 2, }; I want to be able to access these from the consuming application such as: myConsumer.localhost.myEnum...more >>

To secure an existing Web Service
Posted by shruti.dabhade NO[at]SPAM gmail.com at 3/9/2007 3:26:52 AM
Hi, I want to incorporate authentication & data integration in an already existing, deployed web service, without changing its code or taking it off. Is there any way this can be done? I mean is there a way to secure the web server, by changing settings of Windows etc?? Thanks & regards, S...more >>

SoapExtension using ChainStream causes HTTP 400 bad request
Posted by Rasika WIJAYARATNE at 3/8/2007 5:06:49 PM
Hi everyone, I am having trouble with using this SoapExtension. I wanting to to access the incoming xml to the webservice using it and this seems to work. However then I get the following error returned to the client of the WS: System.Net.WebException: The request failed with HTTP status 400:...more >>

Need help on Webservice2005.
Posted by Mani at 3/8/2007 11:44:02 AM
Hi , i used to create a webservice on vs2003 there, when ever we create a webservice it gets placed in the IIS ie at the location inetpub/wwwroot and we can also see this webservice in the Internet Information Server[In Administration Tools] under Default Web site . Atpresent i tried create...more >>

localhost.Service1()
Posted by GaryDean at 3/8/2007 11:33:16 AM
The docs on using web services are full of code snippets like this one pasted below where, from a Forms application, event code is calling a webmethod. an example is http://msdn2.microsoft.com/en-us/library/aa480509.aspx I can find no object or namespace called localhost in my forms app. ...more >>


DevelopmentNow Blog