You accidentally gave us a second binding instead of an incoming XML ;) I think I see the problem, though - in your binding, you declare the namespace as:
<namespace uri="http://www.navteq.com/schemas/ncs/cds/CommonDataOutput-1.1/"> but the error message is: found "{http://www.navteq.com/schemas/ncs/cds/commondataoutput-1.1/}CommonDataOutput" Notice the difference in case? I suspect the incoming XML is giving you all lowercase for commondataoutput-1.1, whereas the binding declares it as "camel-humped". On Thu, 2008-05-08 at 09:52 -0500, Harp, George wrote: > I have narrowed down an unmarshalling issue to the following: > > > > <jibx-version>1.1.5</jibx-version> > > > > Mapping: > > > > <mapping name="FuelPriceSearchOutput" > > > class="com.traffic.hdradio.contentmanager.fuelprices.soap.response.FuelPriceSearchResponse"> > > <namespace > uri="http://www.navteq.com/schemas/ncs/cds/fuelpricesearchoutput-1.1/" > > default="elements"/> > > > > <value name="MoreResultsAvailable" > > field="areMoreResultsAvailable" > > usage="optional"/> > > <structure field="commonOutputData" > > usage="optional"/> > > </mapping> > > > > <mapping > class="com.traffic.hdradio.contentmanager.fuelprices.soap.response.CommonOutputData" > > name="CommonDataOutput"> > > <namespace > uri="http://www.navteq.com/schemas/ncs/cds/CommonDataOutput-1.1/" > > default="elements" > > prefix="com"/> > > <structure field="securityCredentials" > > usage="optional"/> > > </mapping> > > > > > > Incoming xml: > > <mapping name="FuelPriceSearchOutput" > > > class="com.traffic.hdradio.contentmanager.fuelprices.soap.response.FuelPriceSearchResponse"> > > <namespace > uri="http://www.navteq.com/schemas/ncs/cds/fuelpricesearchoutput-1.1/" > > default="elements"/> > > <!-- collection field="fuelStationList" > > > item-type="com.traffic.hdradio.contentmanager.fuelprices.soap.response.fuel.FuelStation" > > usage="optional"/ --> > > <value name="MoreResultsAvailable" > > field="areMoreResultsAvailable" > > usage="optional"/> > > <structure field="commonOutputData" > > usage="optional"/> > > </mapping> > > > > Exception: > > org.springframework.oxm.jibx.JibxUnmarshallingFailureException: JiBX > unmarshalling exception: Expected > "{http://www.navteq.com/schemas/ncs/cds/fuelpricesearchoutput-1.1/}FuelPriceSearchOutput" > end tag, found > "{http://www.navteq.com/schemas/ncs/cds/commondataoutput-1.1/}CommonDataOutput" > start tag (line 4, col 10); nested exception is > org.jibx.runtime.JiBXException: Expected > "{http://www.navteq.com/schemas/ncs/cds/fuelpricesearchoutput-1.1/}FuelPriceSearchOutput" > end tag, found > "{http://www.navteq.com/schemas/ncs/cds/commondataoutput-1.1/}CommonDataOutput" > start tag (line 4, col 10) > > Caused by: org.jibx.runtime.JiBXException: Expected > "{http://www.navteq.com/schemas/ncs/cds/fuelpricesearchoutput-1.1/}FuelPriceSearchOutput" > end tag, found > "{http://www.navteq.com/schemas/ncs/cds/commondataoutput-1.1/}CommonDataOutput" > start tag (line 4, col 10) > > at > org.jibx.runtime.impl.UnmarshallingContext.parsePastCurrentEndTag(UnmarshallingContext.java:792) > > at > com.traffic.hdradio.contentmanager.fuelprices.soap.response.JiBX_FuelPriceSearch_JiBXBindingFuelPriceSearchResponse_access.unmarshal() > > at > org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2537) > > at > org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2694) > > at > org.springframework.oxm.jibx.JibxMarshaller.unmarshalReader(JibxMarshaller.java:272) > > at > org.springframework.oxm.AbstractMarshaller.unmarshalStreamSource(AbstractMarshaller.java:351) > > at > org.springframework.oxm.AbstractMarshaller.unmarshal(AbstractMarshaller.java:131) > > at > com.traffic.hdradio.contentmanager.fuelprices.soap.client.FuelPriceSearchContextSoap.performFuelPriceSearch(FuelPriceSearchContextSoap.java:22) > > > > I would appreciate any help resolving this issue. > > > > George Harp > > Traffic.com Development > > NAVTEQ - Chicago > > (T) +312-894-7225 > > [EMAIL PROTECTED] > > www.navteq.com > > > > > > ______________________________________________________________________ > The information contained in this communication may be CONFIDENTIAL > and is intended only for the use of the recipient(s) named above. If > you are not the intended recipient, you are hereby notified that any > dissemination, distribution, or copying of this communication, or any > of its contents, is strictly prohibited. If you have received this > communication in error, please notify the sender and delete/destroy > the original message and any copy of it from your computer or paper > files. > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users