make a parameter of type byte array nullable in an axis web service
Posted
by lweller
on Stack Overflow
See other posts from Stack Overflow
or by lweller
Published on 2009-11-03T12:36:17Z
Indexed on
2010/03/30
8:03 UTC
Read the original article
Hit count: 359
i have a java method that is part of an web service interface and that takes a byte array parameter like this
public int computeSomeThind(byte[] data) {
if(data != null) {
// ... do what ever
} else {
return -1;
}
}
When a generate the wsdl with axis 1.3 the data parameter will appear as not nullable. Is there a way to define this as nullable?
© Stack Overflow or respective owner