Hi,
I received the following error:
Binding information for class org.jibx.soap.server.ServiceDefinition must be recompiled
with current binding compiler (compiled with jibx-beta3c, runtime is jibx_1_0_2)
Now I´m having a problem recompiling the jibxsoap sources because of
validation errors in the server-mapping binding file.
Java: 1.4.2
JiBX: 1.0.2
JiBXsoap: jibxsoap-alpha-0.2
Server: JBoss 4.0.1SP1
The root cause is:
[bind] java.lang.NullPointerException at
org.jibx.binding.model.ClassWrapper.isAssignable(ClassWrapper.java:230)
Attached you´ll find the whole stacktrace.
Can anyone provide me the jibx-soap.jar in the right version or a
correct binding file?
Tanks in advance, Dominik
compile:
[bind] Using the following paths:
[bind] K:\Tools\jibxsoap\build\classes
[bind] K:\Tools\jibx\lib\jibx-run.jar
[bind] K:\Tools\jibx\lib\jibx-extras.jar
[bind] K:\Tools\JBoss\server\default\lib\javax.servlet.jar
[bind] K:\Tools\JBoss\server\default\lib\javax.servlet.jsp.jar
[bind] Using the following binding paths:
[bind] K:\Tools\jibxsoap\build\service-mapping.xml
[bind] K:\Tools\jibxsoap\build\wsdl-mapping.xml
[bind] Running binding compiler version jibx_1_0_2
[bind] binding service_mapping:
[bind] context (mp#=1) (cv#=0) (fm#=0)
[bind] mapping class org.jibx.soap.server.ServiceDefinition to element
service (#0)
[bind] context (cv#=0) (fm#=0)
[bind] element wrapper service
[bind] object binding for org.jibx.soap.server.ServiceDefinition
[bind] structure ordered
[bind] attribute name from optional property m_baseName
(java.lang.String)
[bind] attribute service-name from optional property m_serviceName
(java.lang.String)
[bind] attribute binding-name from optional property
m_soapBindingName (java.lang.String)
[bind] attribute port-type-name from optional property
m_portTypeName (java.lang.String)
[bind] attribute port-name from optional property m_portName
(java.lang.String)
[bind] attribute jibx-binding from optional property
m_xmlBindingName (java.lang.String)
[bind] attribute indent from optional property m_indentCount (int)
[bind] element schema from optional property m_schemaName
(java.lang.String)
[bind] element wsdl-uri from optional property m_wsdlNamespace
(java.lang.String)
[bind] element handler-class from property to setHandlerClassName
(java.lang.String)
[bind] component property m_filters (java.util.ArrayList)
[bind] object binding for java.util.ArrayList
[bind] collection ordered (java.lang.Object)
[bind] element wrapper filter-class direct
[bind] component property from collection
(org.jibx.soap.server.FilterDefinition)
[bind] object binding for org.jibx.soap.server.FilterDefinition
[bind] structure ordered
[bind] text from property m_className (java.lang.String)
[bind] component property m_operations (java.util.ArrayList)
[bind] object binding for java.util.ArrayList
[bind] collection ordered (java.lang.Object)
[bind] element wrapper operation direct
[bind] component property from collection
(org.jibx.soap.server.OperationDefinition)
[bind] object binding for
org.jibx.soap.server.OperationDefinition
[bind] structure ordered
[bind] attribute soap-action from optional property
m_soapAction (java.lang.String)
[bind] attribute method from property m_methodName
(java.lang.String)
[bind] attribute operation-name from optional property
m_operationName (java.lang.String)
[bind] element input-class from optional property
m_inputClassName (java.lang.String)
[bind] element output-class from optional property
m_outputClassName (java.lang.String)
[bind] java.lang.NullPointerException
[bind] at
org.jibx.binding.model.ClassWrapper.isAssignable(ClassWrapper.java:230)
[bind] at
org.jibx.binding.model.ContainerElementBase.checkCompatibleChildren(ContainerElementBase.java:454)
[bind] at
org.jibx.binding.model.ContainerElementBase.checkCompatibleChildren(ContainerElementBase.java:463)
[bind] at
org.jibx.binding.model.StructureElement.validate(StructureElement.java:254)
[bind] at
org.jibx.binding.model.ValidationContext$ValidationVisitor.exit(ValidationContext.java:271)
[bind] at
org.jibx.binding.model.ModelVisitor.exit(ModelVisitor.java:259)
[bind] at
org.jibx.binding.model.ModelVisitor.exit(ModelVisitor.java:268)
[bind] at
org.jibx.binding.model.ModelVisitor.exit(ModelVisitor.java:277)
[bind] at
org.jibx.binding.model.ModelVisitor.exit(ModelVisitor.java:361)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:272)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:235)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:235)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:235)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:235)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:235)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:235)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:125)
[bind] at
org.jibx.binding.model.ValidationContext.validate(ValidationContext.java:100)
[bind] at
org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:555)
[bind] at
org.jibx.binding.model.BindingElement.validateBinding(BindingElement.java:602)
[bind] at org.jibx.binding.Utility.validateBinding(Utility.java:227)
[bind] at org.jibx.binding.Utility.loadBinding(Utility.java:268)
[bind] at org.jibx.binding.Utility.loadFileBinding(Utility.java:389)
[bind] at org.jibx.binding.Compile.compile(Compile.java:296)
[bind] at
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
[bind] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[bind] at org.apache.tools.ant.Task.perform(Task.java:364)
[bind] at org.apache.tools.ant.Target.execute(Target.java:341)
[bind] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[bind] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[bind] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[bind] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[bind] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[bind] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[bind] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[bind] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[bind] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[bind] java.lang.NullPointerException
[bind] at
org.jibx.binding.model.ClassWrapper.isAssignable(ClassWrapper.java:230)
[bind] at
org.jibx.binding.model.ContainerElementBase.checkCompatibleChildren(ContainerElementBase.java:454)
[bind] at
org.jibx.binding.model.StructureElement.validate(StructureElement.java:254)
[bind] at
org.jibx.binding.model.ValidationContext$ValidationVisitor.exit(ValidationContext.java:271)
[bind] at
org.jibx.binding.model.ModelVisitor.exit(ModelVisitor.java:259)
[bind] at
org.jibx.binding.model.ModelVisitor.exit(ModelVisitor.java:268)
[bind] at
org.jibx.binding.model.ModelVisitor.exit(ModelVisitor.java:277)
[bind] at
org.jibx.binding.model.ModelVisitor.exit(ModelVisitor.java:361)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:272)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:235)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:235)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:235)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:235)
[bind] at
org.jibx.binding.model.TreeContext.tourTree(TreeContext.java:125)
[bind] at
org.jibx.binding.model.ValidationContext.validate(ValidationContext.java:100)
[bind] at
org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:555)
[bind] at
org.jibx.binding.model.BindingElement.validateBinding(BindingElement.java:602)
[bind] at org.jibx.binding.Utility.validateBinding(Utility.java:227)
[bind] at org.jibx.binding.Utility.loadBinding(Utility.java:268)
[bind] at org.jibx.binding.Utility.loadFileBinding(Utility.java:389)
[bind] at org.jibx.binding.Compile.compile(Compile.java:296)
[bind] at
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
[bind] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[bind] at org.apache.tools.ant.Task.perform(Task.java:364)
[bind] at org.apache.tools.ant.Target.execute(Target.java:341)
[bind] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[bind] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[bind] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[bind] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[bind] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[bind] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[bind] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[bind] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[bind] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
[bind] Error: Unable to load class element; on structure element at (line
71, col 64, in wsdl-mapping.xml)
[bind] Error: Unable to load class element; on structure element at (line
77, col 64, in wsdl-mapping.xml)
[bind] Error: Unable to load class element; on structure element at (line
83, col 64, in wsdl-mapping.xml)
[bind] Error: Unable to load class element; on structure element at (line
90, col 58, in wsdl-mapping.xml)
[bind] Error: Error during validation: null; on structure element at (line
68, col 67, in wsdl-mapping.xml)
[bind] Error: Error during validation: null; on structure element at (line
65, col 73, in wsdl-mapping.xml)
[bind] Error running binding compiler
[bind] org.jibx.runtime.JiBXException: Binding wsdl-mapping.xml is
unusable because of validation errors
[bind] at org.jibx.binding.Utility.loadBinding(Utility.java:361)
[bind] at org.jibx.binding.Utility.loadFileBinding(Utility.java:389)
[bind] at org.jibx.binding.Compile.compile(Compile.java:296)
[bind] at
org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
[bind] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[bind] at org.apache.tools.ant.Task.perform(Task.java:364)
[bind] at org.apache.tools.ant.Target.execute(Target.java:341)
[bind] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[bind] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[bind] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[bind] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[bind] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[bind] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[bind] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[bind] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[bind] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
BUILD FAILED
K:\Tools\jibxsoap\build\build.xml:97: JiBXException in JiBX binding compilation-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users