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 2005

Filter by week: 1 2 3 4

Problem with minOccurs="0" in client WSDL
Posted by Mike at 2/28/2005 6:39:14 PM
I have created a web service for a client to consume. The element I am having trouble with is, as described in their WSDL: <xsd:element minOccurs="0" ref="LocalData" maxOccurs="1" /> <xsd:element name="LocalData"> <xsd:simpleType> <xsd:restriction base="xsd:string"> ...more >>


Intermittent Exception - The underlying connection was closed: Could not establish secure channel for SSL/TLS
Posted by Rob Thompson at 2/28/2005 4:47:18 PM
Hi, We are using web services that are secured using SSL, everything works fine, but every now and then we get an error: >>START<< System.Net.WebException: The underlying connection was closed: Could not establish secure channel for SSL/TLS. ---> System.IO.IOException: Unable to read data ...more >>

How does one debug .NET deserialization problems?
Posted by frustratedWithDotNet at 2/28/2005 4:21:03 PM
Why does .NET not issue messages or throw exceptions if it doesn't like something in the response from a web service?? I am getting a response object, but an array of custom objects within the response is null instead of being populated. The SOAP response from the service looks good and I cann...more >>

problem with my compiled application...
Posted by Milsnips at 2/28/2005 2:44:16 PM
hi there, i created a program and compiled it as a setup file, installed it on a computer, and within the application, it access 2 webservices on a my remote web server.. a few weeks ago the server crashed and i re-created the webservice virtual directory, and now the webservices within the...more >>

create property in web services
Posted by ypul at 2/28/2005 11:31:59 AM
How to use properties in webservice ? if I want to create a webservice as my middle tier and want to create public properties so that the presentation layer can assign values to the property and then call insert() method in webservice. how should I do that I web service does not allow pub...more >>

Can't call method on web service proxy!
Posted by Stewart Rogers at 2/28/2005 8:15:12 AM
Hi all, I have working with web services for quite some time now and did not face any issues until now! I am trying to consume the web services exposed by one of our clients but I am facing problems where proxy classes have been generated fine but i can't call any method on them b/c non...more >>

Events in WebServices
Posted by Darshan Mehta at 2/27/2005 8:29:06 AM
Hello, I have created a class with custom events. The delegate for the event is created before the class is declared. This event works fine when deployed locally. I convertied the Class into a Web Service, by adding the appropriate [WebMethod()] and [WebService()] attributes. When I...more >>

Proxy for WSE enabled web service ...
Posted by Chakra at 2/26/2005 5:09:13 PM
How can we generate a proxy for a WSE enabled web serivce ? If i use WSDL, it does not generate the class with the WSE prefix ? Regards, Chak. ...more >>



how can modify the ftp page sourse code
Posted by Skumar at 2/26/2005 10:53:15 AM
hi to all i'm skumar i'm woking in VB.NET frame work i need to place a link to remote ftp page we have the following info URL: FTPUserID password: by using the above info i can acees the ftp page's souce code, but our need is to update the soucecode and upload it. is the...more >>

Namespace and WSE 2.0
Posted by Chakra at 2/25/2005 7:33:10 PM
My team has migrated a normal vanilla web service to WSE 2.0. Now can i continue to generate the proxy for this using WSDL ? I want a customised namespace (using /n:MyOwnNameSpace in WSDL) - will it work the same way as it did before ? Regards, Chak. ...more >>

PAT, SoapActor and WebServicesClientProtocol
Posted by Thomas S. Trias at 2/25/2005 3:11:01 PM
Here's a brief overview of the architecture we have in place: WSE 2.0 SP2 Web Service on http://localmachine:8080/Service.asmx PAT Firewall with HTTP fixup at externaladdr 80 => localmachine 8080 Proxy inherited from Microsoft.Web.Services2.WebServicesClientProtocol (also behind another PAT fi...more >>

Web Service Versioning
Posted by Modica82 at 2/25/2005 8:35:01 AM
Hi all, Does anyone have any views/information on the best way to version web services. I am writing a proposal on how the company should handle versioning of its web services and would like some of your views. I dont have much at the moment, i am going to gather some research but as i ...more >>

