roopachakra [https://community.jboss.org/people/roopachakra] created the discussion
"JBOSS WSTools does not support abstract complexTypes" To view the discussion, visit: https://community.jboss.org/message/816368#816368 -------------------------------------------------------------- Generated client code using JBOSS WS. For below complex type it created abstract class. <s:complexType abstract="true" name="MessageOption"> </s:complexType> @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "MessageOption") public abstract class MessageOption { } while testing the application in standalone mode I get below exception. I am running this test sample using JBOSS EAP 5.1.0 and JDK 1.6.0. JBOSS tools 4.0.1 Please let me if anyone has come across such problem and solved it. javax.xml.ws.soap.SOAPFaultException: Exception during processing: java.lang.Error: cannot create abstract type: com.sps.es.notification.webservice.MessageOption (see Fault Detail for stacktrace) at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.getSOAPFaultException(SOAPFaultHelperJAXWS.java:85) at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.throwFaultException(SOAP11BindingJAXWS.java:107) at org.jboss.ws.core.CommonSOAPBinding.unbindResponseMessage(CommonSOAPBinding.java:558) at org.jboss.ws.core.CommonClient.invoke(CommonClient.java:396) at org.jboss.ws.core.jaxws.client.ClientImpl.invoke(ClientImpl.java:231) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:171) at org.jboss.ws.core.jaxws.client.ClientProxy.invoke(ClientProxy.java:157) at $Proxy15.sendNotification(Unknown Source) at com.sps.nes.client.clientsample.ClientSample.main(ClientSample.java:183) -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/816368#816368] Start a new discussion in JBoss Tools at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user