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 > august 2006

Filter by week: 1 2 3 4 5

How do I pass a message or variable to a web service?
Posted by needin4mation NO[at]SPAM gmail.com at 8/31/2006 1:33:34 PM
I have this in my web service: public XmlDocument GetDataFromDB(string name) { .... do some stuff with name variable..on the database... return the XmlDocument to my datagrid; } Now, in my client default.aspx I have a button that calls this function: public void DataBindFrmWS(str...more >>


two webservice proxies
Posted by DBC User at 8/31/2006 8:03:31 AM
Hi, I was given a web service url and to develop client side code. When I add the web references, in the reference.cs I look at it, it has 2 proxy classes. First one is proxywse and second one is proxy (see only wse difference). The first class has new methods I need and the second class does...more >>

Webmethod is sometimes executed twice after one request
Posted by Ed Sonneveld at 8/31/2006 12:00:00 AM
Hi, I have hosted my webservice at a hosting company and it has been working fine for 2 years now. The webservice is called by winforms clients over the internet, using the proxy class generated by visual studio. What I do not understand, however, is that sometimes (say 1% of all calls) ...more >>

Custom Serializable Objects
Posted by Techno_Dex at 8/30/2006 12:11:19 PM
Has anyone come up with a slick way to make Custom Serializable Objects to behave like DataSets when using WebServices? What I'm looking for is some way to force the WSDL generated code to create a reference to my custom object's namespace instead of creating it's own copy of the object in it...more >>

What is HTTP SOAP ?
Posted by Andy Kendall at 8/30/2006 12:02:52 PM
Hi, This article states the following in relation to ASP.NET default test harness web pages. "These test pages can be used to invoke your WebMethods, but the test harness does this by making HTTP POST requests to the server rather than HTTP SOAP requests. SoapExtensions only work with SOAP ...more >>

My WS doesn't work in get request
Posted by Nemo at 8/30/2006 2:50:29 AM
Hi, I've a web service working ok in POST request but when I try to invoke it by the browser url, in GET format, the server throw a error "Request Format not Known" I try invoke this simple WS but doesn't work too: [WebMethod] public int Sum(int A, int B) { return A+B; } The url that I try...more >>

Consuming WebService using SSL and Authenticated with X509 Certifi
Posted by David G at 8/29/2006 10:19:02 AM
My company has a Webservice that is currently running in production. It is secured using SSL and clients are authenticated using X509 certificates. I am able to consume the Webservice methods in a Framework 2.0 c# Forms based application where I instantiate the X509 Certificate by pointing t...more >>

Web service
Posted by BJ at 8/29/2006 12:00:00 AM
I have problem when starting web service from my windows mobile 5.0 emulator program. It shows me message: Could not establish connection to network and I don't know why. When I start that service from internet explorer in pocket emulator it works fine! Can anyone help? Tnx! ...more >>



Lost in WEB services
Posted by carl.jung NO[at]SPAM hotmail.com at 8/28/2006 3:28:03 PM
Hello, I just started with WEB services (now that I see that one can create a WEB service from SQL 2005!!!). Anyhow I have a nice book "XML WEB services" step by Step that I find very good (but a touch too old!). By reading the first chapters of the book I understand that there are WEB servi...more >>

Asynch WS Debugging
Posted by Techno_Dex at 8/28/2006 3:15:11 PM
What is the correct way to debug a WS which makes it's call Asynch? ...more >>

Naming Convention for Web service method name
Posted by Debasish Pramanik at 8/26/2006 12:00:00 AM
Hi All, Is there any standards to be followed for method name while writing Web Service. For e.g. Should we follow the camel case standards or Hungarian notation. -- Regards, Debasish Pramanik ...more >>

Can a webservice be implemented as a Singleton
Posted by William at 8/25/2006 5:57:36 PM
I have a need to implement a webservice where speed is of the essence. This web service will process product orders in a B2B scenario where SLA's are critical, as well as collect metrics on the duration of various milestones through the application layers path that will be persisted to a BizTa...more >>

Consuming multiple webservices and combining to single webservice
Posted by Togacaptain at 8/25/2006 3:14:02 PM
I have a large database driven app that allows multiple web services to be deployed each allowing access to different parts of the database. I want to build a C# service to consume all of the web services exposed and then open them all up through a single generic web service. The reason for th...more >>

Passing Data from ASP.Net Web Application to Axis Web Service
Posted by zykes at 8/24/2006 2:05:25 AM
hi... I have this problem, how can I access an Axis Web Service from an ASP.NET Web Application and pass data/parameters to this Axis Web Service. Any codes in this situation? help... thanks in advance... ...more >>

Throwing Errors in Web Service
Posted by Anthony Biondo Jr at 8/23/2006 12:46:10 PM
I was wondering how to handle an error in a web service. If our web service encounters a connection error or any other error what is the best practice for returning an error? Do you return a blank result with an error attached or is there some other way to do this? thanks, Anthony ...more >>

Web Service Returning Data Best Practice
Posted by Anthony Biondo Jr at 8/23/2006 10:51:59 AM
I am trying to figure out the best way to return data through a web service. If the value is a single value I can just set it equal to the web service name. If I am returning a set of data I have seen a couple ways to do this. The dataset coming back to me is a SybaseASE Data Reader. Any help y...more >>

FileNet CEWS_DIME Web Service issue
Posted by Kaushik at 8/23/2006 6:09:02 AM
Hello everyone, I have been using FileNet P8's web services in our ASP.Net 1.1 web application for a while using WSE 2.0. Interestingly enough, every now and then one of the FileNet's web services named FNCEWS35ServiceWse do not show up in object browser or intellisense and the non WSE versio...more >>

add web reference problem with HTTPS
Posted by scott mcfadden at 8/22/2006 9:41:02 PM
Using VS 2003, I can not add a web reference to our production server's ..asmx URL using HTTPS. I will put in a URL like: https://mycompany.com/myapp/myservice.asmx VStudio will display the web methods from that URL and when I click on OK to download/build the dynamic web proxy code, I ge...more >>

SOAP exception
Posted by Yossi at 8/21/2006 1:00:45 PM
VS2005 I have a web service that runs just fine. On the server side I always return a string that either indicates failure or returns the requested data. I want to raise SOAPExceptions instead of returning a string with the value set to "method failed". So I modified my code, but I am u...more >>

Object reference not set to an instance of an object.
Posted by syed at 8/21/2006 7:45:01 AM
Hi all, I am trying to invoke xml web service from dot net assembly . it is fails to create the proxy object and throw the below exception. Pls any suggestions. Error Desc: Object reference not set to an instance of an object. Description: An unhandled exception occurred during the exec...more >>

Problems with response from webservice.
Posted by Jannicke at 8/21/2006 1:55:01 AM
Hi. I have a project that contains a webservice. To test my webservice I have another class in the same project. In the project I have added a webreference to my webservice. In my class file i call the webservice which should return a string value in the response. The problem is that the respo...more >>

How to create a WebService with Document/Literal
Posted by Rodrigo C. Souza at 8/20/2006 6:08:02 PM
Hello all, I´m trying to create a simple web service to be called by a J2ME application, but when I call the tool to create the stub classes it give me following error: java.lang.Exception: Soap binding uses wrong encoding SOAP style (rpc). Document/literal is the only supported SOAP style....more >>

Is Microsoft.com Web Services 1.0 available ?
Posted by Tony Girgenti at 8/20/2006 12:51:24 PM
Does anybody know if the Microsoft.com Web Services 1.0 is available ? In reading the article at this web site: http://msdn.microsoft.com/webservices/webservices/building/livewebservices/otherwebservices/default.aspx?pull=/msdnmag/issues/03/12/xmlfiles/default.aspx It gives all of the links t...more >>

FULL URL from VIRTUAL path
Posted by tommaso.gastaldi NO[at]SPAM uniroma1.it at 8/18/2006 4:42:53 AM
Hi friends I was in the need to find a sort of "definitive" :) solution to transform a virtual path such as "~/MyDir/MyFile into a full web address. In particular I needed it * within web services *. I would like to be informed that the framework provides a function to do that, but for no...more >>