C# client consuming a Java Axis (1.2RC2) web service
Posted by Jamie Phillips at 2/25/2005 2:29:06 AM
I'm sure this topic has been "around the block" a few times, but I have not been able to find ANY solutin that fits this particular problem. I have written a Java Axis web service that has a method which returns an object with the following characteristics: public class MMPerson { public ...more >>

Error generating XML document - System.Object[] may not be used
Posted by RichardG at 2/25/2005 2:01:02 AM
I have an object data class that Inherits from a java class and implements System.Runtime.Serialization.ISerializable as I only need to transfer across three properties, string, array of objects and another class OID, which returns an integer. I'm passing over the object data class to the w...more >>

SSL Web Service Proxy Authentication
Posted by Toby at 2/25/2005 1:24:01 AM
After running the following code i get the error. An unhandled exception of type 'System.NotSupportedException' occurred in system.dll Additional information: The ServicePointManager does not support proxies of https scheme. All i'm trying to do is authenticate to a proxy and then use a...more >>

Compacting DBs
Posted by jez123456 at 2/25/2005 1:03:03 AM
Hi, I'm very new to web services so I'm not too sure if what I'm trying to do is possible. I have a C# windows application that compacts upto 6 MS access databases. A form is presented to the user who chooses which dbs to compact. If I wanted to have a common business logic layer that woul...more >>

Impersonation
Posted by Viorel Ghilas at 2/24/2005 6:00:20 PM
Hi all I have webserver that share common services and i set in web config <identity impersonate="true" /> and on IIS I set specific user account that will be used. The main problem that when the IIS start applicaton and execute the methods from Global.asax.cs it use ASPNET account but not...more >>

Strange behavior webservices
Posted by Alexander Inochkin at 2/24/2005 4:27:57 PM
Hi! I found same strange behavior of ASP.NET. It is possible this is the bug. Follow the steps: I create the simple service, http://localhost/Test/service.asmx When I go to this link in IE SP.NET shows me page what contains “Invoke” button on it. I can test this service. OK...more >>

Third party web services "object not set to an instance of an object"
Posted by aaa at 2/24/2005 2:05:57 PM
I am using a third party provider for Travel related web services. These services are not very well documented and I am having to wing my way thru nearly every one. Some I can pull data from just fine others bomb when assigning criteria to the body of it's request object ("object not set to an...more >>

Reference a SoapExtension instance from within a WebMethod?
Posted by Trevor Pinkney at 2/24/2005 7:37:09 AM
Hi, Is it possible to reference a custom SoapExtension instance from within a WebMethod? I have a SoapExtension used by several web-services for generic logging. The SoapExtension logs the ServiceId, Soap Request, Start Time, End Time etc. to the database. I need to get the Id of the ro...more >>

Is there any way to intercep my raw SOAP request?
Posted by aaa at 2/23/2005 4:21:25 PM
I need to debug a SOAP request that I am making to a third party web service. Is there any way I can spit this request out to a file so that I can in turn put it into XMLSpy to see what problems I am having with the request? ...more >>

Hosting a Web Service
Posted by Nitin Verma at 2/23/2005 9:19:07 AM
Hi All, Am new to web service technology. Currently i created a web service at my home box. Now i want to Host/Publish it to the outside world... so that it is used by my web applicantion as well as windows client applicantion. So my question is how to host/publish any web service ?? Any ...more >>

Problem in loading assembly in Windows 2003
Posted by Pradeep at 2/22/2005 8:55:58 PM
Hi, We devised smart client technology in our application. We used web service to download a assembly which is there in system32 folder of web server using "System.Reflection" MyAssembly = [Assembly].LoadFrom("AsmSACM.dll") Application has been successfully deployed in windows 2000 ...more >>

Override customXML Serialization on Web Service-returned class
Posted by Angelos Karantzalis at 2/22/2005 5:24:34 PM
Hi y'all, we're using a bunch of classes in a project, that we wanted to convert to-from xml easily. So, we defined XmlAttribute annotations for our class members and all worked fine. The Xml stream came from an external source with a custom xml schema, so we had no alternative. However, a...more >>

Re: howto Webservice on IE Mac client
Posted by Phil George at 2/22/2005 2:52:29 PM
I have a page with javascript that's currently communicating with our web service via the webservice.htc. This is already causing us some problems with some windows clients who are behind firewalls as the SoapAction in the header is getting stripped or changed in some way, resulting in failed...more >>

