[JBoss-user] [JBossWS] - Re: Problem with custom data type holder

2005-08-26 Thread xtremebytes
Correct me if I am wrong. I don't see a J2EE spec violation for JAX-RPC 
accepted value types if my WSStatus class looks like this.

  | public class WSStatus extends Status {
  | public WSStatus() {}
  | //...no other methods
  | }
  | 
where Status looks like

  | public class Status implements Serializable {
  | public static final int OK = 0;
  | public static final int SYSTEMERR = -1;
  | //and similar other constants
  | 
  | private int type;
  | private String fieldName;
  | private String fieldValue;
  | 
  | public Status() {}
  | //...other constructors and accessor methods for the private fields
  | }
  | 
I thought such value classes can implement any interface except Remote. Funny 
enough, when I redeclared the WSStatus as

  | public class WSStatus {
  | private int type;
  | private String fieldName;
  | private String fieldValue;
  | 
  | public WSStatus() {}
  | //...other constructors and accessor methods for the private fields
  | }
  | 
and its RPC holder class as I mentioned before, it started working fine. Was I 
missing something?

Thanks.

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Problem with custom data type holder

2005-08-25 Thread [EMAIL PROTECTED]
Could you please create a JIRA issue and attach a sample deployment that allows 
us to reproduce what you are seeing. Idealy, the sample deployment is a webapp 
packaged as a war that will show the issue when we click on a link. The war 
should also contain the sources. 

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

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


---
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user