web-services

What do session enabling and cookieless have to do with authentication?

Ok, we're stuck on this one for like 2 days and don't have a clue yet. We have a .asmx web service (configured as cookieless="true"): [WebMethod(EnableSession =true)] [ScriptMethod(ResponseFormat = ResponseFormat.Json)] public string SimplestWebService() { return "Simplest web service works"; } And ...

What list of values type should I use for an asmx webservice to be consumed by non .net clients ?

I want to create an asmx webservice that would return a list of companies for example but that will be consumed by non .net clients so what return type should I use ? ...

WebService not working in iphone simulator

Hi, I have developed a web service application for ios 3.1.3, it was working properly. But now I brought a new mac and installed Xcode 4.1. But the same code is not working in simulator. Could someone help Please? Thanks, Nikil ...

Flash movie consuming HTTPS WebService connects as HTTP

I have a Flash Movie (SWF) that is consuming a .NET WebService (located on the same domain) and in my Test environment everything works perfectly (Test env is all HTTP). When deployed to production (All HTTPS) an issue occurs when trying to access the WebService from the Flash movie. A new WebService object is created with the HTTPS ur...

Can I use restful as website data service?

90% information in website are static and updated by daily batch job. I am wondering I could use restful services for multi websites? If only 10% information is static, should I use it as well? Dose any body has used restful as data services for public website? My main website 's page view is round 10k/hour. Thanks ...

How should a Java Web Service return image?

We are developing a Java web service(SOAP based) that has to return certain data along with an Image. The web services are developed using MULE ESB. The consumer of the web service is a FLEX client. The text data is returned as XML. But I'm not sure how the web service should return Image to the FLEX client. As of now I can think of t...

how to pass object into web service and consuming that web service

hi, consider following code.. [Serializable] public class Student { private string studentName; private double gpa; public Student() { } public string StudentName { get{return this.studentName;} set { this.studentName = value; } } public double GPA { get { return thi...

Sign and Encrypt SOAP Messages with Apache CXF

Hello, I'm trying to write a "Secure Hello World" web service using Apache CXF also; I should note that I'm kind of new to Java and WS-* stuff. Basically, what I want to do is a hello-world web service with soap messages to and from this web service signed and encrypted using x.509 certificate(s). I have already read the tutorial on A...

Migrate from spring-ws to another webservices engine.

we are using spring-ws on our server side. I would like to migrate to some up-to-date webservices framework with contract last approach. Cause it's really annoying to write .xsd schemas. There are a lot of Java Web Services engines. Don't know which one should i select. For now i tend to CXF. Probably i would be able to generate java st...

Is django-piston mature enough?

Hello. I'm developing an advertising site. Want to use Web-Services for the requests. I mean, a publisher site will put a JS snippet and it will pull a banner through a REST GET. Is this framework mature enough to implement this functionality? Thanks ...

How to handle variation in service method inputs

Hi, I have a client application that should be able to handle the following: 1) Request sql statments that are to to be executed against the client. 2) Request Service Packs or Hoxfixes that will be executed against to the client. 3) There may be more types of tasks the client could do in the future. Executing each of these task types...

Session with Metro WebService and Tomcat

Hi Folk, i'm trying to use session with metro webservice and tomcat but i have a strange issue, look at these line of code: MessageContext mc = wsCtxt.getMessageContext(); HttpSession session = ((javax.servlet.http.HttpServletRequest) mc.get(MessageContext.SERVLET_REQUEST)).getSession(); At the first call a session is created, at the ...

Accepting XML as method parameters in WCF RESTful Service

Folks, I'm about 90% of where I want to be with my WCF RESTful service but I'm having a little trouble with figuring out a good way to do POST data. I want it to work the way it does in the MVC engine where the body of the HTTP message in the POST is run through the model binder and it tries to convert that data into the data type of t...

Get "Invalid web service call, missing value for parameter" error when calling a web service method using jQuery

This is my aspx file code: var DTO = { "'productCategoryId'": "'10'" }; $.ajax({ type: "GET", url: "/WebService/DsmWebServices.asmx/GetProductSubCategory", data: DTO, contentType: "application/json; charset=utf-8", dataType: "json", success: function (msg) { window.alert("success"); }, error: function (msg) { } }); This is...

Design question about Web services and WCF

I have a service method with a couple of parameters that will be always provided and additional parameters that will change by names and number of parameters (I will know which parameters to expect by the ACTION field) To solve a design problem like the above I created a web service with the parameters that will be always provided and o...

WebRequest and WebService call asynchronously in C#

I have MVC application (applies to non MVC as well) where a user is posting in data. I need to take this data, send it off to two seperate end points (one using a WebRequest form POST and one using a Web Service), parse the result, and send the result back to the original user. The issue at hand is that both end points take about 20-30...

Difference between SaaS or PaaS

Is there any general standard that defines what is a SaaS and what is a PaaS. The 2 seems to be used interchangeably? My guess is that everything is SaaS, so is there something about PaaS that makes it different from SaaS and better called PaaS? ...

Restful service in .NET with WADL instead of WSDL

Hi all, I used WCF to create a restful web service in .NET, by means of a .svc file. The web application automatically produces a WSDL file. AFAIK, the WADL is more natural for a restul web service. How could I create a restful service in .NET (preferably with wcf) that produces a WADL description? Note An answer like "RTFM" is acce...

Requirements for a WS to be considered restful

Hello all, in an answer from http://stackoverflow.com/questions/1261954/what-gets-classified-as-a-restful-web-service it is stated: There are a number of other constraints that a service must respect in order to be considered RESTful Where could I find the list of constraints? Thanks. ...

Invalid XML generated from Flex WebService

I am trying to get Flex to communication with a Spring-WS webservice. But Flex generates a SOAP request that is not validated either by a PayloadValidatingInterceptor nor by soapUI. The problem seems to be related to the use of XML namespaces. The not validated message looks like : <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoa...