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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...