axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chinmoy Chakraborty <cch...@gmail.com>
Subject Re: Fw: WSDD missing and error generating
Date Tue, 11 Aug 2009 08:06:11 GMT
are you using Axis 1.x or Axis2 1.x.x?




2009/8/11 Miha Vitorovic <mvitorovic@nil.si>

>
> Anyone please?
>
> Best regards,
> ---
>  Miha Vitorovic
>  Inženir v tehničnem področju
>  Customer Support Engineer
>
>   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
>   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si<http://www.nil.si/>
> ----- Forwarded by Miha Vitorovic/Nil on 11.08.2009 09:53 -----
>   From: Miha Vitorovic/Nil To: axis-user@ws.apache.org Date: 10.08.2009
> 10:25 Subject: WSDD missing and error generating
> ------------------------------
>
>
> Hi all,
>
> I have a program, that suddenly started throwing this error:
>
> org.apache.axis.InternalException: org.apache.axis.ConfigurationException:
> org.apache.axis.ConfigurationException: No engine configuration file -
> aborting!
> org.apache.axis.ConfigurationException: No engine configuration file -
> aborting!
>   at
> org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:175)
>   at org.apache.axis.AxisEngine.init(AxisEngine.java:172)
>   at org.apache.axis.AxisEngine.<init>(AxisEngine.java:156)
>   at org.apache.axis.client.AxisClient.<init>(AxisClient.java:52)
>   at org.apache.axis.client.Service.getAxisClient(Service.java:104)
>   at org.apache.axis.client.Service.<init>(Service.java:113)
>
> Researching this, I have seen that the problem is most likely related to a
> missing WSDD, but now I am faced with two problems.
>
> First is more of a question: why did this suddenly start happening, i.e.
> why didn't it happen from the start. The axis configuration is the same all
> the time, and the code also.
>
> The second problem is, that I cannot generate the WSDD file from the WSDL.
> Searching the Internet the correct options seem to be:
>
> WSDL2Java -o . -d Session -s -S true ws.wsdl
>
>
> But I get the following exception from it:
> C:\temp\wsdd>C:\Miha\axis2-1.4.1\bin\wsdl2java.bat -o . -d Session -s -S
> true -uri CrmService.wsdl
> Using AXIS2_HOME:   C:\Miha\axis2-1.4.1
> Using JAVA_HOME:    C:\Progra~1\Java\jre1.6.0_07
> Retrieving document at 'CrmService.wsdl'.
> Exception in thread "main"
> org.apache.axis2.wsdl.codegen.CodeGenerationException:
> org.apache.axis2.wsdl.codegen.CodeGenerationException: No proper databinding
> has taken place
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:271)
>         at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
>         at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
> Caused by: org.apache.axis2.wsdl.codegen.CodeGenerationException: No proper
> databinding has taken place
>         at
> org.apache.axis2.wsdl.codegen.extension.DefaultDatabindingExtension.engage(DefaultDatabindingExtension.java:41)
>         at
> org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:224)
>         ... 2 more
>
> Thanks in advance for any help that you may offer.
> ---
>  Miha Vitorovic
>  Inženir v tehničnem področju
>  Customer Support Engineer
>
>   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
>   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si<http://www.nil.si/>

Mime
View raw message