On Thu, Apr 7, 2011 at 1:23 AM, Deepak Singh <deepaksingh...@gmail.com>wrote:

> Hi Nigel,
>
> I followed your suggestions step by step and came up with following schema,
>
> WSTicketvalaWSDL.xsd
>
>         <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:tns="http://travis.com/webservices/WSTicketvala/WSTicketvala";
> xmlns:ns1="http://travis.com/webservices";
> attributeFormDefault="unqualified" elementFormDefault="qualified"
> targetNamespace="http://travis.com/webservices/WSTicketvala/WSTicketvala";>
>
>             <xsd:import namespace="http://travis.com/webservices";
> schemaLocation="WSTicketvala.xsd"/>
>
                      ........                     ...........


>  WSTicketvala.xsd
>
> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:tns="
> http://travis.com/webservices"; attributeFormDefault="unqualified"
> elementFormDefault="qualified" targetNamespace="
> http://travis.com/webservices";>
>
> <xsd:complexType name="wsCancelBookingRQ">
>
> <xsd:sequence>
>
> ..............             ....................
>


I use CodeGen tool@jibx1.2.3 and generate all the classes and binding
successfully but when i compile it, i get the following exception,

Error: No mapping with type name {
http://travis.com/webservices}:wsCheckAvailabilityRQ; on structure element
at (line 4, col 174, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsCheckAvailabilityRS; on structure element
at (line 7, col 174, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsCheckAvailabilityRQ; on structure element
at (line 10, col 174, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsCheckAvailabilityRS; on structure element
at (line 13, col 174, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsGetSourceDestinationPairRQ; on structure
element at (line 16, col 202, in
webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsSourceDestinationPairRS; on structure
element at (line 19, col 190, in
webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsMakeBookingRQ; on structure element at
(line 22, col 150, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsMakeBookingRS; on structure element at
(line 25, col 150, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsMakeBookingRQ; on structure element at
(line 28, col 150, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsMakeBookingRS; on structure element at
(line 31, col 150, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsMakeBookingRQ; on structure element at
(line 34, col 150, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsMakeBookingRS; on structure element at
(line 37, col 150, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsGetSeatMapRQ; on structure element at (line
40, col 146, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsGetSeatMapRS; on structure element at (line
43, col 146, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsHoldSeatRQ; on structure element at (line
46, col 138, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsHoldSeatRS; on structure element at (line
49, col 138, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsGetBookingDetailsRQ; on structure element
at (line 52, col 174, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsGetBookingDetailsRS; on structure element
at (line 55, col 174, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsConfirmBookingRQ; on structure element at
(line 58, col 162, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsConfirmBookingRS; on structure element at
(line 61, col 162, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsIsBookingCancelableRQ; on structure element
at (line 64, col 182, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsIsBookingCancelableRS; on structure element
at (line 67, col 182, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsIsBookingCancelable1XRQ; on structure
element at (line 70, col 190, in
webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsIsBookingCancelable1XRS; on structure
element at (line 73, col 190, in
webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsCancelBookingRQ; on structure element at
(line 76, col 158, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsCancelBookingRS; on structure element at
(line 79, col 158, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsCancelBooking1XRQ; on structure element at
(line 82, col 166, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsCancelBooking1XRS; on structure element at
(line 85, col 166, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {http://travis.com/webservices}:wsGetCityRQ;
on structure element at (line 88, col 134, in
webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {http://travis.com/webservices}:wsGetCityRS;
on structure element at (line 91, col 134, in
webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsRetrieveBookingRQ; on structure element at
(line 94, col 166, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsRetrieveBookingRS; on structure element at
(line 97, col 166, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsGetBalanceRQ; on structure element at (line
100, col 146, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error: No mapping with type name {
http://travis.com/webservices}:wsGetBalanceRS; on structure element at (line
103, col 146, in webservices_WSTicketvala_WSTicketvalaBinding.xml)
Error running binding compiler
org.jibx.runtime.JiBXException: Binding
webservices_WSTicketvala_WSTicketvalaBinding.xml is unusable because of
validation errors
at org.jibx.binding.Utility.loadBinding(Utility.java:377)
at org.jibx.binding.Utility.loadFileBinding(Utility.java:439)


Kindly suggest.

Thanks
Deepak
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to