Exporting WS location (URL) to config file
Posted by Michał Januszczyk at 2/22/2005 9:27:04 AM
How to overcome this: I have a web service on my local machine (Machine A) and a client of it, also running on machine A. I generate a client for this webservice using wsdl.exe. Next, I add the generated file to solution, and can see generated wrapper classes encapsulating operations on the...more >>

Failure Sending a Fault: System.Net.Sockets.SocketException
Posted by Kups at 2/22/2005 1:29:03 AM
Hi! I have a service and client that use WSE 2.0 and soap.tcp. Both are behind firewalls. Client connects to a public machine's tcp port which is redirected to service. If I send a request to service, it is received, but I can't get the answer. Here is the message from event log: ...more >>

Display 'In Process' page when calling async WebService
Posted by Homa at 2/21/2005 6:40:59 PM
Hi all, Can anyone give me some links about how to do an async web service call from aspx and display a temperary page before the web service returns? Thanks, Homa Wong ...more >>

Modifying WSDL Response Element
Posted by Mike at 2/21/2005 4:34:23 PM
I have a web service being consume by a new client. The WebMethod they are calling is called Process. So in the WSDL I have has 2 elements, Process and ProcessResponse. <s:schema elementFormDefault="qualified" targetNamespace="http://www.test.com/"> <s:import namespace="http://www.test....more >>

How to generate web service from wsdl?
Posted by Holger F. at 2/21/2005 1:12:50 PM
Hi all, is there a possibility to generate a web service from an existing wsdl file / proxy class? i am new in this group, so sorry if this question was already in discussion. ...more >>

How to specify the input data bounds in web service?
Posted by Yolande at 2/21/2005 1:07:05 PM
Hi there, I have a C# web service and I want to specify the lower bound and upper bound of input value. e.g. [WebMethod] public long MilesToKilometers(long lngMiles). I want the input value for lngMiles is within [0,100]. I expect that there are some properties can be set before actually e...more >>

Limited ASPNET system resources?
Posted by Roger at 2/21/2005 12:08:10 PM
Are there some system resources which the ASPNET user account gets less of, by default? I'm running into a problem with a web service that I'm working on. I have a 3rd-party program which the web service interacts with, and I have several documents associated with this program. Some of these...more >>

Sharing custom types among web services-looking for a best way
Posted by Kris at 2/21/2005 8:11:02 AM
I read a column on sharing types between web services at http://msdn.microsoft.com/library/en-us/dnservice/html/service07162002.asp Sharing types can be acheived, similar to what described here in this article but little defferently, by defining these custom types in a seperate assembly and...more >>

XSD Schemas - Which Direction
Posted by Modica82 at 2/21/2005 6:49:08 AM
Hi All, I am in the process of designing a web service for my company. It is my first commercial web service, so i think my "Hello World" coding model wont quite cut it here :). Anyway, i am writing a design document for it, and want to provide XSD Schema information for XML used. My q...more >>

