web-services

web services call from a web application running on tomcat

When trying to make a web service (hosted on a different server) call from a web application running on Apache Tomcat 5.5.23 we are getting the below listed error. The certificates are imported to the JKS and the web service call is successfully made as part the unit testing. Appreciate your help. The error logs are an error occured:...

using a SharePoint web service as a datasource

I am creating a web application that takes data from a SharePoint list (using SP web services) and compares this information to some tables in a database. What I would like to do is create some kind of data set that would hit the SharePoint web services every x minutes and refresh its data. The web application that will host this i...

How should I store an object in an asp.net web service so that business objects can reference the object?

I am building an ASP.NET web service that will be used internally in my company. Exception and trace/audit logging will be performed by the web service class as well as the business objects that the web service will call. The logging is handled by an instance of an internally developed log helper class. The log helper must be an insta...

Actionscript to a webservice

I have actionscript function which needs to access a .net webservice, the webservice has a parameter (<List>), which is a collection of array objects, how to pass parameter from actionscript/flex for List object of a webservice. ...

Choosing a Connection String based on kind of request

Hi all, I used to have a web service through which a client could perform DB operations and a website could read the DB. Now, due to re-design needs, through the webservice a client can make DB operations. This DB is in workstation A. Through the same webservice, a website retrieves information from DB. This DB is in workstation B. DB...

soapui vs eclipse webservice explorer

I want to test fairly simple wsdls (with basic ws-security support) from inside eclipse- the main aim is to invoke webservices and capture the output for use in other supporting tooling. Performance/load testing is not a use case. I want to know how the Eclipse WTP webservice explorer compares with soapui. Questions: will the wtp tool se...

How do I post JSON payloads to a web service using PHP?

Hi all, we are using a web service which receives JSON payloads and sends back JSON payloads as response. I know how to do it c#, but unfortunately it doesn't seem easy doing the same thing in PHP. here is our c# code, what is the equivalent piece of PHP code of this?? String str = "https://thewebservice.com"; str += "?...

fully web based iphone client-server application?

Hi, I want to create one simple application for sending request from iphone(client) by using http protocol to the server for adding two integer numbers.server process the request and return the response to the client that is my iphone.retrive the result from server and show the result in my iphone.plz giv me a step by step procedure for...

Returning an XML file from a web service to android device ?

I have a set of mp3 files on my computer which i want to be the server. Now i have a web service(Songs_Collection). This web service returns the list of all songs present on the server to the user.The user can download the desired file directly from the server. I have a small problem : How does my web service get the list of audio file...

Webservice/WCF (timer update engine)

Hi, I am trying to build (csharp) one webservice /WCF engine that make two actions: 1 – Have one timer (thread), that will run in each 10-10 minutes, requesting some information (connecting with other server to grab some info - status) to update in one database. (This must be automatic and no human action will be available). The idea ...

Same Origin Policy and Web Services

If I have a WCF SOAP (C#) based web service running in my local IIS - and I make an ASP.net website, again running in my local IIS - will the javascript making HTTP request calls from my webpage be successful? Or do the same origin policy rules come into play here? ...

How to restart REST Services?

I want to restart the REST service since even after adding a new service or services I don't see any change in the help page at all and afterward all the services don't work... Is their any solution to this... worst case scenario I have to create a new project all over again... By the way Im using C# .NET 4.0 ...

web services failed

I create a web service (.svc). the web services are running successfully. when i connect through local computer, it's run successfully . but when i deploy web serivce on web server it's can't be access and show exception "Unable to automatically step into the server. Connecting to the server machine 'XXX' failed. Logon failure: unknown...

What languages can use the System.Net.CookieContainer class?

Hello, I'm working on a webservice that needs to be contacted from different clients. Since I never know what language the client will be using I was wondering if every language can retrieve and pass a Class of the type "System.Net.CookieContainer". Ex: I have a webservice that authenticates a client and returns a CookieContainer (this...

Example of SOAP request authenticated with WS-UsernameToken

I'm trying to authenticate a SOAP request using WS-UsernameToken spec, but the target device is always denying access. My non-working request looks like this. (The password I'm trying to hash is system.) <?xml version="1.0" encoding="UTF-8"?> <Envelope xmlns="http://www.w3.org/2003/05/soap-envelope"&gt; <Header> <Security xmlns="http...

Retrieving the COM class factory for component with CLSID {00020906-0000-0000-C000-000000000046} failed due to the following error: 80070005

Hi, I am getting the above mentioned error when my web service tries to open MS word document programatically through my .net webb service. When I run web service through visual studio, it works fine but when I deploy web service on IIS 7, I get the error Retrieving the COM class factory for component with CLSID {00020906-000...

Cannot upload a file to a webservice and get the response in Json format

I have a simple webservice that I would like to upload a file to. The problem is that I need the response in json. Form my experience in order to get a response in Json my request has to have a content-type of 'application/json'. But ofcourse this cannot be the case with a file upload since the content type will have to be 'multipar...

Passing collection via asmx

Hi, I have a list of pairs (CarType(Enum), code(string)). Unfortunately in this collection codes are not unique. Van,C1 Van,C2 Pickup,C1 How to pass this collection via asmx webservice. Now I have KeyValuePair[] as parametr in webMethod [webmethod] public void DestroyCars(KeyValuePair<string, CarType>[] cars) { //implementation. }...

WebServiceBindingAttribute is required on proxy classes.

I created a soap based web service and create a function named SetclientCredential which set the client credential using Microsoft.Web.Services3.Security.Tokens.UsernameToken the code sample is given below: <SoapDocumentMethod(Action:="http://tempuri.org/SetClientCredential", _ RequestNamespace:="http://tempuri.org/", _ RequestElement...

Having a fallback/default page for Cherokee when a reverse proxy is unavailable

I have a Cherokee instillation that I'm using to serve a few web applications. One blog/calendar/etc. and 2 compute intensive web-applications (1 stable version and 1 "developmental" version). All three are Django or Pylons webservices that are served with Cherrypy. I use the reverse-proxy handler in Cherokee to handle the mappings. ...