|
Hi, All,
In an experiment I named namespaces using format like x_1_00 and service endpoint using a name like y_1_00.wsdl to support multiple web services (more than one port). I generated the server side classes fine with wsdl2java tool and the compilation was successful. But when I tried to deploy the service with AdminClient it failed with an InvocationTargetException and NoClassDefFoundError. I debugged it and found that it was looking for the following classes and it failed to found any:
javax.xml.namespace.QName_Helper java.lang.String_Helper
These two classes were not required before my change. Does anyone know why these two classes are required now and how to generate them?
Thanks,
Scott
P.S. the exceptions
Exception:: java.lang.reflect.InvocationTargetException AxisFault faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException faultSubcode: faultString: java.lang.reflect.InvocationTargetException
java.lang.NoClassDefFoundError: org/apache/axis/encoding/Deserializer at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:219) at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:190) at java.security.AccessController.doPrivileged(Native Method) at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:171) at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:112) at org.apache.axis.deployment.wsdd.WSDDTypeMapping.getLanguageSpecificTy pe(WSDDTypeMapping.java:221) at org.apache.axis.deployment.wsdd.WSDDService.deployTypeMapping(WSDDSer vice.java:553) at org.apache.axis.deployment.wsdd.WSDDService.initTMR(WSDDService.java: 271) at org.apache.axis.deployment.wsdd.WSDDService.<init>(WSDDService. java:247) at org.apache.axis.deployment.wsdd.WSDDDeployment.<init>(WSDDDeplo yment.java:243) at org.apache.axis.deployment.wsdd.WSDDDocument.<init>(WSDDDocumen
|