WSE2 \r\n in string
Posted by Andrew at 2/20/2005 10:33:02 AM
I am using WSE2.0 to pass some strings from a client to a webservice (both written in c#). I notice that something is changing the CR \ LF's in my strings! \n is ok \r converted to \n \r\n converted to \n \n\r converted to \n\n Why? Are there any other characters that get secretl...more >>

Message/Password Encryption
Posted by Andreas Zita at 2/19/2005 1:20:12 PM
Hi! I have a web service (c# .net 1.1) which is validating some credentials before processing a certain request. Initially I was only encrypting the accual passwordstring such as: <password>encryptedpassword</password> But when thinking about it I realized that this really approach real...more >>

Interop questions (nil/null value/reference)
Posted by mflanagan NO[at]SPAM RemoveThis.MJFlanagan.com at 2/19/2005 11:52:41 AM
I think I've figured out my interop problems, but I'd like some confirmation that I'm not going down the wrong path. I'm connecting to a web service over which I have no control, and it's written in Java. My client is written in C#. Several of the WSDLs use nil char, nil dateTime, nil decima...more >>

newbie-webservice
Posted by willem joubert at 2/19/2005 10:09:48 AM
Hallo, I wrote a web application and wants it hosted by an ouside server. Which hosting company will host a .net web application? Any suggestions will be appreciated. Thanks in advance. Willem ...more >>

Web Service Question
Posted by Band of Multi at 2/18/2005 1:57:05 PM
I stated a question about Web Service Issues earlier, but I wrote the question poorly. I started a new thread to explain myself better. Say that there are 2 developers that are developing Web Services from within the same project (which links to a web site hosted on our development server)...more >>

Question on Document/Literal SOAP style.
Posted by Yolande at 2/18/2005 12:37:05 PM
Hi there, In the document I fount on web sit http://download.microsoft.com/download/1/b/b/1bb6e11f-8e8c-46bf-a2d7-9a16976d4526/NETConnectedLogoTechnicalSpec020904.doc, it says that “To be .NET Connected compliant, a Web services application must use the HTTP transport and the Document/Lite...more >>

change encoding from UTF-8 to ISO-8859-1
Posted by JuanDG at 2/18/2005 8:33:09 AM
Hi, I have a .Net Web Service and the encoding of the SOAP Messages is always UTF-8, and I need to change the web service so that it encodes with ISO-8859-1 because it’s the only encoding my web services client supports. I've updated my web.config & machine.config Globalization requestEn...more >>

Using user defined types
Posted by Phil Greg at 2/18/2005 7:41:02 AM
Hi, I'm pretty new to this, so I hope I'm not completely off-track. I built a web service in C++ that I'm accessing trough another C++ client. I have no problems with the regular web service functionalities, but I want to define a class on the server side that I could return to the client tr...more >>

Push technology for a Web app
Posted by Meranti at 2/17/2005 10:33:22 PM
Hello all, My client wants me to create a Web app version of a Windows Forms application that I've written for them some time ago. The original app registers itself to a specialized server (implemented as a windows service) and then waits for PUSHed messages from the server and acts according...more >>

Web Service Issue
Posted by Band of Multi at 2/17/2005 2:17:01 PM
The Application that my company built runs off of Web Services. The problem that we are having is that there are three programmers developing on these Web Services at the same time. When ever one person creates or edits a web service, it seems like the other web services don't get updated. ...more >>

Web service deployment on server with multiple sites
Posted by Brian Cuthie at 2/17/2005 1:11:04 PM
Please excuse me if this is an often asked question, but I've been unable to locate an answer. I have a web service that I've packaged up using a VS.NET 2003 "Web Service Deployment" project. When I go to install it on the server, which hosts about a dozen different sites, the install fai...more >>

SQL server access denied from web service
Posted by D Godwin at 2/17/2005 11:10:07 AM
I am running a web service on my local machine (using standard VS.NET test pages) that is attempting to access a SQL database on a network server. C# code looks something like this: [WebMethod] public string GetSomething() { SqlConnection con = new SqlConnection(); con.ConnectionStri...more >>

exposing nested classes via webservice
Posted by steve at 2/17/2005 8:27:05 AM
All, Can anyone tell me how to expose functions from a nested class to a consumer via web services? thanks...more >>

What do I need to know to program web services?
Posted by COHENMARVIN at 2/17/2005 6:08:40 AM
Folks, My boss has given me an assignment. Another company hosts web services, and he wants me to write an internet application that uses them. So my question is: What do I need to know to do this? I've already read a book on xml, another book on xml schemas, another book on C#, and I've orde...more >>

How to implement a three leg shake between WebService and Client ?
Posted by Renato Guarilha at 2/17/2005 3:33:03 AM
Hi, I´ve been implementing a simple webservice, that is reponsible to the following services: -Return an XML file resultant of a query, whose parameters were passed by client. -Update some information in his database, according to data sent by his client. But both sides must do an aknow...more >>

VS.NET: "Add Web Reference" w/ certifcate & login?
Posted by Matthew.DelVecchio NO[at]SPAM CapitalOneAuto.com at 2/16/2005 4:47:41 PM
hello, i am working w/ a partner company's webservice, which they wrote in java. using a provided webservice.wsdl file, i am able to compile it into a proxy class, webservice.dll. i can add this assembly reference to my test ASP.NET C# test project and use it no problem. problem -- our p...more >>


DevelopmentNow Blog