web-services

In-process SOAP service server for Java

OK, I am developing a program which will be deployed to lots of machines (Windows, Linux, AIX, z/Linux, openVMS, etc.). I want that application to contain a SOAP web service, but I don't want to bundle tomcat or run a separate service for the services (I want them in the same process as the rest of the application). Basically what I'm ...

Generate SAML 1.1 (and possibly 2.0) assertions

I'm looking for a very easy and quick way to generate some SAML assertions. This is only going to be used for testing (using SOAP UI). So I just need something that can generate a valid assertion, signed or unsigned, that I can then drop into SOAPUI and send off to my Web Service. I know how to add the assertion to the SOAP message and a...

Design pattern for iPhone -> web service functionality?

I'm developing an app that will talk with a web service exposing multiple methods. I'm trying to figure out what the best pattern would be to centralize the access to the web service, give options for synchronous and asynchronous access, and return data to clients. Has anybody tackled this problem yet? One class for all methods seems ...

What is faster: web service or XML server output?

The Central Bank of Russia as any other central bank provides a service to get exchange rates between ruble a number of other world currencies. Web service: http://www.cbr.ru/DailyInfoWebServ/DailyInfo.asmx XML output: http://www.cbr.ru/scripts/XML_daily.asp?date_req=25/11/2009 .NET can easily read both. But what is faster and more re...

How to customize response structure when working with Axis2 REST web services?

Hi I'm using Axis2 1.4.1 to expose RESTful web services. I need to return xml structure (or any other for example ATOM xml or RSS xml or JSON structure) of my choosing. Axis2 out of the box returns it's own default xml structure (which is SOAP like). The question is what is the right way to customize this. Is it via Handlers? Is it via ...

What is the maximum size limit for SOAP response for JAX-WS?

This is regard to my question On JMeter here i found the SOAP message size can be a problem for the exception. What is the size limit of SOAP response for JAX-WS webservices?. ...

Web Service works in IE7 but not Firefox

Hi All I have a .Net web service that I call from javascript using: $.ajax({ type: "POST", url: "http://myServerIP/Myervice.asmx/MyMethod", data: "{}", contentType: "application/json; charset=utf-8", dataType: "jsonp", success: function(msg) { alert('sucess ' + msg); }...

Svc aspNetCompatibilityEnabled="true" is causing ServiceActivationException

I have a series of svc files within a web application, they all worked fine but I have a need to run with aspNetCompatibilityEnabled set to true and now I get the following exception System.ServiceModel.ServiceActivationException: The requested service, '...' could not be activated. See the server's diagnostic trace logs for more inform...

WHen consuming a web service using c# no data is returned

i've got a webservice that is running on my local iis. Now i am trying to consume this webservice from a windows application. I've added loggin in the web service that i am sure it is actually returning the data and it is. But when i try and retreive it from my application it returns an empty datatable. Any suggestions It actually bre...

Calling java SOAP web-Service from iPhone

Hi, I have a query regarding calling java SOAP web-Service from iPhone. I have successfully implemented calling .asmx type web services. But I am getting following error when I try to implement same for WSDL. Error Code: 407 Proxy Authentication Required. The ISA Server requires authorization to fulfill the request. Access to the We...

What is the preferred method for building web services in .Net?

I am confused as to what is the best method for building a web service in .net. Giving the fact that it needs to be highly scalable. Any suggestions? ...

Webservice on Navision / Microsoft Dynamics version 5... or else?

Go bounty! This question has earned me a tumbleweed badge (7 views in 7 days!), which is somehow a strong confirmation that Navision has a very limited market share, which - I suspect - should be a confirmation Navision is neither all that great piece of software... But hey... that's what we got as a back-end, so I am ready to fight w...

Storing XML from a web service in C#

Quick simple question really. I'm sending data to a web service in C# and its giving me XML back. It is a SOAP 1.1 and/or 1.2 web service. I'm not sure how to properly recieve this data and then get the information I need out of it. Here is my code to send it try { _webService.ProcessCard(sVariable1, sVariable2); } catch ( Except...

Force WCF to call a method on every request before entering actual function

I have a RESTful WCF service with many different functions. For each function I need to call an authentication method that I have written. I can manually call this method on every request but I was looking for a way to force the WCF engine to call this method before these functions are entered. Does anyone know if this is possible? Che...

C# - First attempt with WCF in VS2008

I am writing my first SVC and am missing something. It all compiles fine but the page does not seem to return anything from my service. Service Code: namespace RivWorks.Web.Services { [ServiceContract(Namespace = "http://www.rivworks.com/ws/")] [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirements...

Open Source oAuth supported REST server

Hi Folks, I know what is the oAuth protocol and oAuth consumer and how they works, This question might be ridiculous, but i would like to user REST server in my proof of concept project, it should be open source and i prefer to C# and also it should be support to oAuth protocol. I didn't find anything about that. does anyone have any id...

How to verify if the Web Service caller is my web site?

For security reason, i need to garantee that only web client running an specif web site can access the web service. I'm doing verification over the domain request only, but i need to do some more robust. I think is too easy to break my security check. ...

creating API using adapter pattern

I am working on an API for several web services, which all return a list of products. However, the objects returned are quite different. They have some overlap in member variables and methods, but also a number that are either conceptually different or slightly different. What would be the best way to structure the API? I think this is t...

How can I use Appstore API to get top100 list? What is the common architecture to build a appstore application website?

I've found a PDF file of Appstore search API, that I can use some parameters to fetch an application's detail information.(sorry I forgot the download url, but I found it in stackoverflow) But there are so many sites that show you a Top100 list(like appshopper.com), and such as Mobclix.com also provide you the rank information.How can t...

ASP.net Script Service consumption in javascript

I have a script service in asp.net and I need to consume this WS from javascript using JSONP (Script tag injection; since it is cross domain, no $.ajax() call). In this case, where the input to the web method is a complex structure, I have to create the input structure at the client. How does matching of the client-side structure to the...