Proxy Authentication Required using VS2005
Posted by rcp at 8/18/2006 4:25:14 AM
Hi all, I've read all posts from all existing threads and none of them worked to solve my problem, although its exactly the same. I'll try to explain my case and see if a kind soul could help me out: I've a win32 service in C# on a client machine A, which accesses a WS (C#) on a server machi...more >>

Webserice Client exception message
Posted by VBTECH at 8/17/2006 12:47:03 PM
I have a client app consuming a web service. Web service has reference to a com dll. Right now client app is diaplying error in the following format. "Server was unable to process request. --> Error - order number does not exist" I dont want to display "Server was unable to process request...more >>

No Ports and Methods were found on this page
Posted by Mongkon at 8/17/2006 2:23:01 AM
I use Visual studio.net 2003 for develop a web application by communicate with Web service (it has been developed by Java) and I has added web reference but It can’t to and show error message bellow “No Ports and Methods were found on this page” Please help me, to find solution and r...more >>

Pass by reference to a WebService
Posted by David++ at 8/16/2006 11:20:01 PM
Hi folks, I would be interested to hear peoples views on whether or not 'pass by reference' is allowed when using a Web Service method. The thing that troubles me about pass-by-reference into a WebService is that essentially we are passing an address of an object which resides on the 'lo...more >>

