You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2004/07/08 16:01:13 UTC
DO NOT REPLY [Bug 17439] -
WSDD causes deserialisation error ... not able to distribute the service!
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=17439>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=17439
WSDD causes deserialisation error ... not able to distribute the service!
------- Additional Comments From kalpeshsoni@yahoo.com 2004-07-08 14:01 -------
I had to fix wsdl2java for this
java.lang.NullPointerException
at
org.apache.axis.wsdl.fromJava.Types.isSimpleType(Types.java:884)
at
org.apache.axis.wsdl.fromJava.Types.isAcceptableAsAttribute(Types.java:899)
fix is simple null pointer check
code : org.apache.axis.wsdl.fromJava.Types : line no. 931
boolean isSimpleType(Class type) {
if(tm != null)
{
QName qname = tm.getTypeQName(type);
if (qname == null)
return false; // No mapping
String nsURI = qname.getNamespaceURI();
return (Constants.isSchemaXSD(nsURI) ||
Constants.isSOAP_ENC(nsURI));
}
return true;
}