Greetings,


Sorry, for cross posting, but in last message, two files were not attached
properly,
therefore I am attaching those files (nodemapping.hbm.xml and IATMSD.java)
and resending the message, sorry for the trouble.


I am new to the Web Services(Axis2-1.4.1) and Hibernate(3.2).

I am using apache-tomcat-6.0.18 as the container.


I am able to persist java objects using Hibernate (REFER : Node.java and
nodemapping.hbm) . (I have checked it, it works fine as a standalone stuff :
DATA IS INSERTED IN TABLES).


I am using : 

a.) AccessTopicMapStoredData.java

class on the server to access the data from the database.


b.) IATMSD.java(InterfaceAccessTopicMapStoredData.java)

This class was used to generate .aar file.

Moreover, this class was created on server to overcome the ArrayList,
HashMap problems.


I used the Eclipse-plugins to generate the Service Archiver(.aar).

(During .aar generation for (OPTION) : Add the WSDL File , I selected : skip
WSDL )

(I have used same approach for simple web service creation, those services
work fine.)


To integrate hibernate:

 I placed all the .class files , .hbm.xml , hibernate.cfg  files in the:

 Tomcat\webapps\axis2\WEB-INF\classes folder 

 I placed all the hibernate related .jar in the

Tomcat\webapps\axis2\WEB-INF\lib folder.


On the client side I have :

a.) TmClient.java   (to access the service.)

b.) ClientTest.java (to check client works fine or not)



I am getting the error:

" java.lang.RuntimeException: Mapping qname not fond for the package:
org.hibernate.collection"

when I am trying to integrate hibernate(3.2) to axis2-1.4.1.



I am also attaching the errorLog with this post. 



Please help me , I have searched quite a lot on net but not able to figure
it out. 

I am attaching various files that may be required with this post.


Thanks and regards

WB


Here are the files: 

http://www.nabble.com/file/p22345414/AccessTopicMapStoredData.java
AccessTopicMapStoredData.java 

http://www.nabble.com/file/p22345414/IATMSD.java IATMSD.java 

http://www.nabble.com/file/p22345414/errorLog.txt errorLog.txt 

http://www.nabble.com/file/p22345414/TmClient.java TmClient.java 

http://www.nabble.com/file/p22345414/ClientTest.java ClientTest.java 

http://www.nabble.com/file/p22345414/nodemapping.txt nodemapping.txt 

http://www.nabble.com/file/p22345414/Node.java Node.java 





-- 
View this message in context: 
http://www.nabble.com/Mapping-qname-not-fond-for-the-package%3A-org.hibernate.collection-tp22345414p22345414.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to