Parameterized Constructor
Posted by Peter at 8/16/2006 11:00:01 PM
Hi, When I update/add a new web reference to a web service class with a parameterized constructor, what is preventing the generated proxy from including a definition for the parameterized constructor as well as the parameterless one? Regards, Peter ...more >>

Inner exception: Could not load file or assembly ...or one of its dependencies. The system cannot find the file specified.
Posted by Yusuff at 8/16/2006 10:35:39 AM
Hi, I Have created an external assembly to generate a GUID. The class is static. I am trying to access it in the Message Assignment shape in the orchestration. It seems that I can access the assembly at design time. Since I can see the method when I add a dot next to the class. But after I...more >>

Sending text to my webmethod returns exception
Posted by NO[at]SPAM rturo at 8/16/2006 8:41:01 AM
I have a webservice running and I have a method with a string parameter. The method is quering an xml file but i need to enter the exact letter case in the string to get the right reult otherwise is returning me and Exception. for example this xml... <location id="123">Finance</location> <...more >>

web services with Binary format
Posted by Ripal at 8/16/2006 3:06:01 AM
Hi How can I create web service with Binary format instead of Soap format? Thanks, Ripal...more >>

BindingFailure was detected
Posted by nickname at 8/15/2006 11:44:01 PM
I have a simple web service with a method that returns a Boolean: using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class Serv...more >>

.NET Soap calls fighting each other in Excel XLA's -- URGENT HELP NEEDED!!!
Posted by Fish at 8/15/2006 3:16:21 PM
Basically the problem is with two separate XLA's loaded in excel that both use .NET to send and receive soap calls. The issue seems to be when both xla's are loaded and one of them tries to send a soap message with a header attached. We checked the raw soap messages during this instance and th...more >>

Error consuming web service "Remote Server returned an error: (500
Posted by Haxan at 8/15/2006 9:27:01 AM
Hi, Im testing a web service from my windows app in C#. I create a soap body and pass to the HttpWebRequest and then get the response as below. private void TestService() { string quotes = "\""; // Set the uri to send the request to string requestUri = "http://localhost/Te...more >>

