This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Web Services and the fly likes Webservice using JAX_WS Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "Webservice using JAX_WS" Watch "Webservice using JAX_WS" New topic
Author

Webservice using JAX_WS

sarada bokka
Ranch Hand

Joined: Jan 13, 2010
Posts: 80
Hi All,

Could some please let me know how to create a web service for the below class using JAX_WS.

I am tried for sample operator public boolean test(String name) and it worked fine. I am fed up with the ArrayList returning list of objects. Please help me for the below example

I am trying on oracle eclipse as the requirment is for weblogic webservice

public interface LetterReportService {

@WebMethod(operationName = "createReport")
public LetterResponseVO createReport( LetterRequestVO letterRequest);

@WebMethod(operationName = "getTemplates")
public ArrayList<EventVO> getTemplates(String template);
}
Vijay keshava
Ranch Hand

Joined: Jul 05, 2011
Posts: 40
Using EventVO[] instead of Arraylist might help. Use toArray function to convert Arraylist to Array
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Webservice using JAX_WS
 
Similar Threads
Question about expose overloaded session bean method as web service.
Code to get SOAP request
Is JAX-WS method ArrayList
WebServiceContext.getUserPrincipal() Question
JAX-WS sending Document/Literal Bare throws exception