web-services

web service not running from aspx page but running fine with ashx page

Hi, I have a web service which is running fine when i call it from a handler page (.ashx). My web service returns a zip file. But when i call the same code from my aspx page then i get a corrupted zip file. Code for calling is below and is same in both ashx class and aspx page. Please advise Dim service As New doc() Dim b() A...

Working with Cisco WSMA from .NET

Hi all I need to configure and query a Cisco router from my .NET application, and I need to do it by way of the Cisco WSMA web services interface. These services are exposed over HTTP (in my case), and use SOAP 1.2 to enclose requests and responses (schema here). So a call may look like this (example from the Wikipedia article): <SOA...

Webcontrol in Webservice

I need a Webcontrol (System.Windows.Forms.WebBrowser) in my Webservice, because I have to calculate distances between coordinates and for that I'll use Google Maps (geocoder). With the Webcontrol I could execute my javascript code to calculate the distance (WebControl.Document.InvokeScript). Is there any way to get a webcontrol in a web...

Jboss wsconsume with non-standard ca-cert

So I have a webservice that I would like to generate a client for, I would like to do this for JBoss 5.1. Sounds simple but the server (and wsdl) is on secure http with a ca-cert that is not by trusted standard ca-certs. I have the public ca-cert and have created a keystore (jks) that I would like to use during generation of the client b...

cxf web services

Can anybody recommend good book for understanding good concept about cxf web services ...

Notify server to client via Web service

I made a WebService chat. At the client side I am running a thread to check periodically if there any new messages available. I want to know is there are any way to notify clients via Web Service. I found something call 'Solicit Response' related to web service. But I am not aware how it works. Any help is appreciated. Thank you ...

How can I grab user name from XML via LINQ to XML?

I need to record a user's name that is using an ASP.NET web service. To do this, I created a SoapExtension that captures an incoming Soap envelope and converts it to an XDocument. The problem is I know nothing about LINQ to XML and the examples I've reviewed don't quite seem to work with the SOAP envelope. The SOAP message looks like ...

Notify server to client via Web service

I made a WebService chat. At the client side I am running a thread to check periodically if there any new messages available. I want to know is there are any way to notify clients via Web Service. I found something call 'Solicit Response' related to web service. But I am not aware how it works. Any help is appreciated. Thank you ...

Flex - Script timeouts (Error #1502) and WebService component

Hello StackOverflow community, I am getting a script timeout (error #1502) when I am calling a SharePoint Web Service (CopyIntoItems) when trying to upload large files (greater than 40 MB). The error does not occur when using the Web Service for smaller files. The large files can be uploaded directly to SharePoint using the web interfa...

Calling php code from php code on different server

Hi, The situation is following. I have a local (development) PHP server (Win + IIS) on my computer and I would like to call a function on a remote server because there is an executable file on the remote server (linux) that does not run on my local computer. So on the remote server would be a simple PHP page which calls the executable wi...

Web service returns 500 error if I add system.runtime.cache with named cache on server

My webservice doesn't render when I add the following to the web.config: <system.runtime.caching> <memoryCache> <namedCaches> <add name="testNamedCache" cacheMemoryLimitMegabytes="0" physicalMemoryLimitPercentage="0" pollingInterval="00:01:00" /> </namedCaches> </memory...

Can't do a HTTP Post to a Web Service from my Android App

I've been working on an app that uses both GET and POST requests to Web Services. The GET requests are no problems but the POST requests are killing me. I've tried 2 different scenarios in the code. The first looks like this... HttpClient httpclient = new DefaultHttpClient(); HttpPost httppost = new HttpPost(ws); JSONObject js...

Base class for an ASMX webservice - calling the derived method from the base class it self

Hi folks, I have a bunch of asmx web services, and in all the methods inside the webservices follow a common pattern public virtual TestObject Test() { LogRequest; try { DoSomething; } catch { LogException; } LogResponse; return response; } and all the methods follow this pattern, there is a lot o...

Ideas for SOA Service Components

Hi, I am an undergraduate student from Mumbai University, now in my final year. The topic for our undergraduate project is "Service Oriented Architecture". As a part of this project, we are supposed to build reusable web service components, and then create a demo web application using those services. Please suggest me some ideas for t...

how to pass output of one web service as input to another web service

Hi, I have written one web service which returns float value. I want to display that float value by passing it as input to another web service. How to pass the value from one web service to another? I am using bottom up approach. ...

standalone java webservice client

Hi, I am new to webservices in general. I am trying to write a Java stand-alone client which can get a response back from a webservice. I tried searching SO and Google but now I got more confused. The below are the links I went through extensively. http://stackoverflow.com/questions/373350/simple-standalone-java-soap-web-service-clie...

What is the best way to implement web services in Python?

What is the best way to implement web services in Python? ...

How to load a webpage in a visual designer?

I'd like to load a webpage and be able to change it, much like the A/B testing tools do. How is that done? ...

Which is the better Eclipse plugin for developing JAX-WS WebServices: JAX-WS Tools or SOA Tools?

Which is the better Eclipse plugin for developing JAX-WS WebServices? JAX-WS Tools SOA Tools Thanks in advance. ...

sending an array of int to java web service from a java client in Eclipse

In the following, I create an XML-RPC client-server application, which consists of three parts: client.java, server.java and ActionHandler.java so that you add a new method which receives an array of numbers as parameter and returns the smallest value. I am having problem sending an array of int to java web service from a java client in...