web-services

Do web service requests guarantee end of file is reached?

Hi, If I am transferring data over a web service, does it guarantee that the end of file was reached? what about the data send, does it guarantee it wasn't corrupted somehow? (using asp.net web services) ...

Defining SLAs for WCF Services

I have to performance/load test a bunch of interdependant services. They all use net.tcp and most use duplex contracts and internal queueing. [handrolled POCO queue class using lock(syncRoot) { if(queue.Empty) Thread.Wait(); }] Here's the approach I've come up with: Identify WCF Services to be performance tested Identify the relavan...

How to serialize nullable DateTime in a .net web service?

I am trying to pass some Subsonic collections to a client via a web service. When I reference the web service the IDE complains with: Cannot serialize member 'EndDate' of type System.Nullable`1[System.DateTime]. XmlAttribute/XmlText cannot be used to encode complex types. Is there any way of serializing nullable complex types in a .ne...

Consuming a Web service using Javascript

Is there a way to consume a web service using Javascript? Looking for a built in way to do it, Javascript framework is not an option. Thanks, RWendi ...

Hashing data to ensure it wasn't corrupted during transfer

Hi, (under asp.net enviro) I will be sending data to a central server via a web service, and I want to hash the data to ensure that it didn't get corrupted during transfer. Which hash method should I use? Can I hash when the web service is passing objects? ...

ASP.net Web Services versus WCF

Hi, A .net desktop application will send information to a central server, there will be potentially thousands and thousands of deskop apps sending info to my server(s). The data will be small in size. Would .net web services be good for this scenerio or would WCF be better suited? What are the pros/cons? ...

.Net Consuming Web Service: Identical types in two different services

I have to consume 2 different web services. Both contain a definition for a 'user' object. When I reference the services using "Add service reference" I give each service a unique namespace: com.xyz.appname.ui.usbo.UserManagement com.xyz.appname.ui.usbo.AgencyManagement The problem I have is that each one of the proxies that ar...

Capturing data from a .Net web-service that fails with an HTTP 500 error code

I have a .net web-service hosted in IIS 6.0 that periodically fails with an http 500 because a client connects to it with data that does not match the wsdl. Things like having an element specified in a method as being of type int and the inbound xml element contains a decimal number. WSDL element definition: <s:element minOccurs="1" m...

Using MS Access to return on-demand reports in a web server?

I have built a MS Access 2007 application that can create reports files in various formats (PDF, XLS, CSV, XML). I would like to allow the creation of these reports to be accessible from a web page where users would just click on a link and get a download of the report produced by my Access application. I would like to keep it simple an...

how do I add a test web service to my project in Visual Studio?

I have a test web service replicating a live web service that hasn't been made public yet (It will be public when the app is released). I added a new ASP.NET Web Service Application to my solution. Now when I try and add a web reference from the main project and choose "Browse To Web services in this solution" it doesn't find the test w...

Dummy web service

I received a WSDL file for a web service interface that our system should call somewhere in the future. Until then, I'd like to setup a dummy/mockup web service that does nothing else than to log the web service invocations and return dummy data. What I've done so far is to generate Java objects from the WSDL file. What's the fastest...

How force a maximum string length in a C# web service object property?

In this class for example, I want to force a limit of characters the first/last name can allow. public class Person { public string FirstName { get; set; } public string LastName { get; set; } } Is there a way to force the string limit restriction for the first or last name, so when the client serializes this before sending ...

Testing custom SOAP Headers in ASMX.

The test form generated by ASMX is pretty handy for testing operations. However, there is no apparent way to include SOAP headers. How can you test your headers without programming a client to use the service? ...

Passing Objects as part of SOAP Request and Getting Objects back as Response....using webservices

Hi! I have a webservice, which takes java.lang.object objects as parameters (because at runtime only know hte type of object)...after doing process, reply response setting java.lang.Object to it. I am able to send the reuest objects to webservice from calling program, but getting NotSerializable exception while building the response fro...

spring + tomcat + axis2 == jax-ws web service ?

I'm looking for a straightforward example / tutorial for implementing a JAX-WS (soap1.1 and soap1.2) web service based on wsdl definition using spring, axis2 and tomcat. hint anyone ? -- Yonatan ...

Force .NET webservice to use local object class, not proxy class

I have a webservice that I'm calling from a windows forms application (both .NET, both in the same solution), and I'd like my webservice to return a custom object from elsewhere in the project - it's a common object that they both share a reference to, as it's in the third project in my solution. When I call the webservice, it returns a ...

What is the difference between an asp.net web method and a wcf service?

I'm new to .Net and do not understand the difference. Can someone point me in the right direction? ...

.NET autogenerated web-service client: How do I avoid requesting schemas from w3.org?

I have a .NET web-service client that has been autogenerated from a wsdl-file using the wsdl.exe tool. When I first instantiate the generated class, it begins to request a bunch of documents from w3.org and others. The first one being http://www.w3.org/2001/XMLSchema.dtd Besides not wanting to cause unnecessary traffic to w3.org, I nee...

SSRS Sharepoint Integrated Mode: Where's my recursive parameter?

Could someone tell me why the SSRS web service ReportService2005.asmx has a recursive parameter on ListChildren while the Sharepoint integrated mode version ReportService2006.asmx does not? ReportService2005: public CatalogItem[] ListChildren ( string Item, bool Recursive ) Ref: http://technet.microsoft.com/en-us/library/repo...

Windows Server 2003 Server to Server proxy avoidance configuration

Is it possible to configure Windows Servers that reside on the same domain such that when a web service call is made from a web app using an IP address, the request does not go via a proxy server? The web service is running on one of the servers on the domain. I want to configure IP based security on the server that hosts the web serv...