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 > february 2007 > threads for february 15 - 21, 2007

Filter by week: 1 2 3 4

Can't send back null class reference as SOAP Header?
Posted by Joseph Geretz at 2/21/2007 9:07:26 PM
We use a Soap Header to pass a token class (m_Token) back and forth with authenticated session information. Given the following implementation for our Logout method, I vastly prefer to simply code m_Token = null in order to destroy the session token when the user logs out. However, I'm finding...more >>


.net client not getting a response from java web service
Posted by christen_mitchell NO[at]SPAM hotmail.com at 2/21/2007 6:08:45 PM
I have written a basic .net client to call methods on a java web service. I get the call to the webservice but cannot recieve any responses. When watching a packet capture I see that my client sends "HTTP GET /wpad.dat HTTP/1.1" and then the web service responds with "HTTP HTTP/1.1 404 Not Fou...more >>

I can't access some classes, but can access others in the same namespace, why?
Posted by ThunderMusic at 2/21/2007 2:47:09 PM
Hi, I have many classes a user may need to call methods on my webservice. Some classes are "published" and some are not... I mean, when we do a Web reference from another project, we don't have access to some classes remotely... Is there something special these classes need so we can use ...more >>

Defaulr values in User Defined Objects
Posted by Alex at 2/21/2007 8:00:41 AM
I have a ws that exposes a class with a user defined type containg a bool, a string and an int type properties. I've also set the default values of these properties. Unfortunately, when passing the object from a consumer, the default properties are not set, exept for the string value. The W...more >>

Unable to add web reference
Posted by Jnani at 2/21/2007 6:46:25 AM
I have a local web service. I have a client windows app referencing the webservice. The client was successfully calling the webservice until a few days back. It stopped working for no apparent reason. When i tried updating the web reference on the client app, I get the error "There was an erro...more >>

Web Service Method Can't return a DataTable?
Posted by Joseph Geretz at 2/20/2007 10:31:22 PM
I don't get it. A DataTable can't be returned, but a DataSet can. Yet a DataSet contains one or more DataTables. So obviously a DataTable must be serializable. So why not just let me return a DataTable? Thanks for your advice, - Joe Geretz - ...more >>

Does SoapHeader return to client if SoapException is thrown?
Posted by Joseph Geretz at 2/20/2007 9:41:41 PM
Given the following Web Service method definition: [WebMethod] [SoapHeader("m_Token", Direction = SoapHeaderDirection.InOut)] public DataTable GetData() { ... } If GetData throws an exception, obviously the functional return is toast. How about m_Token though? Will m_Token marshal ba...more >>

Folder write permissions
Posted by Peter Morris at 2/20/2007 9:03:54 PM
I have given the following users full access to a folder + all sub folders ASPNET IUSR_(MachineName) IWAM_(MachineName) but when my webservice tries to create a TXT file in the folder in question access is denied and an exception is thrown. I have temporarily corrected this by giving fu...more >>



Passing Custom Object
Posted by css at 2/20/2007 7:55:27 AM
I am new to ASP.net webservice and have a quesiton. Is is possible to pass custom object to a web service (using VB 2005)? My custom object will look like this Public Class Myclass Public Property1 As String Public Property2 As Integer Public Property myCollection1 As Arraylist (Actua...more >>

Ajax Consumer
Posted by Thom Little at 2/19/2007 8:30:59 PM
I am looking for a simple example of an .HTML or .ASP page using Ajax to consume a sting from an ASP.NET 2.0 web service. Can someone point me in the right direction? Thanks. _______________________________________________ Thom Little www.tlanet.net Thom Little Associates, Ltd....more >>

Could not create type 'xxx' (trying to add web reference to project)
Posted by JT at 2/19/2007 4:14:32 PM
Okay, I've seen about 4 years' worth of posts about this with no viable solutions. I've spent 9 hours today trying to fix this. It works BEAUTIFULLY on my local IIS installation, but when I publish to my web host and try to add a web reference I get the following: Server Error in '/' Applica...more >>

Problem with instanciating proxy class
Posted by Andrew Jackson at 2/19/2007 12:00:00 AM
Hi all... My app is a .net2 winforms app written in c# using visual studio 2005. I have added a web reference to (what I consider) a fairly large web service. When I try to use the web service in my client application via the autogenerated proxy class, the first time I instanciate my proxy...more >>

Problems with deserialization of SOAP Response (Complex Type from Apache Websevice)
Posted by Gregor D. at 2/18/2007 10:17:25 PM
Hi, I want to consume an Apache Webservice with a C# .NET Client. Everything works fine, but I'm having problem with the deserialization of the complex type "Item" that is included in the response of the web service, what seems so be the type "hashtable" in .NET. Every "Item" consists of tw...more >>

Web Service Security - Fundamental Question
Posted by Joseph Geretz at 2/15/2007 7:47:47 PM
How do I implement security for my Web Service application? Specifically, I am concerned about protecting the data against prying eyes as it travels across the wire. Is it simply a matter of using https rather than http? Or is there more to it? Advice and/or links, will be very much appreci...more >>

Process Memory Limitation & IIS
Posted by Rasheed at 2/15/2007 1:12:03 PM
We have distributed application built upon .NET 2.0. The business components are exposed as Web Services. Some of the Business Components involves in heavy processing and occupies more RAM. It appears there is a memory limitation of 4 GB per process and we are not sure if we have to further ...more >>

IWebProxy and the SystemProxy
Posted by cisco man at 2/15/2007 12:51:10 PM
Just have some general questions on how it's supposed to work. When i get WebREquest.GetSystemWebPRoxy it returns a System.Net.WebRequest+WebProxyWrapperOpaque type. Which doesn't have any public property to set useDefaultCredentials. I assign this to the ws proxy and set the UseDefault...more >>

problems with WebService EnableSession in VS2005
Posted by Nadav Popplewell at 2/15/2007 12:45:05 AM
Hi everybody, I've got two questions about using the EnableSession property with an ASP.NET WebService: First Question: I'm trying to create a web service with EnableSession=true. I can't get it to work with VS2005 ( It works with vs2003!). Here is my testcase: I created two web serv...more >>


DevelopmentNow Blog