Hi Suresh,

The error message just says that you haven't defined a <mapping> in your 
JiBX binding for the AddAppointment element of your document (the root 
element). Is the problem a namespace issue? You're working with several 
different namespaces in this document, and need to make sure you're 
using the correct one for each <mapping> you define.

  - Dennis

Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117



suresh wrote:
> Hi
>    All
>          When iam running my main class iam getting this error.. plz help me 
> on this  error.  Iam getting this error at SchemaLocation element.....
>
> org.jibx.runtime.JiBXException: No unmarshaller for 
> element "{urn:com.btwholesale.Fulfilment2-v3-0}AddAppointment" (line 10, col 
> 98)
>       at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(Unknown 
> Source)
>       at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument
> (Unknown Source)
>       at Test.main(Test.java:47)
>
>
> My XML is 
>
> <?xml version="1.0" encoding="UTF-8"?>
> <btw:AddAppointment 
> xmlns="urn:uk.org.telcob2b/tML/BT-Request-v2-0" 
> xmlns:btw="urn:com.btwholesale.Fulfilment2-v3-0" 
> xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-
> 1.0" 
> xmlns:cac="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponen
> ts-1.0" xmlns:utcc="urn:uk.org.telcob2b/tML/ukt-CommonComponents-v2-0" 
> xmlns:ds="urn:uk.org.telcob2b/tML/DialogueServices-v1-0" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:schemaLocation="urn:com.btwholesale.Fulfilment2-v3-
> 0 ..\Schemas\Application\Fulfilment2-v3-0.xsd  
> urn:uk.org.telcob2b/tML/BT-Request-v2-0 ../Schemas/telcoB2Bdoc/BT-Request-v2-
> 0.xsd
> urn:uk.org.telcob2b/tML/DialogueServices-v1-
> 0  ..\Schemas\Application\DialogueServices-v1-0.xsd">
>       <Request>
>               <RequestersID>50009999</RequestersID>
>               <utcc:IssueDateTime>2005-03-05T17:04:10</utcc:IssueDateTime>
>               <RequesterParty>
>                       <cac:Party>
>                               <cac:PartyIdentification>
>                                       <cac:ID 
> identificationSchemeAgencyName="DUNS">131620343</cac:ID>
>                               </cac:PartyIdentification>
>                       </cac:Party>
>               </RequesterParty>
>               <ResponderParty>
>                       <cac:Party>
>                               <cac:PartyIdentification>
>                                       <cac:ID 
> identificationSchemeName="DUNS">364877501</cac:ID>
>                               </cac:PartyIdentification>
>                       </cac:Party>
>               </ResponderParty>
>               <utcc:RequestLine>
>                       <utcc:RequestLineItem>
>                               <utcc:RequestersID>1</utcc:RequestersID>
>                               <utcc:Features>
>                                       <ds:AppointmentFeatureSet>
>                                               <ds:InputFeatures>
>                                                       <utcc:Address>
>                                                       
>       <utcc:AddressReference>
>                                                               
>       <utcc:RefNum>This</utcc:RefNum>
>                                                               
>       <utcc:DistrictCode>District Code</utcc:DistrictCode>            
>                                               
>                                                       
>       </utcc:AddressReference>
>                                                       </utcc:Address>
>                                                       <utcc:ServiceId>Or 
> This</utcc:ServiceId>
>                                               
>       <utcc:DirectoryNumber>Or This</utcc:DirectoryNumber>
>                                                       <utcc:Appointment>
>                                                       
>       <utcc:AppointmentDate>2005-12-28</utcc:AppointmentDate>
>                                                       
>       <utcc:AppointmentTimeslot>PM</utcc:AppointmentTimeslot>
>                                                           
> <utcc:ServiceType>SMPF</utcc:ServiceType>
>                                                       
>       <utcc:Action>Repair</utcc:Action>
>                                                       
>       <utcc:Quantity>1</utcc:Quantity>
>                                                       
>       <utcc:ServiceLevel>Standard</utcc:ServiceLevel>
>                                                       </utcc:Appointment>
>                                               </ds:InputFeatures>
>                                       </ds:AppointmentFeatureSet>
>                               </utcc:Features>
>                       </utcc:RequestLineItem>
>               </utcc:RequestLine>
>       </Request>
> </btw:AddAppointment>
>
>
>
>
> -------------------------------------------------------------------------
> 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
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>
>   

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to