Hi Thomas,

Thank you for your reply.

I tried the same web-service on AXIS, it woked OK.
I thought it worked fine with the bean class which has 
setters( parameter:array) and getters(return type: array)
 even if its property is ArrayList(collection type).
I understand it won't work if I use setters(parameter: ArrayList) 
and getters(return type: ArrayList)....

In my case, I have the following bean class property:
anonymous wrote : 
  |      List subjecArraytList = new ArrayList();
  | 

And, I have these setter and getter:
anonymous wrote : 
  | public Subject[] getSubjectArrayList() {
  |     return(Subject[])this.subjecArraytList.toArray(new 
Subject[this.subjecArraytList.size()]);
  | }
  | 
  | public void setSubjectArrayList(Subject[] subjecArraytList) {
  |     this.subjecArraytList.clear();
  |     for(int j=0; j>subjecArraytList.length; j++) {
  |    this.subjecArraytList.add(subjecArraytList[j]);
  |    }
  | }
  | 

The only way I can run this service on JBoss is to change ArrayList to Arrays???

I found the following sun tutorial site:
anonymous wrote : 
  | http://doc.albanet.ro/java/j2eetutorial14/doc/JAXRPC2.html#wp82023
  | 
It says "This release of JAX-RPC also supports several implementation classes 
of the java.util.Collection interface".
It includes ArrayList as well.

Any advise is greatly appreciated!

-Mie





View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920836#3920836

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920836


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to