Results 1 to 1 of 1
Thread: RESTful Web Service
- 04-13-2010, 04:06 PM #1
Member
- Join Date
- Apr 2010
- Posts
- 1
- Rep Power
- 0
RESTful Web Service
Hi guys,
I have a WS which I have created in .NET which just searches the database based on parameters determined by the user.
I have started to implement the RESTful WS in java by adding the WSDL of the .NET service to my new REST WS in java. Here is my code thus far
As you can see my method is bare as I do not know what to do in order to delgagte searchers to the other Web service.Java Code:/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package jsr311; import javax.jws.WebService; /** * */ @WebService(serviceName = "SearchService", portName = "SearchServiceSoap", endpointInterface = "pdccw1.SearchServiceSoap", targetNamespace = "http://pdcCW1/", wsdlLocation = "WEB-INF/wsdl/NewWebServiceFromWSDL/SearchService.asmx.xml.wsdl") public class NewWebServiceFromWSDL { public pdccw1.Result searchWithStringParamters(java.lang.String name, java.lang.String desc, java.lang.String categ, java.lang.String startDate) { //TODO implement this method }
Could anyone help me out
Thanks
Similar Threads
-
what is web service and rss feed
By javastuden in forum Advanced JavaReplies: 0Last Post: 03-01-2010, 04:43 AM -
Using a Web Service
By ragnor2004 in forum Advanced JavaReplies: 12Last Post: 02-06-2010, 12:57 AM -
Web service
By mousumidas in forum Advanced JavaReplies: 3Last Post: 01-28-2010, 09:12 AM -
how to call service method inside another service
By kirtichopra2003 in forum Web FrameworksReplies: 1Last Post: 10-24-2009, 02:19 AM -
Web Service from JSP
By Eric in forum JavaServer Pages (JSP) and JSTLReplies: 2Last Post: 07-02-2007, 05:00 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks