axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serkan Sunel" <Serkan.Su...@telenity.com>
Subject wsdl2java & jibx codeGeneration Exception
Date Wed, 18 Apr 2007 11:34:00 GMT
Hi All,

 

Wsdl2Java throws below exception..

 

Ant idea about it ?

 

Ps: I could generate code with wrapped style web service code with ADB
databing also and had  no problem 

....necessary files are attached..

 

Thanks

 

 

[serkans@serkanslnx bin] java org.apache.axis2.wsdl.WSDL2Java -uri
../wsdl/parlayx_payment_reserve_amount_charging_service_2_1.wsdl -ns2p
http://www.csapi.org/schema/parlayx/payment/reserve_amount_charging/v2_1
/local=com.telenity.canvas.platform.parlayx.ws.schema.payment.reserve_am
ount_charging.v2_1.local  -sd -s  -ss -t -ssi -g -u -d jibx
-Ebindingfile out.xml -o ../java

Retrieving document at
'parlayx_payment_reserve_amount_charging_interface_2_1.wsdl', relative
to
'file:/home/serkans/products/platform/current/canvas/platform/parlayx/bi
n/../wsdl/'.

Retrieving document at 'parlayx_common_faults_2_0.wsdl', relative to
'file:/home/serkans/products/platform/current/canvas/platform/parlayx/ws
dl/parlayx_payment_reserve_amount_charging_interface_2_1.wsdl'.

Retrieving schema at 'parlayx_common_types_2_1.xsd', relative to
'file:/home/serkans/products/platform/current/canvas/platform/parlayx/ws
dl/parlayx_common_faults_2_0.wsdl'.

Retrieving schema at 'parlayx_payment_types_2_1.xsd', relative to
'file:/home/serkans/products/platform/current/canvas/platform/parlayx/ws
dl/parlayx_payment_reserve_amount_charging_interface_2_1.wsdl'.

Retrieving schema at 'parlayx_common_types_2_1.xsd', relative to
'file:/home/serkans/products/platform/current/canvas/platform/parlayx/ws
dl/parlayx_payment_reserve_amount_charging_interface_2_1.wsdl'.

Exception in thread "main"
org.apache.axis2.wsdl.codegen.CodeGenerationException:
java.lang.RuntimeException: No mapping defined for element
{http://www.csapi.org/schema/parlayx/payment/reserve_amount_charging/v2_
1/local}chargeReservation

        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerati
onEngine.java:224)

        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32)

        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21)

Caused by: java.lang.RuntimeException: No mapping defined for element
{http://www.csapi.org/schema/parlayx/payment/reserve_amount_charging/v2_
1/local}chargeReservation

        at
org.apache.axis2.jibx.CodeGenerationUtility.mapQName(CodeGenerationUtili
ty.java:928)

        at
org.apache.axis2.jibx.CodeGenerationUtility.mapMessage(CodeGenerationUti
lity.java:914)

        at
org.apache.axis2.jibx.CodeGenerationUtility.engage(CodeGenerationUtility
.java:384)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585)

        at
org.apache.axis2.wsdl.codegen.extension.JiBXExtension.engage(JiBXExtensi
on.java:74)

        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerati
onEngine.java:177)

        ... 2 more


Mime
View raw message