[jboss-user] [JBossWS] - Re: document/literal and jboss 4.0.5.GA -> No wrapped types
bbredohl
do-not-reply at jboss.com
Thu Dec 28 05:56:17 EST 2006
I found the problem.
I defined a complex type (UserClass). When there is a byte[] in it (with getter and setter), I get the above Exception for document/literal.
When I deploy the Projekt as rpc/literal and with jbossws 1.0.3GA I get a NullPointerException. With jbossws 1.0.4GA it works (only rpc/literal)
| @WebMethod
| public UserClass getMethods() throws UserException{...}
|
| public class UserClass implements Serializable{
|
| private byte[] bytea = null;
| .
| .
| .
| public UserClass {
| }
|
| public byte[] getBytea() {
| return bytea
| }
|
| public void setBytea(byte[] bytea) {
| this.bytea = bytea;
| }
| .
| .
| .
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996609#3996609
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996609
More information about the jboss-user
mailing list