• Post Reply Bookmark Topic Watch Topic
  • New Topic

Webservice using JAX_WS

 
sarada bokka
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using EventVO[] instead of Arraylist might help. Use toArray function to convert Arraylist to Array
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!