web-services

webservice return incorrect data

Hi, i'm using webservice to return data to my mobile applicaion. when some field mixed with hebrew(right direction) and english(left direction) it's break the SOAP-XML serializer someone can help me with this problem thanks ...

WCF Tracing. How I can get the exact reason for closing connection?

In my WCF service, when trying transfer large data I constantly get an error: *The underlying connection was closed: The connection was closed unexpectedly* I want to know what particular reason invokes this error, so I set up WCF Tracing and can read traces.svclog file. The problem is, that I can see in this file a lot of information ...

System.Web.Services.Protocols.SoapHeaderAttribute.Required is obsolete What should I use now?

Hi I am following this tutorial http://www.codeproject.com/KB/cpp/authforwebservices.aspx They have this in the tutorial [SoapHeader("Authentication", Required = true)] Warning 1 'System.Web.Services.Protocols.SoapHeaderAttribute.Required' is obsolete: 'This property will be removed from a future version. The presence...

Android + WS-* services ?

How to create an Android application with WS-* services connections? Where to get information for beginners - it should contain video tutorials and explanation what types of bindings are not supported. ...

How to add web-services as a layer on the top of sockets written in C/C++?

Is it possible to exchange web-services over socket programs written in C/C++? The data to exchange are in the from of xml/soap message. ...

WebService implementation in ActionScript 3

Hi guys, How can I call WebService using ActionScript 3. from my initial findings, I come to know it is AS3 dosen't support WebService and SOAP, it was in Flash MX/AS2 though. Any suggestions or links guys?? Thanks ...

Problem with authentication on java ws

Hi, I have application in C# that consume Java WS. Everything worked fine until WS was configured to use authentication. Now I should user login i password to execute methods from WS but I'm not sure how to do it. I've try var client = new MyBeanClient(); client.ClientCredentials.UserName.UserName = "admin"; ...

ASP.NET 3.5 Webservices

I am about to start my first web service in ASP.NET. when searching in google it shows RestFul Service SOAP services WCF Which one is stable?.What is the key differece among them? ...

Can you build a RESTful Business Logic Layer?

I've built a RESTful service for the Data Access Layer (DAL) of my architecture: POST http://example.com/data/User GET|PUT|DELETE http://example.com/data/User/{UserId} However, for the Business Logic Layer (BLL), a second non-RESTful service is used: POST http://example.com/accountapi/register POST http://example.com/accountapi/login...

XML: Is this valid?

Is the following XML declaration valid? <message metadata="SomeMetaData" xsi:nil="true"/> where xsi is defined as "http://www.w3.org/2001/XMLSchema-instance" If I am trying to create the above data for transfer through a ASP.NET Web Service Application in C#, how do I go about coding the above? Say for example I have a web service m...

CGI and .net webservic

Hi We have to recieve an incoming call from client's wbeserver It is looking for url webservice/somethig.cgi in our webserver How can I map this to our .net webservice? ...

Optimizing XML response of web service

In performance tests of our web service we found out that the traffic generated by the response exceeded our expectations a lot. We are querying the database and loading lists consisting of rows and columns. The type of the column is AnyType so the in the response there needs to be a type information. Therefor the web service engine (A...

Performance and monitoring .NET Apps

Hi, We've build a Web Application which is performing horrible even with alot of resources available. My boss doesn't believe me that the application is consuming alot of Hardware IO, so I have to prove that the hardware is ok, but the web app is really crap. The app is using: SQL Server 2000 with SP4 The main web application (.NET 3...

WCF WebService - Is there a way to determine that client received response?

Lets say I have a WCF service that a client can use to receive message from some server side message queue. As an example, lets say there is a server-side queue of email in a data table: ID | MESSAGE_TEXT | SENT ------------------------ 1 | Hi! | N 2 | A 2nd Msg | N Lets define our service as: [OperationContract] public...

Java: RMI vs Web Services

Hi, I need to create a distributed application consisting of multiple clients that send files (plus info about files) to one server, also query that server. Clients must access to that Web Server from inside the company for sending the files. But, occasionally some specific queries must run outside the company. I think, given what I k...

What are the benefits of using WCF over ASMX web services?

What are the benefits of using WCF over ASMX web services? Any pointers? ...

Cookies not being saved right away with Rails app

I have a Rails app that is storing some user information in a cookie, and that information isn't being stored as soon as I would like. A client that is performing five requests in a row from a single page has an empty cookie until the page has completely loaded, and then for the future, the cookie is populated. It is behaving as if the...

Separation of SOA services

Hi, I am looking to write some webservices. What defines one unit of "service". I note that as apart of one project you can have multiple .svc service files. How do you normally segment your services? For example, a banking app: Would you have one service (.svc) for? Client AddClient(Client newClient) DeleteClient(Client client) A...

How to map 2 different objects together

My current project got 2 modules ModuleA and ModuleB, inside ModuleA and ModuleB got a class call 'Student' (same class name same attributes, but for some purpose ModuleA must call ModuleB to do the actual task) . They communicate to each other through Web Services. Now I want ModuleA WS will call ModuleB proxy to do the actual task. I...

Filter parameter design question for web services

A filter criteria parameter needs to be made available as a parameter for a web service that returns monthly summary of account data. GetLedgerSummary(Fiscal Year, Fiscal Month, Filter) returns LedgerSummaryResponse LedgerSummaryResponse contains Company Code, Account Code, Fiscal Year, Fiscal Month and amount. How should the “Filter...