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 > july 2007

Filter by week: 1 2 3 4 5

WCF Transport Security With Certificate Client Authentication.txt
Posted by ESPNSTI at 7/31/2007 1:24:02 PM
Hi, I'm nearing my wits end trying to get transport security with certificate client authentication to work on a self hosted WCF service. I tried modifying the ..\TechnologySamples\Basic\Binding\Basic\TransportSecurity\CS\TransportSecurity.sln sample from the WCF Samples (http://www.micr...more >>


Visual Basic .Net Web Services Question
Posted by louciv at 7/31/2007 9:24:50 AM
I am trying to create a program that uses this web service: http://webservices.carrier411.com/wsLogin.cfc?wsdl I am supposed to pass it two parameters and it is supposed to return an array. Could some one show me how to do this in VB? I am having a lot of troubles. The parameters being pass...more >>

Getting HTTP 400 errors with multithreaded webservice calls through an authenticating ISA proxy
Posted by JohnH at 7/31/2007 8:50:48 AM
Hi, In my application which has two or more threads calling web service or just HttpWebRequest I am seeing some HTTP 400 errors retrun in the response. All the calls are going through the same ISA proxy the connections to which must be authenticated. The 400 error are comming fron the wed ...more >>

XML Node to XML Document
Posted by Dave T at 7/31/2007 8:32:03 AM
I have a web service method that returns an XMLDocument. When I call it from an aspx page, the intellisense says that the method is of type XMLNode, so when I try, stupidly, to get the results of the web service call into an XMLDocument in the client, it fails with the error System.Web.Ser...more >>

How to avoid first time exceptions when calling a webmethod ?
Posted by Olivier BESSON at 7/30/2007 9:44:35 PM
Hello, VB.NET 1.1 IIS 6 I'm developping a winform client app of a web service of mine. I used to set the IDE with "halt in debugger" on "common language runtime exceptions". Every time i call a method of my service if have 2 first time exceptions "System.ObjectDisposedException" and "...more >>

C# webservice - wrong minOccurs spec on WSDL ?
Posted by rt.64 NO[at]SPAM hotmail.com at 7/30/2007 7:59:05 PM
Consider the following C# webservice code and the corresponding WSDL generated by .NET: C# Webservice (Fragment) ================ ... public struct SSS { [XmlElement("AAA")] public decimal aaa ; [XmlElement("BBB")] public string bbb ; } .... public int (SSS ...more >>

Invoke Web service with filename paramater
Posted by kays.btk NO[at]SPAM gmail.com at 7/30/2007 7:12:30 PM
Hi All, I am trying to invoke a webservice and a webmethod (exposed by the WS) from the browser which accepts an xml file as a parameter. Can I specify a filename in the parameter? If yes, whats the probable syntax Any help appreciated. Cheers Kays ...more >>

Web References and maxOccurs > 1
Posted by Gustaf at 7/30/2007 12:45:59 PM
In the thread "Library differences when adding Web Reference" I reported a case where a client app couldn't access all the classes exposed by a Web Service. I've returned to this problem again, and found that it's a 'maxOccurs' attribute in the schema that causes it. Here's an example schema: <?x...more >>



Using a webservice in Windows application
Posted by Raja Yashwanth at 7/29/2007 1:38:26 PM
Hi all I need to develope a web service that I should use in a windows based application. This web service must be a layer that invokes one more webservice.Due to some security constraints I should use the URL path as https://webservice_name.... instead of http://webservice_name.... th...more >>

