web-services

How do you register a callback to codebehind that is called when the service call completes?

I'm using a web service with an ASP page. I'd like to keep most of what is going on here happening on the service, but I need to call one function from the codebehind. How do I do this and keep it asynch.? How do you register a callback to codebehind that is called when the service call completes? Thanks!! EDIT: EXTRA INFO: I call an ...

WSDL.exe tool - generating code for .NET Compact Framework

Hello Is the wsdl.exe tool capable of generating proxy code for .NET Compact Framework 2.0? Regards Dominik ...

Migrating to workflow makes, does it make sense?

Hi, We have very complicated code(still well written) which performs lot of stuff for a particular operation. Currently, this is performed in a service which talks to database directly. I have two goals for this service. I want to simplify the organization of the code. I want to be able to add more machines to scale in the future. T...

How to efficiently implement a blocking call with Rails, while letting the client wait for the reply.

We have a web service written in Rails. The API is published and we cannot change it. Our app communicates with a remote web service that sometimes hangs or takes several seconds to reply. Client -> Our Web Service -> Remote Web Service Currently, if the remote web service hangs for 5 seconds, one of our rails processes on our web s...

ASMX: Setting User/Password at run-time

When I want to connect to my web service If I write it like this: m_TransferServiceSoap.Credentials = System.Net.CredentialCache.DefaultNetworkCredentials; it is working. but I need a Login Form. so users can enter their user/pass so I am creating a NetworkCredential instance and setting its user/pass members from what I get from th...

Apache Hosted Web Service Doesn't Handle TRemotable classes.

I started with an ISAPI DLL which I created with Delphi 2009, This module perform as expected when runnining in ISS 5.1 on Windows XP. This same module when hosted using Apache 2.2.15 and mod_isapi does not function correctly. To eliminate the possibility that the mod_isapi has some flaw, an Apache Shared Object module of the same servic...

Unhandled Exception: C# RESTful Webservice

Hi, I am trying a simple C# Restful Webservice example. I have the service running. I create a console client to test the Webservice, i get the following exception: Unhandled Exception: System.ServiceModel.CommunicationException: Internal Server Error Server stack trace: at System.ServiceModel.Dispatcher.WebFaultClientMessageInspec...

RESTful copy/move operations?

I am trying to design a RESTful filesystem-like service, and copy/move operations are causing me some trouble. First of all, uploading a new file is done using a PUT to the file's ultimate URL: PUT /folders/42/contents/<name> The question is, what if the new file already resides on the system under a different URL? Copy/move Idea 1:...

Problems with IIS

Hi, I have a web service application which will be running on IIS, but I am having problems when running it. I have the following scenario: When running the application on IIS on Windows 7 by copying the application in the inetpub/wwwroot folder- i am getting the error "An unhandled exception occurred during the execution of the curren...

Invoking a WCF service using claims based authentication

I have a WCF service deployed in a server machine. We are using claims based authentication to authenticate the WCF service caller. The WCF service is restricted by using IIS Authorization rules. How do I programmatically invoke the WCF service using .NET? The client app uses a proxy generated using SVCUtil. calling the service reads ...

Windows Service Start-Up Error 1069

Hello, I am installing a new windows service coded in C# on a server. I installed the service fine on the server, but once i manually start up the service on a server, with the same login credentials that our other services use, i get the fatal error message notification: "Could not start the %service name% on Local Computer. Error 106...

WinMo > ASMX WebException - how to get details?

Okay, we've got an application which consists of a website hosting several ASMX webservices, and a handheld application running on WinMo 6.1 which calls the webservices. Been developing in the office, everything works perfect. Now we've gone to install it at the client's and we got all the servers set up and the handhelds installed. ...

Apache CXF Client for Dynamic Endpoints

I'm now using Apache CXF as a web services client for a .NET service to get around NTLM authentication. It works great, but I'm wondering why I can't seem to be able to set the web service target endpoint. CXF seems to want the WSDL at runtime for some strange reason - not sure. It takes the physical endpoint from the WSDL, which work...

Most efficient way to download media files from a server from within an iPhone app.

Hi, I have an iPhone application which contains a lot of media files, so far we have been able to keep the size of the iPhone app to less than 20 MB. We add new content with new updates, it would be difficult to keep the app size within the 20 MB limit. The right thing to do here would be to fetch the files on demand from a media/web s...

Javascript - jquery ajax post error driving me mad

Can't seem to figure this one out. I have a web service defined as (c#,.net) [WebMethod] public string SubmitOrder(string sessionid, string lang,int invoiceno,string email,string emailcc) { //do stuff. return stuff; } Which works fine, when I test it from the autogenerated test thingy in Vstudio. But when I call it from jquery...

Passing parameter to SOAP Web Service Requests Using Visual Studio Team System 2008

How can I pass in the current datetime parameter to a SOAP request? I know you can pass in parameters by adding a datasource to the web test project and reference it like this {{DataSource.TableName.FieldName}}. But I want to pass in current datetime parameter as a dynamic value (something like DateTime.Now). How do I go about doing thi...

JAX-WS, Weblogic interoperability problem - No start attachment specified in the Multipart/Related document

Hi all! I'm trying to use JAX-WS on WebLogic 10.3 as a WS Client consuming a Web Service on a WebLogic 9.2 server. The problem I have is that when I add an attachment part in a SOAPHandler, the JAX-WS implementation does not include a Start parameter in the Content-Type header. Apparently this should not be needed, but the WS implement...

Are there any OSGi web service / SOAP clients out there?

I'm looking for any webservice client that can be run inside an OSGi container and connect to a simple web service using SOAP, doesn't sound so hard does it? Oh, and it has to work under Java 1.5, so the JRE jax-ws wont be present. The problem is I've tried a few solutions now, and although each solution works in standard Java using i...

How to efficiently manage files on a filesystem in Java?

I am creating a few JAX-WS endpoints, for which I want to save the received and sent messages for later inspection. To do this, I am planning to save the messages (XML files) into filesystem, in some sensible hierarchy. There will be hundreds, even thousands of files per day. I also need to store metadata for each file. I am consider...

Visual Studio 2010: adding a service reference to a 2008 generated wsdl

Doesn't produce a app.config . In my team there is a guy who has Visual Studio 2008, he created a webservice. Then there is me, adding this webservice to a console project. Adding the service reference goes without problems but no valid app.config is generated. It's just empty <configuration> </configuration> When I disable 'reuse t...