Hi
I am facing the folowing url while unmarshalling a XML response from a URL
The error thrown back is
org.jibx.runtime.JiBXException: No unmarshaller for element "{
http://widget.star
tv.in}videoset" (line 4, col 70)
Please can anybody guide be to solve the problem.
*Parsed XML:*
<videoset xsi:schemaLocation="http://widget.startv.in/api/apiv1.xsd">
-
<video>
<VideoId>XydVqcsW6</VideoId>
<Channelname>name</Channelname>
<SerialName>name</SerialName>
<MainCategoryName>Lifestyle</MainCategoryName>
<CategoryName>Cookery</CategoryName>
<VideoTitle>Frozen Chocolate Cake - Divya</VideoTitle>
-
<VideoDescription>
VJ Aditya pays a surprise visit to Divya's house and takes a look at how she
prepares Frozen Chocolate Cake and decides if its Pakao or Thakao
</VideoDescription>
<AdditionalInfo>null</AdditionalInfo>
<ContentTitle>Pakao</ContentTitle>
<VideoDuration>00:04:31</VideoDuration>
<MetaTitle>Frozen Chocolate Cake - Divya - Pakao</MetaTitle>
-
<MetaKeyword>
Pakao, Channel, Frozen Chocolate Cake - Divya, Pakao, chocolate cake,
chocolate, tv, entertainment,akao, cookery, recipe, aditya, divya, frozen
chocolate cake, chocolate, cake, frozen
</MetaKeyword>
-
<ThumbUrl>
http://www.example.com//images/thumbnails/208x117/cv_pk07_frozenchocolatecake1.jpg
</ThumbUrl>
-
<SmallThumbUrl>
http://www.example.com/images/thumbnails/80x45/cv_pk07_frozenchocolatecake1.jpg
</SmallThumbUrl>
<NoOfViewers>72</NoOfViewers>
<RateCount>1</RateCount>
<Score>3</Score>
<PostedDate>2009-02-17 10:26:04</PostedDate>
<NoOfClips>1</NoOfClips>
<EpisodeNumber>7</EpisodeNumber>
<SeasonId>1</SeasonId>
<EpisodeBroadcastdate>null</EpisodeBroadcastdate>
<ClipNumber>1</ClipNumber>
<Actors>aditya</Actors>
<Characters>null</Characters>
<ContentTag>chocolate cake, chocolate</ContentTag>
<IsHot>1</IsHot>
<IsPopular>1</IsPopular>
<IsFeatured>1</IsFeatured>
-
<embedTag>
<object width=480 height=400><param name=movie value=
http://www.example.com.in/video/XydVqcsW6/LU5gpbEn5U1dk></param><param
name=wmode value=transparent></param><param name=allowFullScreen
value=true></param><param name=allowscriptaccess value=always></param><embed
src=http://widget.startv.in/video/XydVqcsW6/LU5gpbEn5U1dktype=application/x-shockwave-flash
allowscriptaccess=always
allowfullscreen=true wmode=transparent width=480
height=400></embed></object>
</embedTag>
-
<widgetUrl>
http://www.example.com
</widgetUrl>
</video>
</videoset>
*binding.xml
*<mapping name="channelVideo" class="com.offguard.bean.content.Content">
<structure name="videoset">
<structure name="video">
<value name="VideoTitle" field="title"/>
<value name="VideoDescription" field="description"/>
<value name="PostedDate" field="createdOn"/>
<value name="MetaKeyword" field="tags" usage="optional"/>
<value name="VideoDuration" field="duration"
usage="optional"/>
<value name="VideoId" field="channelVideoId"
usage="optional"/>
<value name="SerialName" field="serialName"
usage="optional"/>
<value name="EpisodeNumber" field="episodeNumber"
usage="optional"/>
<value name="NoOfClips" field="numberOfClips"
usage="optional"/>
<value name="ClipNumber" field="clipNumber"
usage="optional"/>
<value name="Actors" field="actors" usage="optional"/>
<value name="Characters" field="characters"
usage="optional"/>
</structure>
</structure>
</mapping>*
*
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users