UDDI Registry?
Posted by Sorin Dolha at 7/29/2007 12:14:00 PM
Hello, I have two related questions: 1. Our company hosts a couple Web services that are public, and free to use for anybody (http://DlhSoft.com/WebServices/NewsService.asmx and http://DlhSoft.com/WebServices/ProductsService.asmx). However we are unable to find the Microsoft's public UDDI ...more >>

Async Begin\End Pair not generated in proxy
Posted by GlennAnthonyB at 7/29/2007 12:00:00 AM
Hi I'm just taking a look at async web services. I've generated the proxy calls in VS2005, but the async methods starting with "Begin" and "End" haven't been generated. Any ideas why these wouldn't be generated by default? Thanks Glenn VS2005/Vista ...more >>

copy file to network folder
Posted by Priya at 7/27/2007 7:12:01 PM
Hi , I'm using a web service to copy file to a network folder restricted to a specififc username & pwd. I tried <identity impersonate = treu username = "domain\user" password = "pwd"> It did not work. Thanks in advance Priya...more >>

This is an unexpected token. The expected token is 'NAME'
Posted by cashdeskmac at 7/27/2007 7:46:07 AM
Hi, i posted this error message a couple of weeks ago: has anyone come across this error before: This is an unexpected token. The expected token is 'NAME' I am getting it when trying to send an xml file across a web service layer. The xml file is well formed, having been checked wit...more >>

how to use multiple web services identified by one class
Posted by ALA at 7/27/2007 1:50:58 AM
Hi, I'm a beginner in programming with C# and ASP.NET so I don't know if my question is too simple or if it was already answered in another thread. I have written a web service which I want to use on several servers, so on each server is the same web service available, e.g. http://www.test...more >>

simple question
Posted by toudidel at 7/27/2007 12:00:00 AM
What can be named webservice? Is asp script receiving by POST method some xml data, performing and responding result, webservice or not yet? Must it be described with WSDL or not (if i want to name it webservice)? Question is: is any server script (performing e.g. xml's) a webservice or not...more >>

WSDL, SAOP
Posted by Hovhannes Asatryan at 7/26/2007 3:49:24 PM
Hello guys, I'm newbie in .NET. I have agent server works with SOAP protocol. Added web service which have getFiles and setFiles methods. SoapServer soapServer = (SoapServer)Activator.GetObject(typeof(SoapServer), http://localhost:port/Server); SoapServer is the interface with methodts...more >>

Basic WCF Security Question
Posted by FlyFishGuy at 7/25/2007 7:30:36 PM
I am attempting to perform the most basic task. I simply want to access a WCF service from another machine on my LAN. Everything works fine if the client and host are on the same box, but as soon as I move the service to another box it's dead. I'm using netTcpBinding (but I've tried others). E...more >>

Self hosting WebService with SSL transport layer security
Posted by Tobias Grimm at 7/25/2007 1:31:41 PM
Hi! I'm trying to get a WebService running (self hosting, without IIS) that uses SSL and loads the SSL key/certificate from a file (without using httpcfg.exe). I have a running service and netstat shows a listening https interface, but I can't access the service or the wsdl meta data. ...more >>

WCF services
Posted by Robert Scheer at 7/25/2007 5:08:36 AM
Hi. I am trying to understand the structure of a WCF service but some things are not clear to me. The samples I have tried set an endpoint that uses localhost, as below: svcHost.AddServiceEndpoint(GetType(ICoreElements), New NetTcpBinding(), "net.tcp://localhost:") svcHost.Open() But I ...more >>

Problems passing a dataset through a web service
Posted by John Wright at 7/24/2007 12:11:05 PM
I have a datatable I create and fill with a simple SQL Statement. I add the table to a dataset and return the dataset through a webservice to the client. I have tested the method through the Invoke page created by Visual Studio and it does return a dataset (I have attached a small portion of...more >>

architecture related for web service
Posted by Viral at 7/24/2007 4:42:01 AM
I want to work on request-response model. My problem is i want to call web service from PDA. This web service creates one xml file in one particular folder. Another system (application) reads this xml file (as request) and gives output in another folder (again in the form of xml file). Now my...more >>

URL format is changed in ASP Net 2.0
Posted by AtulSureka at 7/24/2007 12:32:13 AM
Hi, I have client server application in which I am using cookie less session. Basically client prepares the url & sends the request to the server. My server is a web application running under ASP .Net 1.1. The url format is http://domain.com/(sessionid)/Page.aspx Recently I have moved t...more >>

Web Service & Word Merge Problems?
Posted by Mario G. at 7/23/2007 7:12:07 AM
I am wondering whether there are any known problems with a web service performing a mail/word merge with XML data provided by the client? One of our developers has indicated that you can't do this from a web service. We are using Office 2007 and C#....more >>

WCF vs .Net Remoting
Posted by Marc at 7/21/2007 7:20:00 AM
Does WCF TCP have the data through put of .Net Remoting? Project I am working has significant data networking but I have not seen a comparison between WCF and .Net Remoting in this area. Thanks, Marc...more >>

Calling 3.0 WCF webservice from 1.1 ASP.NET application
Posted by skillo at 7/20/2007 2:46:01 PM
I'm having heck... I have converted a 2.0 ASMX web service to a new 3.0 WCF SVC web service. I can reference the old ASMX from a 1.1. ASP.NET application with no problem. Now, I am trying to reference the new SVC service from the same 1.1 ASP.NET application and the disco code creation is ...more >>

SoapExtension and NetworkStream
Posted by CEvans at 7/19/2007 5:10:02 PM
My Environment * Windows XP * .NET 2.0 * Visual Studio 2005 I have written a SoapExtension in c# on a windows XP machine. The purpose of this extension is to monitor progress for data being transfered over the wire. I have a web service that exposes one method. All this method does i...more >>

Multithreaded consumer
Posted by AC at 7/19/2007 11:20:43 AM
Hi. I have a C# WebService with a WebMethod that returns an array of (WebService-defined) objects. If I create a consumer exe and call the method, everything is as expected. If I then create a thread within my exe and call the WebMethod from there, my thread dies. No exception, it just dies. ...more >>

web services
Posted by AVL at 7/19/2007 5:54:03 AM
hi, i need to check the availability of my web service.... how can i do that. i dont want to call any of the methods present in web service to test availability.. i just want to ping to the web service....how can i do that.... ...more >>

Consume the Web Service Source file in VB.NET
Posted by Saish at 7/19/2007 12:00:00 AM
Hi All I am working with web services in .NET. Environment : Web Service/IIS5.1/ASP.NET 2.0 / VB.NET To Consume the Web Service Source file I have followed the below steps. step 1: wsdl.exe /l:VB /n:WService /out:binServiceName.vb = http://localhost:1251/Zillowservice/ServiceName.asmx?WSDL ...more >>

The underlying connection was closed: An unexpected error occurred on a send
Posted by Mrozik at 7/18/2007 12:00:00 AM
Hi! I have a problem - after deploying application in client environment, on some client machines occured error. Environment: App server: ASP.NET WebService/Win 2003/ secured SSL (.NET 2.0) Client app: SmartClient - WinForms (.NET 2.0) I trust all server cetrificates - at the start of clien...more >>

using web service to interact between two stand-alone VB .NET appl
Posted by MK at 7/17/2007 6:08:02 AM
Hello , I am developing a white board type stand-alone VB .NET application in which the .EXE application will be installed in two or more different client machines . These client machines will interact with each other in the way that during drawing with mouse using graphics on RichTextB...more >>

This is an unexpected token. The expected token is 'NAME'
Posted by cashdeskmac at 7/13/2007 4:10:01 AM
Hi, has anyone come across this error before: This is an unexpected token. The expected token is 'NAME' I am getting it when trying to send an xml file across a web service layer. The xml file is well formed, having been checked with XmlSpy. The size of the file is roughly 119KB. I...more >>

Only one usage of each socket address
Posted by Rodrigo García at 7/13/2007 1:26:00 AM
I have a client making web service calls to a NLB cluster. When the cluster was comprised by two machines everything went fine serving near two hundred service requests per second. Now I increased the number of machines in the NLB to four and I started getting Socket Exceptions related to 'On...more >>

string not recognized as valid datetime
Posted by Scott Holman at 7/12/2007 1:36:08 PM
I'm connecting to a java web service that defines the following complex type in the wsdl <xs:complexType name="employee"> <xs:sequence> <xs:element minOccurs="0" name="firstName" type="xs:string" /> <xs:element minOccurs="0" name="hireDate" type="xs:date" /> <xs:element minOcc...more >>

Why cant I serailize a datarow?
Posted by JP at 7/10/2007 7:36:02 AM
Im getting frustrated with .NET 2005 Who at MS decideded that a web service could not accept a DataRow as an input or reference veriable? If the results your passing to a web service only contain a single row of data, why in the world would you want to pass an entire dataset for one row. Seems...more >>

WebServices and CollectionEntities.....
Posted by kishor at 7/9/2007 11:00:02 PM
I have a following problem... I am looking for best and efficient solution for this problem. I have following entities ..(c#) public class Dog { .... some Properties and methods..... Dogs _friendDogs = new Dogs() ; Public Dogs Friends() { get { retur...more >>

Internal Web Service
Posted by Mantorok at 7/9/2007 3:26:12 PM
Hi all ASP.Net v2.0 I'm developing a WS that will be utilised by 1 application. I don't want anyone to be able to use this web service except the application, how should I secure the service? Should I perhaps assign a Guid or something that the application could provide in order to "act...more >>

Attachments
Posted by Mantorok at 7/6/2007 1:53:18 PM
Hi ASP.Net v2.0 Can you send an attachment with a web-method call? If so, how? Thanks Kev ...more >>

proxy fails to instantiate
Posted by Scott Holman at 7/5/2007 4:48:42 PM
VS2003, .net 1.1.4322 When I instantiate my generated proxy I receive an InvalidOperationException: "Unable to generate a temporary class(result=1). error CS1525: Invalid expression term '=' error CS1002: ; expected" The web service is written in java and produces RPC-Literal WSDL. I mo...more >>

exe calling WS only works with VS running.
Posted by dburkinshaw at 7/5/2007 1:22:33 PM
I have a strange issue here. I created an exe that calls a Web Service that I also created. When I run in debug mode the WS is called and does its thing. When I run in release mode (through Visual Studio) the WS is called and does its thing. I then created the install for the project, installe...more >>

How to debug IIS 500 Internal Server Error?
Posted by Spam Catcher at 7/5/2007 3:02:03 AM
Hi all, I have a webservice which is throwing a 500 Internal Server Error. It seems to be related to the signature of function (or one of the properties within the function). The web service compiles fine (VS.NET 2005) but when I try to access it, it throws a 500 Internal Server Error. ...more >>

HELP!!! .NET 2.0 - Problem with Web Service Complex Types - 500 Internal Server Error? Framework Bug???
Posted by Spam Catcher at 7/5/2007 2:50:09 AM
Hello, I am developing a web service with the following signature: Public Function MyFunction(ByVal Contact as ContactDTO) as ContactDTO When I add this function into my project, I get a 500 Internal Server Error when I try to access the web service. I believe this is a framework bug? ...more >>

Web Service invoke as NT User
Posted by backwards15 NO[at]SPAM gmail.com at 7/5/2007 1:39:43 AM
** This is the windows form code ** Private Sub btn_log_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_log.Click Dim msg As String Dim ws As New ADWS.Service msg = "testing this mail message" Dim mail As New Net.Mail.SmtpClient mail.Host = "exc...more >>

Override the Send/Receive on a web Service Proxy
Posted by Rui at 7/4/2007 10:22:01 AM
Can I override the send and receive methods on a web service proxy? I want to use the default proxy classes generated when I add a reference to a web service to create and read the SOAP messages when I call a method… but, I would like to replace the send and receive with my own code so I co...more >>

Periodically Refreshing Cache Data
Posted by blackhawk at 7/3/2007 11:56:00 PM
I have a web service that I am putting together that queries a database and some of the queries take a fair bit of time. I want to cache the data, which I can easily do using the Application object, but I want it to refresh itself periodically. The trick is, that I DON'T want the evaluati...more >>


DevelopmentNow Blog