web-services

Passing parameters to asp.net web service using iPhone SDK

I have seen many examples of json web services with WCF in asp.net that accept one in-parameter. I need my service method to accept many parameters and return a list like this; public List<Car> GetCarById(int carId, int password, List<Car> carList); How can I call this service if I want to pass all these parameters? I'm trying to use ...

soap webservices in iphone app , how ?

Hello , I am currently working on an iphone app which requires me to use soap webservices , so that i can load data like customer info in my iphone app . If anyone knows how to so so then please tell me or anyone knows where are the tutorials or examples then redirect me . ...

Calling .net web service with complex parameters

I have seen many examples of json web services with WCF in asp.net that accept one in-parameter. I need my service method to accept many parameters and return a list like this; This is my Service.svc: public class Car { public string Title; public int Number; } [ServiceContract(Namespace = "")] [AspNetCompatibilityRequirements...

Spring 2.5.1 and Xfire 1.2.6 - NoSuchMethodError: <init>

Hi all, Trying to integrate Spring 2.5.5 with Xfire 1.2.6, I'm attempting to inject one of my beans into my service but it's failing on initialisation with the following exception: java.lang.NoSuchMethodError: <init> at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:420) at org.spr...

How to call a webservice from dataflow in SSIS?

I need to call a webservice to validate some data. There is web service task in the control flow but I need to validate during the data flow. Also, the web service supports single or batch validations so it would be nice to batch a 100 items for validation at a time. Is it best to just code all this up in a script component? ...

How declare WSDL for PHP function that returns multiple TYPES?

Hi, I'm writing a PHP web service and one function. I want to set up a web service in PHP. I need to generate the WSDL description for this web service so it's accessible from I.e. visual studio. It takes documents / search strings as inputs and recommends similar documents as output. I return an array with a first element resultCode...

SOAP WSE .Net issue with Action header

We have a SOAP Web Service we wrote that accepts work fine testing without a WSE policy set on the class using the Policy Attribute on the class that implements the WS "<Policy("ServicePolicy")> _" once we put the policy in place and the WS is posted to, the service returns back a SoapFault saying (without ever getting into our code, ...

Returning C# lists from a web service to Excel VBA

This is a long one - apologies.... Is there a reliable way of returning lists from C# to VBA via a web service? I've got a web service that returns a 'result', which consists of some doubles, strings and so on (it's an engineering calculation). I also return a list of 'Errors' and 'Messages' which contain information on the calc and g...

Trouble with SOAP Web Service

I am trying to use a SOAP Web Service provided by a third party. I am having trouble getting the service to work correctly in .NET 3.5. I have added it as a web reference and all seems to go well. Problem is when I call the service all I get returned is a NULL object. I have worked with the provider and there service appears to be wo...

AutoCompleteBox not retaining text

I have a Silverlight test project where I'm returning a List< ProductInfo > ... public class ProductInfo { public override string ToString() { return Name + " - " + Description; } public string Name { get; set; } public string Description { get; set; } } It is successfully returning the name and descripti...

How change the DateTime Universal Sort Format in .NET?

We are trying to force our datetime objects in c# to serialize using a different format than the default. We don't want to include milliseconds. The SortableDateTimePattern and the UniversalSortableDateTimePattern is read-only. ...

Is there an online user agent database?

How do you parse your user agent strings? I'm looking to get: Browser Browser Version OS OS Version from a user agent string. My app is written in perl and was previously using HTTP::BrowserDetect. It's a bit dated and is no longer maintained. I'm in no way tied to using perl for the actual lookup. I've come to the conclusion that a...

Asp.net web services videos or tutorials

Hello all, I am developing an asp.net web services. I am new to asp.net but I want to make a web service in .net 3.5. I want some video tutorial or step by step tutorial that can show me how to develop , test and then publish the web service to use it in another application. ...

Returning An Array of Objects in PHP Web Service

Hi, I want to return an array of article objects in a PHP web service, using nuSOAP v 1.114. This is how I set up the WSDL: $server->wsdl->addComplexType( 'ArticleType', 'complexType', 'struct', 'all', '', array('articleId' => array('name'=>'articleId', 'type'=>'xsd:int'), 'heading' => array('name'=>'heading', 'type'=>'xsd:string'...

com.sun.xml.rpc.tools.ant.Wscompile cannot be found

Hi I need to use a service at http://mihansmscenter.com/webservice/?wsdl so i should use jax-rpc i add jax-rpc plugin to my netbeans then righ click on my project > New > Web service client > and set: WSDL URL:http://mihansmscenter.com/webservice/?wsdl project: my project package: smsService client style: JAX-RPC Style but when cl...

How can I fetch information about the app/song/video etc. from iTunes Store?

I need to get an info about the app/song/video by item id from iTunes Store. I've found this: http://ax.phobos.apple.com.edgesuite.net/WebObjects/MZStoreServices.woa/wa/wsLookup?id=324021811&amp;mt=8 But it doesn't work with apps. Is there any public API? UPD: I can get info using this link: http://ax.phobos.apple.com.edgesuite.net/...

Best tools/pratices for documenting a WebAPI (WebServices and Restful)

I'm about to write an WebService / Restful API that I intend for public usage. I know that I'm probably opening a Pandora's box, but I'm looking for suggestions on the best documentation tools and practices. I'm going to write all the documentation [hooks] first, then code it later. This is personal, so free tools is really the only o...

Http post to asmx with unnamed parameter

I have a webmethod like this: [WebMethod] public string HelloWorld(string a) { return a; } The instructions to post to my asmx webmethod say to post like this: POST /Service1.asmx/HelloWorld HTTP/1.1 Host: localhost Content-Type: application/x-www-form-urlencoded Content-Length: length a=string However I wa...

Axis2 versus Sun Metro

Could anyone please compare Axis2 and Sun metro web service based on following parameters? Speed Hot Deployment Flexibility Stability Composition and Extensibility Security Document availability and easy to use. ...

UI, Business Logic Layer, Data Layer and where to put web services

We are developing a web application. We want to possibly reuse the work we do here for a different application that will use the same database, and use the same business rules for reading and writing to said database. Which design would be more correct Having the UI call web services, which would use business objects containing the b...