Hi Dennis
I'm getting the following error using 1.2.2-SNAPSHOT with a JiBX/WS project:
org.jibx.runtime.JiBXException: Missing required attribute "MsgType"
(line 4, col 108, in 127.0.0.1)
at
org.jibx.runtime.impl.UnmarshallingContext.attributeText(UnmarshallingContext.java:975)
at
nz.co.xxx.gen.response.ResponseMessage.JiBX_binding_unmarshalAttr_1_0(Unknown
Source)
at nz.co.xxx.gen.response.JiBX_bindingResponseMessage_access.unmarshal()
at
nz.co.xxx.gen.service.ProcessResponseMessage.JiBX_binding_unmarshal_1_0(Unknown
Source)
at
nz.co.xxx.gen.service.JiBX_bindingProcessResponseMessage_access.unmarshal()
at
org.jibx.ws.io.UnmarshallingPayloadReader.invoke(UnmarshallingPayloadReader.java:118)
This project includes neither xpp3.jar nor wstx-asl.jar in its
WEB-INF/lib folder. The problem goes away if:
1. xpp3.jar is added to WEB-INF/lib, or
2. wstx-asl.jar is added to WEB-INF/lib, or
3. WEB-INF/lib/jibx-run.jar is replaced by the 1.2.1 version
A similar problem manifests with the JiBX/WS seismic example after
removing xpp3.jar from its WEB-INF/lib folder:
ERROR 2009-10-18 22:18:17,376 servlet.PathBasedServiceMapper - Error
reading service definition /WEB-INF/quake-service.xml for service
quake-service
org.jibx.runtime.JiBXException: Missing required attribute "method"
(line 3, col 32)
at
org.jibx.runtime.impl.UnmarshallingContext.attributeText(UnmarshallingContext.java:975)
at
org.jibx.ws.server.OperationDefinition.JiBX_service_mapping_unmarshalAttr_1_0(OperationDefinition.java)
at
org.jibx.ws.server.JiBX_MungeAdapter.JiBX_service_mapping_unmarshal_1_0()
at
org.jibx.ws.server.ServiceDefinition.JiBX_service_mapping_unmarshal_1_0(ServiceDefinition.java)
at
org.jibx.ws.server.JiBX_service_mappingServiceDefinition_access.unmarshal()
at
org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2757)
at
org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2900)
at
org.jibx.ws.http.servlet.PathBasedServiceMapper.createServiceDefinitions(PathBasedServiceMapper.java:145)
The environment is Tomcat 6.0.20, JDK 1.6.0.12 amd64. I've been unable
to reproduce the problem outside of Tomcat yet.
Let me know how I can help debug it further.
cheers
nigel
Dennis Sosnoski wrote:
The JiBX 1.2.2 release is finally about ready to go. There are many
changes in and new features in this release, so in the hope of making
sure it's solid I'm posting a test build at
http://www.jibx.org/jibx_1_2_2-SNAPSHOT.zip to encourage users to give
it a try. Since this is not a formal release please don't use Jira for
any new issues which weren't present in 1.2.1 - just email this list,
and I'll try to make sure anything new is fixed before the official
1.2.2 release, which will occur next week.
Some of the nicer features of this release include:
1. Support for modular code and binding generation from schemas, with
separately-compilable bindings
2. Support for Joda date/time classes, along with a much wider
variety of date/time conversions
3. Support for schema-compatible whitespace handling when
deserializing values
There are a few more problems in org.jibx.extras I'd like to clean up
before the actual release, but I'll try to avoid any significant changes
to code outside this package. I'll also extend some parts of the
documentation, especially for the CodeGen customization examples.
- Dennis
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users