Axis « Development « JPA Q&A





1. HowTo JAX-WS+AXIS(standalone)+Hibernate    stackoverflow.com

I am searching for a right way to use Hibernate in my web-service. To begin I whant to describe, how it is working now. I have made a simple class with @WebMethod and ...

2. Hibernate and Axis2    stackoverflow.com

How to imitate Hibernate in Axis2 service?
How to manage Hibernate session in Axis2 service?

3. Problem with axis2 and JPA    forums.netbeans.org

Hi, i try to develop a Axis2 Web Service using Create axis2 web service from java class. My class use JPA with EclipseLink implementation. Everything work fine until I try to deploy the web service on Tomcat: I have a PersistenceException: No Persistence provider for EntityManager named testPU I try to find a solution on google and I check a lot ...

4. Using Hibernate through an axis web service    coderanch.com

Hi, I'd like to develop an axis WS that uses Hibernate to talk to a db. From what I understand on the web, I need to copy the hibernate jar, and all its dependencies to the axis/web-inf/lib folder. Is that correct? Isn't this a performance issue? Thanks guys, David. No matter what they say in Ohio, we're still first in flight. ...

5. Hibernate AND Axis2 problem    coderanch.com

Hi! I'm using detached hibernate pojos and Axis2 for exposing some data to webservices. I can't use Bidirectional mapping because when I serialize to Axis2 the xml goes in an eternal loop. ex. Customer Class with MarketToLanguage set MarketToLanguage with reference to customer class This ends up with an eternal loop when I try to serialize it to Axis. See this ...

6. Hibernate & Axis2    coderanch.com

As we develop and the application continue to grow, we understand that the logic inside the Axis2 web service becoming heavier, Another problem is the fact that we have to jar our Hibernate app to an AAR file. And we have some problems because Hibernate won't recognize some of the configuration xml. What are we doing wrong? How can we decuple ...

7. How to using Hibernate with in Axis2 web services    coderanch.com

Hi, I am developed a login checking web service program with hibernate. I am following the same od axis-2 bin directory has, and i developed my program in samples directory as shown below. axis2-1.3-bin | |___ axis2-1.3 | |_______bin | |_______conf | |_______lib | |_______repository | |_______webapp | |________samples | |_______MySample | |_______resources | | | |________META-INF | | | | ...

8. Hibernate + Axis2 automagically?    coderanch.com

I need to develop some SOAP/WSDL web services (presumably using Axis2, although I'm open to alternatives) to provide secured access to an application database (through hibernate). Here's the lowdown: I've never used hibernate before, but I've gone through the quickstart, and created an ANT build script that can reverse-engineer my POJOs / Dao from the database information. So far so good. ...

9. REST Service Using Axis2 and Hibernate    coderanch.com

Hi All I was tried to find some tutorials for a POC on REST With Axis2 using hibernate. But i am not able to find some good tutorials. so here am posting the important steps. IDE : Eclipse Step 1 : create a java project in Eclipse. Step 2: create the required Resource classes. Step 3: build the .aar file Step ...





10. Axis2 And Hibernate    forum.hibernate.org

Hello, I have a problem with Axis2 and hibernate. I have a web application project that access to a MySQL database with hibernate. This project works fine. Now I want to create a web service interface using the methods that access to the database. So I invoke this classes from my web service project. The problem is that I receive an ...

11. Trouble with integrating Hibernate and Axis2    forum.hibernate.org

12. Hibernate doesn't seem to mesh with Apache Axis    forum.hibernate.org

Something really isn't clicking here. I have a web service and a sevice client that both use the same core jar lib. In the core, I have data transfer objects and hibernate mapping XML definitions for server, address book, user, and group information. When the client queries for a server object including the address book, users, and groups, everything works fine. ...

13. Hibernate and Apache Axis    forum.hibernate.org

Hi hibernators.... Trying to integrate Web Services in my Hibernate-Spring based project I meet a problem by using Apache Axis as Web Service framework. My intention is not to provide a DTO layer, just inject POJO's domain object to the client. I'm using Java2WSDL to generate WSDL from hibernated POJO's. Then, I use WSDL2Java to provide se/deserializers to the POJO's in ...

14. Hibernate at both ends of an AXIS web service    forum.hibernate.org

I have a SWING desktop client and web application server, both of which are using Hibernate at both ends. I would like to reuse domain objects and mappings for both when I just need to "replicate" data from other to the other. For example, pulling an address book of users and groups from the server to the client. The tables and ...

15. Problem with Hibernate and Apache Axis    forum.hibernate.org

Author Message MmarcoM Post subject: Problem with Hibernate and Apache Axis Posted: Thu Sep 16, 2004 4:32 am Beginner Joined: Thu Apr 29, 2004 4:31 am Posts: 42 Hibernate version: 2.1 Full stack trace of any exception that occurs: Name and version of the database you are using: mySql 4.1.1 alpha Hello all, i have written a WS that ...

16. Hibernate and Axis web service    forum.hibernate.org

I've done it and it works great. Short answer: Hibernate and Axis both deal with POJO's so you'll be fine. Long(er) answer: You'll want to watch out for Lazy Initialization Exceptions because when Axis serializes the Hibernate object, chances are good that it will try to serialize the WHOLE object. If your Hibernate Session is not open, you may see Lazy ...





17. Hibernate and Axis    forum.hibernate.org

Greetings everybody. I am working on a project architecture, which uses Hibernate, Axis and Spring. I use Hibernate tools to generate POJOs from an existing database schema. I also implemented a DAO layer, which runs queries and returns collections of those POJOs. I am trying to expose my DAO layer as a webservice, but am not sure what would be the ...

18. Hibernate Backend -> Axis WS -> C# client    forum.hibernate.org

I wonder if anyone have tried using hibernate backend -> axis WS -> C# client approach. I read some post from other place that it is hard to convert POJO into WDSL if they have collections attributes, like java.util.Set If anyone is using this approach or have experience doing it, can you please post the challege that you have face and ...

19. Axis2 Integration    forum.hibernate.org

I'm currently implementing an Axis2 webservice with (already existing) Hibernate 3.05 layer for data storage. a)putting a Listener into Axis2/WEB-INF/web.xml org.mistral.benchmarking.webapp.StartupContextListener b)putting the hibenate .jar's into Axis/WEB_INF/lib/ c)putting the Listener class into Axis/WEB-INF/classes/org/..../webapp/ It basically starts up Hibernate at Axis2 context initialisation (when tomcat starts the Axis2.war) ...

