web-services

Deploying an HttpHandler web service

I am trying to build a webservice that manipulates http requests POST and GET. Here is a sample: public class CodebookHttpHandler: IHttpHandler { public void ProcessRequest(HttpContext context) { if (context.Request.HttpMethod == "POST") { //DoHttpPostLogic(); } else if (context.Reque...

How to create Flash widget for sony dash?

I like to create a sony dash apps how to create new apps? How to connect flash action script with web service? any one help me. ...

Calling a php SOP webservice from c# that does not support wsdl

Can any body have idea how to consume php soap web service that have no support wsdl. I want to add reference in .Net to generate client but failed. When i saw in browser with ?wsdl it shows message wsdl is not supported. ...

How to design service that can provide interface as JAX-WS web service, or via JMS, or as local method calls within JEE framework?

Using a typical JEE framework, how do I develop and deploy a service that can be called as a web service (with a WSDL interface), be invoked via JMS messages, or called directly from another service in the same container? Here's some more context: Currently I am responsible for a service (let's call it Service X) with the following pr...

call a webservice in the Application_Exit workaround issue AsyncCall

Hi, I am facing the issue in updating the Database during a browser close in the Application_Exit method. Since I cannot call a webmethod in this event to updated the DB, I'm trying for a workaround where I call another simple Silverlight Application for the sole purpose of performing the DB update. The issue is that when I make the A...

Avoiding GC thrashing with WSE 3.0 MTOM service

For historical reasons, I have some WSE 3.0 web services that I cannot upgrade to WCF on the server side yet (it is also a substantial amount of work to do so). These web services are being used for file transfers from client to server, using MTOM encoding. This can also not be changed in the short term, for reasons of compatibility. Se...

How to specify schema location in an xsd file?

I have an xsd file Foo.xsd. I tried following ways to refer it in a WSDL file but it doesnt work. 1) placed the xsd file in local file system and imported it as <xsd:import namespace="http://ws.test.com/" schemaLocation="file:///D:/wsdl/Foo.xsd"></xsd:import> 2) Placed the xsd file in web root folder and imported as <xsd:import name...

Connecting to a localhost Webservice via kSOAP2

What steps will reproduce the problem? 1. Staring the Application, since it's quite small I think that should do it here. What is the expected output? What do you see instead? Well actually I'm not quite sure what should be the output in the end, but while debugging the app I noticed that it won't execute the line: aht.call(SOAP_ACTIO...

Example non-trivial JEE web service implementation?

My organisation is considering switching from an in-house proprietary application server (and adhoc protocols) to a JEE5 / JEE6 framework + web services for new development, and we're trying to get our heads around how we'd do that. We're experiencing something of a culture shock; we're comfortable with emacs/vi, command-line tools, she...

Problem when creating Web Service

I am using Visual Studio 2008 SP1 and framework 3.5 sp1 on Windows XP sp3. I have Java service which I consume in my .NET application. When attemp to add web service I get next error: The operation could not be complited.An attempt was made to load a program with an incorrect format But on another machine everything works fine. There i...

Profiler tool for web service

Hi, I need a profiler that is able to measure performance of web service execition. Our application has several layers and ideally I would like to be able to dive into each web service request and see how much time was spent in each layer (server, sql server, etc...) Is there a tool that can help detect where are the bottlenecks ? Is...

URIFormatException C# WS WM6

I have a Web Service written in C# and published on my local IIS. I try to consume it from a mobile application installed on an emulator. I added in my mobile application the web reference using the IP of my local machine. The reference is created correctly, I can create proxy objects and use them to call my WS methods. The emulator is...

How to make web service methods return string value in lines format?

How to make web service methods return string value in lines format? My web service method looks like this [WebMethod] public string GetSomeLines() { System.Text.StringBuilder builder = new StringBuilder(); builder.AppendLine("Line1."); builder.AppendLine("Line2."); builder.AppendLine("Line3."); return builder.ToString(); } ...

WebService using annotations in Java

I just went through a few resources on the web to write WebServices using annotations and they claim that the web service is exposed as a servlet. But, it doesn't seem to work for me. It throws a ClassCastException. The code is below: import javax.jws.WebMethod; import javax.jws.WebService; import javax.jws.soap.SOAPBinding; import java...

help a .NET developer consume a wcf service using coldfusion

Hi, I am a .NET developer with no coldfusion experience, but I need to write cf code to access a wcf service i've set up. I've got a few WCF services being hosted in IIS 7 with WsHttpBinding, and I'm able to use the services fine by adding service references to a .NET client and using client classes. It is very straightforward for a ....

Error processing response in .net web service with WSE3 mutualCertificate10Security Assertion

I am securing a .net web service (framework 2.0) with WSE3 mutualCertificate10Security Assertion. When request are valid all is fine and the response is wellformed, but when the request is invalid (cause a invalid signature, failed check, or soapexception thrown), the web server isn't able to process the response to send to the client....

Integrated Windows authentication in IIS causing ADO.NET failure

We have a .NET 3.5 Web Service (not WCF) running under IIS. It must use identity impersonate="true" and Integrated Windows authentication in order to authenticate to third-party software. In addition, it connects to a SQL Server database using ADO.NET and SQL Server Authentication (specifying a fixed User ID and Password in the connectio...

wait for file creation

Hello, i have a silverlight app which calls a webservice. that webservice encodes a wav file to mp3 format. how should be the best way to wait for full mp3 file creation? regards ...

Can Django be used for web services?

My friend said, "Pylons is so much better for web services." My other friend said, "You can modify Django in a way to do exactly whatever you like." In Django, what is necessary to be modified (urls.py? models classes? settings?) in order to do "web services" with APIs and REST and versioning, etc etc.? ...

.NET WebService Security who can see and use.

Trying to firgure out how to test the security of a WebService. Is there some way to search a site for webservices? I have 2 applications one has a webservice and the other a reference to that service. I let visual studio build the reference in the App_WebReferences folder. The webservice works, but i started wondering, can anyone ac...