web-services

Axis2 and Web-Service

I have a web-service, I used Axis2-1.5.0 to access it, but I have two questions: It had generated most of classes as static, why it did so? [ServiceName]ServiceStub has all source, which ended up with > 9 Mb, is there any parameter I can pass so these classes got separated? ...

How do I setup IIS when debugging in Visual Studio 2010?

In Visual Studio 2010 I have created a WebService (WCF) Application and a client to consume said service. My 3 options as far as what servers to use for debugging are: Visual Studio Development Server, Local IIS Web Server, Custom Web Server. I know I can't use the VS Development Server if I want my service to be accessible outside of ...

How can I increase IIS default stack size ?

Hi, I'm testing a web service that uses xslt to manipulate XML input data. I'm getting a stack overflow exception for large input data and I would like to see if this problem would be solved by increasing the default IIS stack size. Can anyone advise how to increase the default IIS stack size ? Thanks ...

Rails - User Session Control using Webservice instead ActiveRecord

Hello there, I'm trying to find some cool and nice way to manage the session control of my application, just like authologic, clearance. But the issue is that I don't have a database, all the users are stored in a external webservice and the Login function is basically call the LoginDB(user,password, salt) and then it returns true or fal...

Anyone know any solid Web service tutorial for python?

Thanks for the help guys! ...

Using a webservice type directly through the DLL

I have a webservice with a function that returns a type (foo). If I consume this webservice in .NET through the 2.0 generated proxies, it creates a class called foo in the generated proxy. If I have the DLL that contains that class (foo) that is the DLL being used by the webservice, is there any way to have it use that class instead of...

Of web service implementation

I am trying to implement a small, very flexible REST web service. I've done it in the past, but I didn't like the approach and I still don't like. How can one parse the query variables in a more elegant way ? Doing things like: if query_variable in uri: do_things_based_on_query_variable look fairly ugly to me, especially when all of th...

Mass Emailing API? (EmailBlast).

We have a project coming up where I want to create a webservice (EmailBlast) that will talk to our 3 or 4 intranet apps. These intranet apps will make webservice calls to EmailBlast informing EmailBlast of the emails that need to be sent out. I will have a simple Approval workflow so that when a request comes in I will notify admins and ...

jQuery + JSONP + Yahoo Query Language

I want to get live currency rates from an external source, so I found this great webservice: Currency Convertor This service is working like a charm, the only downside is that it does not provide JSONP results, only XML. Therefore we have a cross browser problem while trying to consume this webservice using jQuery $.ajax(). So I found...

How often the WSDL URL should be read?

Just once to get the address location and use it forever? Every time a call is made? Or some time in between? ...

Silverlight 4: Application_Exit

How do I call a webservice in the Application_Exit event? private void Application_Exit(object sender, EventArgs e) { TestWSSoapClient.ReleaseUserCompleted += new EventHandler<System.ComponentModel.AsyncCompletedEventArgs>(TestWSSoapClient_ReleaseUserCompleted); TestWSSoapClient.ReleaseUserAsync(UserToken);} The m...

ClassCastException in Annotated WebService in JBoss & Java 6

I am using JBoss 4.0 for creating a simple Web Service using the @WebService annotation as described in http://www.jtraining.com/blogs/java-web-services-getting-started.html. However, when I hit the service as if it is a servlet (as per the instructions in this article), I am getting a ClassCastException stating that my annotated webserv...

USB device on website

Is it possible to use a USB device peripheral that I have created directly on a website. I am not sure how to start, but for example, on websites like connect.garmin.com they allow you to connect your Sat Nav and then transfer the data to the website after you have downloaded a application and restarted your browser. What do I need t...

Inherited classes returning different values - Conceptual question

This is more of a conceptual question than anything. I have a base class called "RawReader". It sets up the framework for classes to inherit it and read in specific data systems. For example, I want an app read in a known format of FoxPro database, a CSV file, or a SQL database (there is about 8 more formats currently), then transfer ...

ASMX web-services and HTTP GET

I'm trying create a ASMX webservice that can perform a HTTP GET request. I have the following simple snippet of code to illustrate what I've already done. using System.Web.Script.Services; ... [WebMethod] [ScriptMethod(UseHttpGet = true)] public string HelloWorld(HttpContext context) { return context.Request.Params.Get("userId").ToStr...

In Silverlight, is it possible to honor the ToString() method of a domain object returned from a service call?

In our domain, we override the ToString method on all our domain types. However, when returning those domain objects in response to a Silverlight service request, the functionality of ToString is lost. ToString() just returns the namespace description of the object as it is imported from the service. My guess is that the domain prox...

MSMQ/.EXE vs. Web Service.... MEF IoC?

We are debating to correct way to setup a notification service. This serivce will be called by various apps and the service will need to return relevant data back. My feeling is you just create a Web service that the intranet portal (or anything) could access by sending the user ID and in return getting any information (User 425 report ...

How to handle REST Exceptions?

Hi All, We are in the middle of a ongoing discussion about how to handle REST exceptions. Response Content type : JSON Two solutions we have: 1) Throw all the unchecked exceptions as a JSON response. 2) Send Request Invalid Response code. Arguments: When its a error, why return JSON? Just send a invalid response code. Counter Argu...

Qt HTTP Server?

I'd like to write a small HTTP server application that receives HTTP GET requests, processes them and sends out a reply. Because of the history of the application I'd favor using Qt for this, but all I can find is the other (more common) direction: Send a request to a server and receive a reply using QNetworkAccessManager. What I need is...

Pattern/Strategy for creating BOs from DTOs

Hi, I like the approach of having property bag objects (DTOs) which define the interface to my server, but I don't like writing code like this: void ModifyDataSomeWay(WibbleDTO wibbleDTO) { WibbleBOWithMethods wibbleBO = new WibbleBOWithMethods(); wibbleBO.Val1 = wibbleDTO.Val1; wibbleBO.Val2 = wibbleDTO.Val2; } This copy...