20. Problems with CGLIB enhancements and Axis    forum.hibernate.org

Hello there! I'm using Axis to expose my services. well all my persistence strategy is done by Hibernate. It does have collections (eager loaded). But it seems that my object is still a proxy by cglib from the original one, hence I'm having problems with serializers/deserializers. Anyone faced this before? How can I solve this?

21. Hibernate in Axis2    forum.hibernate.org

22. Problem using hibernate with axis    forum.hibernate.org

Hi all, I'm trying to run a web service from axis that uses hibernate. If posted the error and log below. Any help would be greatly appericated. Thanks, Ron The webservice returns the following error: soapenv:Server.userException java.lang.reflect.InvocationTargetException ngdserv6 In my tomcat log (catilina.out) I see the following: Tue Nov 21 12:38:38 EST 2006 ...

23. Hibernate and Axis    forum.hibernate.org

I am using try to expose hibernate generated BOs via webservices to Java webservice clients. I want to use the same BOs on both the server and client side. However, apache axis's java2wsdl converts Set to Object[] thus creating a new object on the client side. Also, in most cases, the webservice doesnt deploy at all if it has a Set ...

24. Using Hibernate with Web Service(Axis SOAP)....    forum.hibernate.org

Need help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version: Hibernate 3.x Name and version of the database you are using: PostgreSQl Currently our project has a web service layer that serves up our object using hibernate. The problem we have encountered is that are project uses List extensively example List list = new Vector() or List list = ...

25. Hibernate Axis2 integration    forum.hibernate.org

Hibernate: V3.2.2 Oracle: 11G Java: 1.6 Apache Tomcat: V6.0.14 Axis2: V.14 I'm attempting to create a webservice that uses an Axis2 soap server to make hibernate persisted data available via SOAP/XML to a flash application. I've setup an Axis soap server with some very simple services that attempt to retrieve data via hibernate from an Oracle database. I've added a jar ...

26. Hibernate with Axis2    forum.hibernate.org

I am try to write sample using Hibernate with Axis2. But I have the following errors: Caused by: java.lang.ExceptionInInitializerError at org.test.persistence.HibernateUtil.createSessionFactory(HibernateUtil .java:15) at org.test.dao.implement.AdminDaoImpl.getAdmins(AdminDaoImpl.java:49) ... 27 more (Caused by org.apache.commons.logging.LogConfigurationExcep tion: org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused by org.apache.commons.logging.LogConfigurationException: Invalid class loader hierarchy. You have more than one ...