Archived Months
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
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 > asp.net webservices > february 2008

WCF 3.5 and Problem with KnownTypeAttribute
Posted by coconet at 2/29/2008 11:34:26 AM
I have an Interface and an implementing class (receiver) and calling class (sender) in a single DLL. The DLL is referenced in a web site that received WCF calls and also in a seperate web site that makes calls to the WCF site .svc. Why would I get an Exception about KnownTypeAttribute? ...more >>


Try to make a web service out of a wsdl ...
Posted by g-forsmo@hotmail.com at 2/29/2008 6:08:05 AM
Hi! Can I ask you to try this? Below you see a wsdl? could you try to make a .NET web service out of ths wsdl (under localhost)? Some criterias must be met in the new .net web service: - target namespace must be the same (http://no/brreg/BReMS/WebService/ services) and <s0:service nam...more >>

Web Service Start Up
Posted by Erick at 2/28/2008 5:14:18 PM
I'm trying to speed up my web services. My problem is that the data takes a while to build so I cache it and only refresh the data every 24 hours. However, the data will only cache after the first person requests it. This causes a 3 minute delay before the user gets a response and the session t...more >>

Sharepoint Profile Service - Stumped
Posted by SirCodesALot at 2/28/2008 3:15:51 PM
HI All, I am trying to read data from a Sharepoint web serivce using Javascript. However, the service always returns the error: "soap:ClientServer did not recognize the value of HTTP Header SOAPAction: http://microsoft.com/webservices/SharePointPortalServer/UserProfileService/GetInCommon" ...more >>

Problem matching WSDL
Posted by Rob Hill at 2/28/2008 1:45:23 PM
Hello, I have a web service that I am writing that has to conform to the WSDL given to me by my integration partner. There is a section in the schema that I am unable to duplicate. Here is the snip: <s:element name="SubmitTransactionResponse"> <s:complexType> <...more >>

timeout error
Posted by AVL at 2/28/2008 6:33:05 AM
Hi, I've a method in my web service..which makes a call to db and sends back a dataset.. the query takes 2 mins to fetch the results..by that time i'm seeing a 'operation has timed out error' on my screen.. is there any to get rid of this error?...more >>

Somebody please respond- Error in Hot Fix KB929729
Posted by Jain at 2/28/2008 1:39:01 AM
Hi, The moment I uninstall this hot fix (KB929729) my webservice starts working if I install this hotfix the webservice returns the response with followng error:System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a receive. Please note this erro...more >>

WCF 3.5 And DataContract for List of Complex Type?
Posted by coconet at 2/27/2008 3:56:10 PM
I have a WCF receiver method that takes an IPrincipal and a List<MyClass> as parameters. What should I do to my custom IPrincipal-implementing class and the MyClass class concerning DataContract attributes? The return type of the "webmethod" is List<MyClass>. The client is .NET 3.5 just like t...more >>



Example of using Static wsdl in a .net web service
Posted by Geir Forsmo at 2/27/2008 6:57:12 AM
Hi! I am trying to create a web service from a wsdl from a external part. The external part is running as a client, but forces us to use their wsdl specification because they are communicating against several other parts which also must follow their wsdl contract. Now we are the only one that...more >>

WCF 3.5 Hosted in IIS Sample?
Posted by coconet at 2/26/2008 10:50:12 PM
I have a class a method that accepts a custom Type and a string as parameters. I would like to expose this class with a WCF web service in .NET 3.5. Hosted in IIS. Can anyone show a sample of an ASP.NET 3.5 web site making a synchronous call to the WCF service? I have web-searched all o...more >>

Webservice drops multithread application
Posted by Mr. Murdock at 2/26/2008 2:19:02 AM
Hello, I have a multithread method that calls a really long SP. It takes around 2 hours to run. this method is in a Webservice. I'm using Thread object to control the multithread procedure and each thread creates it own data connection to avoid connection already open exception. It star...more >>

Web Service returning untyped DataSets only; how to get typed data access?
Posted by UL-Tomten at 2/26/2008 1:05:24 AM
I am consuming an ASP.NET Web Service which returns only DataSets for all operations. The format/schema of the data returned by each method is known and doesn't change. Untyped DataSets are inelegant to use on the client when the data format is known, so I want typed data access to each response...more >>

Riddle me this....
Posted by jim at 2/24/2008 9:05:57 PM
I have been tasked with the upkeep of several (as many as 60) websites for a small franchise. Each store has it's own domain currently hosted at it's own web host. Each store's website is drastically different from every other. They'd like a unified face on the franchises - which makes pe...more >>

.net 3.5 Web Service in IIS on XP PRO SP2
Posted by msnews.microsoft.com at 2/21/2008 10:47:06 AM
I am using Windows XP Pro w/ SP2 and IIS to host an ASP.NET Web Service, I have developed the Web Service in VS 2008 and .net 3.5. IIS was installed AFTER .net 3.5 Framework. I remember that with .net 1.1 and 2.0, I had to run a command line to register/install the framework with IIS, but I see...more >>

Is it possible to put web service call in a queue??
Posted by cooleader320@gmail.com at 2/20/2008 9:01:19 PM
Is it possible to call a web service by MSMQ? my scene as follows: I have a web MyService. WebMethod1(string reponseXML) WebMethod2(ResponseEntity reponseEntity) I want to make sure always successfully when calling MyService.WebMethod until service is available. (because of some reas...more >>

Problem adding a reference to a web service.
Posted by VGE at 2/20/2008 6:25:16 PM
I am having a problem when trying to add a Service Reference to a web service created in php using NuSoap. If I run the wsdl through a validator it comes back clean and if I try it at soapclient.com (http://www.soapclient.com/soapclient?template=%2Fclientform.html&fn=soapform&SoapTemplate=%2FS...more >>

CommunicationObjectFaultedException under Vista
Posted by Danie Cigic at 2/20/2008 4:56:00 PM
Hi I changed from XP to Vista and now when my web client call service (WCF) hosted by windows service I get CommunicationObjectFaultedException (it did work fine under the XP). Service is using wsHttpBinding. I created a console client to call same service and that works without any problem...more >>

xsi:nil=true vs missing element
Posted by Nick Locke at 2/20/2008 4:16:40 PM
Assume that my XSD defines MiddleNames as minOccurs=0, maxOccurs=1, nillable=true. From my XSD and WSDL, I am using WSDL.EXE to create a Server Interface which I can then implement. All ok so far. But, I need to be able to differentiate between these three scenarios of incoming data: <Re...more >>

Accessing intranet Business Layer using web services
Posted by paul.leo@gmail.com at 2/20/2008 1:00:31 PM
Hi, Our company has a three tier (Data Access,Business Object,UI) intranet application. Now, they are planning to build a web site and host it, so that some external users will be able to use it. This web site needs to talk to the Business Layer to fetch the data from the DB. Could you please s...more >>

Design Patterns for a Large Web Service?
Posted by Spam Catcher at 2/13/2008 5:42:20 PM
Hello Everyone, I'm preparing to build a large web service that spans 10 - 15 components with each component having 10 - 20 methods each. What is the best way to organize such a web service? Should each component have it's own ASMX file? Should I have one large ASMX file with all the f...more >>

Positioning User Controls on a designer page
Posted by Dave Petteys at 2/13/2008 1:20:02 PM
I am trying to drag a user control onto the designer page. I drag it to the desired location but it "snaps" to the upper left hand corner of the design screen and will not move. It is in a table cell. I cannot select it to redrag it to the proper table cell in the lower right hand corner. Any ...more >>

Dynamic web reference in a DLL
Posted by Greg at 2/6/2008 11:31:03 AM
Hi, I have a class library (DLL) that references a web service. This DLL is referenced by web applications. The problem is, I need to reference a development, test, or production version of the web service depending on whether I'm in the development, test, or production environment. Is t...more >>

Custom SOAP Body... How to handle?
Posted by Spam Catcher at 2/5/2008 6:12:18 PM
Hi all, The client is sending a SOAP body with the following information: <soap:Body> <MyFunction xmlns="http://mycompany/services/t1"> <header> ... Custom Elements Here </header> <body> ... My Function Call Parameters Go Here (The regular st...more >>

login validation
Posted by Rocky20 at 2/4/2008 12:16:44 PM
I need to write a web service that will take a user name and password that will be sent to us by another site and validate it through our db. I then need to send a true or false to the sender to either allow them in or not. I've done some .net development before but nothing with web services. ...more >>


DevelopmentNow Blog