atom feed2 messages in net.java.dev.jwsdp.usersRE: wscompile Error with a JAXRPC SI...
FromSent OnAttachments
Baker, Brad (Contr)Jul 5, 2005 9:28 am 
Baker, Brad (Contr)Jul 5, 2005 11:46 am 
Subject:RE: wscompile Error with a JAXRPC SI created class.
From:Baker, Brad (Contr) (Brad@ngc.com)
Date:Jul 5, 2005 11:46:10 am
List:net.java.dev.jwsdp.users

Sorry All! It was my error in the WScompile. Again, sorry.

-----Original Message----- From: Baker, Brad (Contr) [mailto:Brad@ngc.com] Sent: Tuesday, 05 July 2005 09:29 To: use@jwsdp.dev.java.net Subject: wscompile Error with a JAXRPC SI created class.

Hi All,

I have a class was generated by the JAXRPC SI PayloadType, which is basiclly an enum class:

<s:element name="PayloadType"> <s:annotation> <s:documentation>An enumeration of entity types used to specify which type of record is being sent</s:documentation> </s:annotation> <s:simpleType> <s:restriction base="s:string"> <s:enumeration value="INDIV"/> <s:enumeration value="FACIL"/> <s:enumeration value="ORGAN"/> <s:enumeration value="EQUIP"/> <s:enumeration value="EVENT"/> </s:restriction> </s:simpleType> </s:element>

This is from a WSDL that I was supplied. I am now trying to make a dummy server that I can test against and this is what I get when I try wscompile:

[wscompile] class com.ngms.chims.dcgs.update.PayloadType does not have a public accessible empty constructor [wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiStructure.initialize(RmiStructu re.java:109) [wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiStructure.forClass(RmiStructure .java:32) [wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiStructure.modelTypeSOAP(RmiStru cture.java:41) [wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiTypeModeler.collectMembers(RmiT ypeModeler.java:204) [wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiTypeModeler.modelTypeSOAP(RmiTy peModeler.java:164) [wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.processRpcEncodedMethod (RmiModeler.java:1009) [wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.processMethod(RmiModele r.java:838) [wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.processInterface(RmiMod eler.java:748) [wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.modelPort(RmiModeler.ja va:683) [wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.buildEncodedModel(RmiMo deler.java:523) [wscompile] at com.sun.xml.rpc.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.j ava:459) [wscompile] at com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88) [wscompile] at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63) [wscompile] at com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714) [wscompile] at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43) [wscompile] at com.sun.xml.rpc.tools.ant.Wscompile.execute(Wscompile.java:746) [wscompile] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) [wscompile] at org.apache.tools.ant.Task.perform(Task.java:364) [wscompile] at org.apache.tools.ant.Target.execute(Target.java:341) [wscompile] at org.apache.tools.ant.Target.performTasks(Target.java:369) [wscompile] at org.apache.tools.ant.Project.executeTarget(Project.java:1214) [wscompile] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAnt Runner.java:385) [wscompile] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAn tRunner.java:136) [wscompile] error: class com.ngms.chims.dcgs.update.PayloadType does not have a public accessible empty constructor

So, anyone have any ideas on where I am going wrong?

I am using JWSDP 1.5