web-services

How to write web services in java

Though this might appear as a duplicate of Java Web Services , I would like to know Where to start and to continue.In the past, I have invested so much of time to find where to start but I wasn't able to. There are so many jargons and chaos (at least for me!) while reading the pages about web services. There are so many terms - like JAX-...

Can I redirect/alias one web service call to another?

I've written a simple PHP nusoap web service for an application and wish to change the name of one of the actions so that it makes more sense. However there is a CD-ROM based application in the wild using this web service and this action and so I need to redirect or alias any incoming requests to the new action... any idea how I might go...

What should be modified to change the URL of a web service in C#?

Hi, I have one problem and it is some time ago I have added a Webservice proxy class into my application by copying all the generated code (copy paste the text of the .cs content). And it worked! But now I need to change the URL used by this web-service proxy class and I am not sure what and where to change in the code. I would appr...

exchange web services - search for subject NOT EQUAL TO "" (empty string)

Trying to find emails from an inbox using exchange webservices (against exchange 2007). the subject of which should not be empty. Tried the following: searchFilterCollection.Add(new SearchFilter.IsNotEqualTo(EmailMessageSchema.Subject, string.Empty)); and searchFilterCollection.Add(new SearchFilter.IsNotEqualTo(EmailMessageSchema.Su...

generate php code from wsdl

I have a bunch of webservices that I need to write PHP clients for. Now I can manually write wrappers for each of the WSDL files but i wanted to see if there is a tool that can help me by generating the wrappers in PHP. Any idea if there are any tools that do this? Thanks ...

Webservice with request to other service

We have REST WebService. It makes request to other server, process result and returns it to user. Is there any benefit to make request to server2 asynchronous? ...

consuming Dominos webservice from ASp.net

Hey all, I am trying to consuming a dominos web services from Asp.net. When i add the reference to the dominos webservice it creates a web reference which has a .wsdl file but no .disco file. Do i need to have the disco file to connect to the webservice. Please advise. -thks ...

Java WebServices and WSDL file generation

What are the best tools to use for generating WSDL files from Java class files? Running into some issues using Java2WSDL and wondering what are my other options. Latest issue is that it is not encoding String[] as an array/sequence. Comes through in the WSDL as type xsd:string By best I'm thinking - nice clean WSDL and consumed by .NET...

How to implement WSDL provided by business partner?

I have been provided to a wsdl file by another business to build webservice so that the other business can connect to service I build using the provided wsdl and xsd files. I am dot net developer using wcf. I want to know where to start having the wsdl and xsd files in hand. Thanks ...

Forcing Spring web services to add the xsd namespace to the response

I'm using the Spring WS version 1.5.8. My response looks like this: <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"&gt; <SOAP-ENV:Header/> <SOAP-ENV:Body> ... </SOAP-ENV:Body> </SOAP-ENV:Envelope> However, my client (whom I integrate with) requires that I will add more namespace declera...

Blackberry app stuck trying to access a server.

Hi, I've built a ASP.NET webservice and I'm trying to access it from a Blackberry. I've been testing it out with multiple devices and the simulator and it works fine, but there's just the one Blackberry 9000 (It's not the model, I've tried it out with another Blackberry 9000), and it's stuck waiting for a response from the server. Relev...

Cannot find a token authenticator for the 'System.IdentityModel.Tokens.X509SecurityToken' token type

I am consuming a Java Web Service as a WCF service from .NET. The service has an HTTPS endpoint and requires the message to be signed with a client certificate. I have set up WCF tracing and with the Service Trace Viewer I can confirm that the request is signed and sent off as expected and a valid response is returned from the service....

Axis web service can't be invoked from web application

Hi all, I have a simple axis 1.4 web service which I deployed successfully and can invoke it from main method of a Java class. This works fine but when I try to invoke it from a web application it throws an exception saying 'Class not found' for the class 'ws/impl/AwardWebServiceSoapBindingStub'. I tried to debug it but could not find...

Why am I getting org.xml.sax.SAXException for this block of XML?

I've anonymised a bit of this. Hopefully it doesn't detract from the useful message. stringARRAY is where I think I'm getting thrown at, but I'm not sure, so if I'm looking at the wrong place, lemme know. From the WSDL <xsd:element name="LongishOpName"> <xsd:complexType> <xsd:sequence> <xsd:element maxOccurs="unboun...

apache cxf: multiple endpoint /multipleCXFServlet servlet

Hi, I've a cxf webservice with multiple endpoint. I've succesfully deploy it. The problem is all endpoint's WSDL appear in the same servlet URL. Can i have 2 org.apache.cxf.transport.servlet.CXFServlet servlet in the same web.xml and each servlet serve one endpoint so that i have endpoint1 at http:/locahost/app/endpoint1 and endpoint2 ...

Basic Profanity Filter in Objective C for iPhone

How have you like minded individuals tackled the basic challenge of filtering profanity, obviously one can't possibly tackle every scenario but it would be nice to have one at the most basic level as a first line of defense. In Obj-c I've got NSString *tokens = [text componentsSeparatedByString:@" "]; And then I loop through each to...

beneficial in terms of performance

Hi, is it better to declare Webservice class object instances as static as the .asmx webservice classes have only static methods. what i want is that i declare and instantiate webservice asmx class as static in aspx Page Behind Class. and on every event call on that page i could perform operation against webservice methods. is it ben...

Webservice on GNU classpath

I need to run a webservice on an embedded computer which ships with jamvm and gnu classpath. We have some existing software which hosts the service on an instance of com.sun.net.httpserver.HttpServer to host the service. Is there anything equivilant on GNU classpath or is it possible to isolate HttpServer to a jar and move it to classpat...

Free Weather API for Company Websites.

I am looking for a Weather API Provider for a company web site that is free of charge. Google API is unofficial, Yahoo and Wetter.com are for personal Websites only, so they don't fit my needs. ...

C# How can I return my base class in a webservice

I have a class Car and a derived SportsCar: Car Something like this: public class Car { public int TopSpeed{ get; set; } } public class SportsCar : Car { public string GirlFriend { get; set; } } I have a webservice with methods returning Cars i.e: [WebMethod] public Car GetCar() { return new Car() { TopSpeed = 100 }...