web-services

Can a web service call another web service in the same application server

I'm using Netbeans 6.5 to generate the JAX-WS Metro service and Glassfish 2.1 as the application server. Assume I have two web services e.g. ... @WebMethod(operationName = "doXXX") public String doXXX( @WebParam(name = "id") String id ... ... @WebMethod(operationName = "doYYY") public String doYYY( @WebParam(name = "result") Stri...

Configure IIS 7.0 to enable webservices in classic mode

What are the configuration file settings to enable webservices on IIS 7.0 in classic mode? The site has to be in a classic mode application pool because the Report Viewer controls crash when running in Integrated Mode. However in a classic mode application pool, webservices produce the following error message: The requested content a...

connecting PHP webservices with Android

Hello, I am developing the android application. which is going to update the content from android to the web(php webservice). Can anyone give me the sample code for my reference. ...

webservice return bool, using ajax.

I got a jQuery prompt that is a password validation. I use a ajax webservice for this task. now my confusion is how should I handle the ajax call and make function bool? I started with ajax and webservices about a 2 hours ago so be nice. $(document).ready(function() { $("#sayHelloButton").click(function() { jPro...

Consuming SOAP with service with name space

I´m consuming a SOAP web service, that it has namespace, some similar to: <?xml version="1.0" encoding="UTF-8" ?> <wsdl:definitions targetNamespace="http://www.company.com/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:company="http://www.company.com/" xmlns:apachesoap="http://xml.apache.org/xml-soap...

Silverlight webservice

Hi, Can webservices be accessed by Silverlight 3? On VisualStudio, a Silverlight project doesn't allow me to add a "web reference" but only a "web service reference" that is for WCF and not "normal" webservices. Any help? Thanks ...

Which third party website thumbnailing services do you use?

I've got a requirement for showing thumbnails of arbitrary websites. I need to be able to show small thumbnails (120px by 90px), and larger thumbnails of around 480px wide. I'll need to specify the queue and invalid placeholder images and preferably have a pingback when the queued images are processed so I can respond appropriately. I'd ...

Can I can configure cxf to use a specific XML parser?

Is there a way to specify which XML parser cxf uses? Either through the cfx.xml file or programmatically? Our app has the Woodstox parser on its classpath, and cxf seems to be using that by default. However, the Woodstox implementation seems to truncate large Base64 encoded byte arrays in the SOAP packet. Removing Woodstox from the c...

Using Netbeans to create a Java webservice, suddenly all of my methods are being treated as "webservable"

A few weeks ago, my code was working perfectly as expected. I returned to it, and for some reason, when I tried to deploy my web service, it was refusing to, since one of the methods handles and returns a weka.core.Instances object. I'd come across this error before, since Web Services cannot accept or return complex objects without some...

Error while calling secured web service in C#

I have to connect to secured webservice, I am passing in the credentials while calling the service But I am getting following error message while calling service "An error was discovered processing the < wsse:Security > header" I am using basicHttpBinding with security mode set to "Transport" The endpoint address points to secu...

iPhone application talking to a web service, the basics

We have an iPhone application created by an external consultancy that we're planning to add card payment facilities to in a subsequent release. We plan to host a service ourselves in order to process the payment stuff, with SSL encryption. We have in-house expertese for all of this apart from the (contracted out) iPhone bit. Are there ...

ASMX webservice with Guid parameter

I've got an asmx web service with the following method [WebMethod] public string LoadRegions(Guid id) { throw new NotImplementedException(); } When I attempt to call this method, I receive this exception: System.InvalidOperationException: LoadRegions Web Service method name is not valid. at System.Web.Service...

Advice on replacing Web Services Enhancements (WSE) 3.0 for Microsoft .NET

Is there an easy way to replace code that uses Web Services Enhancements (WSE) 3.0 for Microsoft .NET with someone less esoteric like WCF? ...

ASMX Webservice dropping incoming parameters

I need some help figuring out how to troubleshoot a problem with an ASP.Net 2 asmx webservice which seems to be ignoring incoming params. I have an ASMX service that takes a string, does a little work with an SAP API, and returns the results of the operation as a string. It works fine in a dev environment, but fails in production becau...

how can I share proxy objects across multiple Axis2 web service clients?

I have several WCF services that I want to access from a Java client. The services have some complex data contracts used across multiple services. I want to be able to generate client code that will allow me to share the objects generated from the data contracts across all the services. Basically I want to be able to retrieve data fro...

How can I make a WebMethod parameter required

We use the "start from Java" approach to creating JAX-WS 2.0 web services using the Metro 1.5 stack. When we point a standard tool like SoapUI at one of our web services it indicates that parameters to WebMethods are optional. The generated xsd shows minOccurs=0. I need a way to make WebMethod parameters required (maybe minOccurs=1 in...

Silverlight application cannot accesss WCF services on other machines

I have a silverlight application which works perfectly and can access the WCF services which are hosted in silverlight application itself. The port it is using is 1794. When I deploy to other servers (dev or test or staging), the application is not able to access WCF services. This is a snippet from my ServiceReference.ClientConfig lo...

Do I need an SSL certificate if using a secure webservice?

Hi, I'm using a third party web service. In order for my users to be able to access their third party account, they need to log in. I provide the interface for them to log in to the third party site from my site. My question is, do I need a SSL certificate if the webservice already provides one? The webservice has a special Login metho...

Architecture switch from ASP.NET Page and JSON ASMX Web Services to MVC

Right now, this is how we do things on our site at work: there's an .aspx page that does absolutely nothing in the codebehind, but contains the markup for the page in the Design View. Then we have an .asmx web service that receives requests with JSON content-type. These are called by the JavaScript in the page. This web service returns ....

Thread abort exception

Hi everbody, I am having an issue in webservice which resides in mono. I am having a webservice which process huge database operation. I have given "Timeout = 1024" in the "webconfig" file under "appSettings" tag. When call is done to the webservice after 2 minuter i am getting "thread abort exception". please help me to overcome th...