Chimony,

it's time for some extra context. I am using the AXIS to comminicate from 
IBM Lotus Domino server (acting as a client), to MS CRM (server) Web 
Service.

I have produced the sources with the J2EE Eclipse perspective with the 
default options aganis the Tomcat 6.0 server, then copied the generated 
sources into a Domino library. The folder in the Eclipse project you 
indicated does not contani Axis2.xml. To make it work I added the 
following files to the Domino server JVM/lib/ext folder (found this on the 
IBM site):

axis.jar
commons-logging.jar
commons-discovery-0.2.jar

Then I ceated a Domino agent that uses these libraries to pump data from 
Domino to CRM.

The agent worked fine, but suddently started throwing errors. So now I am 
cnofused, since the process went smoothly, and then suddenly started to 
produce errors for no apparent reasons.
Maybe it was until that point it was picking up the client-config.wsdd 
from the axis.jar, but then suddenly stopped to. If you feel that might be 
the case, I may try reloading the server to see if this helps.

Searching the web, I discovered, that it is possible to load the WSDD file 
"manually" in the agent itself, but then couldn't find one. When I started 
to research the ways to generate the WSDD, I again got stopped by the 
error.

I would also like to note, that the Domino server itself seems to hold 
some sort of an Axis spin-off (but from an old version of the API) which I 
couldn't use, since it does not contain all the functionality of the newer 
Axis API and has serious bugs of its own. On a side note, that process did 
produce a WSDD file, but it is not usable since it is generated against a 
differnet packages.

I have also seen that many people suggest producing WSDD by hand from WSDL 
definistion, but I don't find that feasible, since the MS CRM WSDL is a 
800k monstrosity that takes minutes to get processed even Wsdl2Java, so I 
can't imagine how long would a manual process take.

My was hoping to get help generating WSDD file from the 

In short, so far I have had the luck of things working as they should, so 
I did not have to get familiar with all the technical details of the Axis 
package. The cosequence is, that I do not know much 


---
  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



From:
Chinmoy Chakraborty <[email protected]>
To:
[email protected]
Date:
11.08.2009 10:30
Subject:
Re: Fw: WSDD missing and error generating



If you are using axis2 then you should have axis2.xml file inside 'conf' 
directory inside ..\WEB-INF' directory. Axis2.xml holds all the config 
data. If you are missing the file then you have problems.
 
Have you migrated from axis 1.x to axis2? If yes then you can have a look 
into: http://ws.apache.org/axis2/1_5/migration.html.
 
Chinmoy

2009/8/11 Miha Vitorovic <[email protected]>

I have donwloaded Axis2 1.4.1 but as far as I know, I am using Axis (1) 
portion of the API. Eclipse generated all the code for me :-) If you tell 
me what to check, I'll gladly do it. 

Thanks and 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 


From: 
Chinmoy Chakraborty <[email protected]> 
To: 
[email protected] 
Date: 
11.08.2009 10:06 
Subject: 
Re: Fw: WSDD missing and error generating





are you using Axis 1.x or Axis2 1.x.x? 
  


  
2009/8/11 Miha Vitorovic <[email protected]> 

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 
----- Forwarded by Miha Vitorovic/Nil on 11.08.2009 09:53 ----- 
From: 
Miha Vitorovic/Nil 
To: 
[email protected] 
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 


Reply via email to