web-services

SOAP Message Expiration

How to use time-stamp in SOAP Header to implement Message Expiration? Note: Using .NET 2.0, so ASMX Services and NO WCF. ...

Windows Mobile and Windows Live ID Authentication (Web Service)

Hello! Is there anyway to implement Windows Live ID Authentication in a Compact Framework WinForm application? (C#, .Net Compact Framework 2.0 SP2, Windows Mobile 5.0 and above). Is there a Web Service to use? Thank you! ...

Problem with load testing Web Service - VSTS 2008

Hello, I have a webtest with makes a simple call to a WebService which looks like that: MyWebService webService = new MyWebService(); webService.Timeout = 180000; webService.myMethod(); I am not using ThinkTimes, also the Run Duration is set to 5 minutes. When I ran this test simulating only 1 user, I check the counters and I found...

How do you detect when the connection breaks when a web service is returning a result?

In a C# ASP .NET application I have a web service that receives a DataSet, processes it, and returns it. Returning it can take up to a minute over a slow connection. What happens in the background if that connection breaks after the last line of the web service method has run but while the data is still being sent? I tried wrapping my...

.NET VB webservice - sending soap response

I am attempting to send a soap response from a web service I have created. At the moment the response I'm sending is standard XML. How can I change this to respond in soap in this format: - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:uiew="http://HSteindotnet.restrac.com/UIEWebServices/"&gt; <s...

Using web services in different environments

We have a series of web services that live in different environments (dev/qa/staging/production) that are accessed from a web application, a web site, and other services. There are a few different service areas as well. So for production, we have services on four different boxes. We conquered the db connection string issue by checking...

Consuming Webservice in Flash CS4 - simple sample needed :-)

Hi there I'm a beginner in Flash/AS and want to try if its possible to consume a webservice given back from a SAP BW system. Just want to see how the connection works and how I can access and use the returned data (guess its XML). Found this sample http://geekswithblogs.net/pakistan/archive/2005/04/28/38590.aspx but its for MX2004 and...

How to generate the client from a WSDL file in .net?

I'm trying to generate a client from a WSDL file without using visual studio itself and didn't know what the best place was to start. A customer needs to take this same file and generate a client for a PHP application and I wanted to prove the WSDL was valid by creating a client myself (outside of studio). ...

SOAP WS-Security TimeStamp

I need to implement SOAP WS-Security using TimeStamp. Soap header should have Timestamp and expiration time and message should expire if it exceeds Expiration time. I went through MSDN link here and here. These links discuss about specifying custom properties (Created & Expires) added to header and initialized before sending any reque...

Can you call WCF web service methods from a web browser for testing purposes?

I was thinking about moving from ASMX to WCF to implement web services. One thing that was sometimes very practical with ASMX web services is the fact that you can simply enter the URL of the asmx-file in a web browser and you get a simple user interface that allows you to call the web methods directly from the browser, e.g. for testing/...

Securing .net web services for flex/flash/AIR applications

What would be the best way to secure .net web services used by a flex application (both desktop and browser) that requires login? I thought about requesting the user and password in every method of the web service, and having them stored as variables in the flex app, but I don't feel like this is the most elegant way. suggestions? tha...

what is API web services, how do you create them and why ?

what is the purpose of web services? i mean isn't all web applications a web service ? also why do people create API web services? is it to let developer's use the website's functions? kinda like facebook and youtube ? is it possible to make a API for web service where you can use C++ or VB to use the functions? therefore, someone c...

Windows Live ID SOAP Authentication

Hello! I'm developing a .NET Compact Framework 2.0 SP2 application with C#. I need to use Windows Live ID Authentication. Is there any web service to do that? Thank you! ...

What's the deal with web service generation and JavaBeans?

I recently wrote some data access methods (plain old Java) that use immutable objects for both the request objects and the resulting data objects. I like the immutable objects because they prevent a good deal of confusion from appearing in the client code which I've seen in the past when people attempt to mutate and reuse objects. Anyw...

Problem using flex to read XML in e4x format from SOAP webservice

UPDATE: The problem was not to do with namespaces or flex at all. My webservice was returning the wrapped xml. I was blaming the language I had least experience with before questioning the java... I have a basic soap webservice that I am having trouble reading the result from in flex. I'm a solid java programmer and just tryi...

What does error ORA-12571 (TNS:packet writer failure) mean in a Web Service?

Background: I'm calling a Web Service written in ASP.NET that queries an Oracle database. I know the Web Service itself works, because I've used it before other applications. So I have a web application in Visual Studio that I've been switching back and forth to point from a 'DEV' web service to a production configured version of the s...

Possible for webservice to send message from server to client?

I'm pretty sure this isn't possible with HTTP 1.1 or webservices, but just want to double check with you guys (and thus will probably be switching this application to WCF). I want to send a message from the server an asp.net webservice is running on, to the client consuming it. Is this possible without polling (IE an interrupt based mo...

Data gathering - web service or hosted web application?

I need to gather information from a number of web sites on a regular basis throughout the day and present that information to a number of client applications via a web service interface. Is it possible to do this and deploy the resulting "application" via a commercial hosting package or do I need to go to a dedicated server in order to ...

Invoking .Net Web Service with Php

I have a C#.Net Web Service and php client to invoke the web service. Web Service Methods takes C# objects as parameters and returns C# objects as follows Site getSite(siteID){ return Site.load(siteID) } or void newSite(Site site){ site.save(); } I know that WSDL tool generates c# classes and java has code generator for web servi...

How to deploy an Axis-generated soap service to an embedded Tomcat instance

Hey All, I generated a Soap Service from a WSDL and now I need to deploy it to my existing application which uses embedded tomcat (I.E. I have a class which extends TomcatServeletContainer and a main class which instantiates that class and starts the server). I see many examples for how to deploy an axis service to a standalone tomcat ...