Can I insert a Response.Write with JavaScript inside of Web Servic
Posted by Tiago Vieira at 8/15/2006 8:06:01 AM
Hi everybody, I'm trying to insert a piece of javascript inside of a web service method but It's not working. Have somebody already tryed to do it? Folow a piece of my code below. --------- Private Sub InsertReportTable(ByVal path As String, ByVal exp As String, ByVal app As Boolean, By...more >>

.NET 2.0 C# Web Service File Upload Via HTML Form Post
Posted by John Wolff at 8/15/2006 7:50:02 AM
I’m trying to upload a file to a Web Service. I have to submit the file using a standard HTML form with the <input type=“file” /> tag. Ultimately, we are submitting the file from a Flash 8 application that uses Macromedia’s flash.net.FileReference class. The FileReference class beha...more >>

Repost: Our web service design for a process flow needs to be mor
Posted by D-Someone at 8/15/2006 5:28:01 AM
I am re-posting this message as originially it did not get a single response.. Any ideas? -------------- I am trying to come up with a good design for a web service that has some user logic and business processes involved. Here a small sample of the process flow: --- Client Get's ...more >>

WebService Namespace
Posted by Techno_Dex at 8/14/2006 2:22:16 PM
Is there a way to configure a WebService Namespace in a config file that can be set (i.e. [WebService(Namespace = "http://tempuri.org/")] to [WebService(Namespace = Properties.Settings.WebServiceNamespace)])? I have a webservice that I might need to configure/move on multiple different serv...more >>

Querying port/operation namespace in SoapExtension
Posted by Mike Fiedler at 8/14/2006 1:16:01 PM
I have a SoapExtension that needs to query the WSDL port namespace and operation namespace for the current message. As far as I can tell, the only namespace info available in the SoapMessage object is on the Action property. This maps to the namespace property on the soapAction property of t...more >>

WSE enabled -- how to have unsecured web services as well
Posted by Nate at 8/14/2006 12:34:02 PM
Is it possible to run WSE enabled web services and unsecured web services side-by-side? The issue is that my web server contains various WSE enabled web services subscribed to by smart client apps, but on the web end, I also want to begin implementing AJAX to make calls to other web service...more >>

Dynamic Values in the Message Envelope header
Posted by Yusuff at 8/14/2006 11:22:38 AM
Hi I guess this must be easy, But I am banging my head since last 2 days. I am attaching an envelope schema to the body of my message. Right now I am able to give static default values to it. But I need to pick up the message ID[genearted by BizTalk] and add it to my message id tag in the...more >>

webservices and encryption
Posted by ilyas NO[at]SPAM igsoftwaresolutions.co.uk at 8/14/2006 10:54:02 AM
Hi I want to pass data using web services - can you encrpt data that a web service returns? ...more >>

Webservices with a proxy server.
Posted by UJ at 8/14/2006 10:22:51 AM
I have a machine that has a proxy server that is attempting to connect to my web service. The Web Services runs fine from a machine without a proxy server but the machine that's got the proxy server, it doesn't work. Anybody have any ideas? TIA - Jeff. ...more >>

string "changing" length
Posted by Trapulo at 8/13/2006 4:43:16 PM
I've a webservice with a string parameter. I call this webservice passing a string that is 1129 chars length. On the webservice, the received string is 1146 length (I tested sizes with string.length property). String's contents seem be teh same, so I think there is some encoding difference ...more >>

webservice.htc Access from Different Remote Server
Posted by Thom Little at 8/13/2006 1:44:18 PM
I have a simple web service that requires no input and returns a character string. I created the service and FTPd it to a remote server. The .dll to the .bin directory and the single .asmx file to a directory called Services. When referenced from a webapplication running on localhost it o...more >>

best way to send a byte array
Posted by Trapulo at 8/13/2006 1:02:40 PM
Hello, I need to send to a webservice a parameter that is a string containing an XML doc. In this xml, a node value came from a byte array (it's an RSA signature). What is the best way to convert the original byte () value to the xml and viceversa? I've tried a lof of way, as encoding.utf8...more >>

Passing an [in] parameter to an asp.net web service
Posted by mehdi at 8/13/2006 11:22:04 AM
Hi, Consider a class that I need to serialize and send over the wire. On the receiving end, the serialization bytes have to be re-constructed to form the object. The mentioned class has got some member variables and one or more constructors. [WebMethod()] public void Test(MyClass c) {} Th...more >>

How Can I debug WebService??
Posted by perspolis at 8/12/2006 3:30:41 PM
Hi all I have a webservice that I want to debug it line by line.. I enabled the Debug option in WeConfig. but I can't debug that and when I set a break point for it,that dosen't work .. thanks in advance ...more >>

The operation has timed out - Error
Posted by Pooja at 8/11/2006 1:13:02 PM
Hi, I am calling a web service to get Latitude and Longitude by sending a zip code. This is happening inside a loop (2000 - 3000 times). After say 80 times, it gives me an error - The operation has timed out. If I continue by pressing F10, the process starts again and everything is fine. Af...more >>


DevelopmentNow Blog