View Full Version : RESTful Web Service using WSLD from SOAP

04-13-2010, 08:50 PM
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

* 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


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.

Could anyone help me out