[Users] Problème d'accès à la BD postgresSQL

francis [via Petals Forums] ml-node+s974793n3684475h99 at n3.nabble.com
Tue Jan 24 13:02:10 CET 2012



Bonjour,
je vous écris car je suis en train de développer des services web (SOAP) en
utilisant PetalStudio. 
J'ai suivie les 5 jours de tuto. Pour des simples services web cela marche
parfaitement.
Cependant lorsque  j'ai fais un service plus complexe (connexion à une base
de donnée Postgre, Insertion, sélection, suppression...), je rencontre un
problème.
Une fois le service déployé et lorsque j'utilise SoapUI pour tester le
service, je rencontre une erreur (voir ci dessous).
portant en utilisant un fichier main et en testant l’accès direct(sans
passer par le service), il n'ya pas de problème.

Quelqu'un aurait-il une idée du problème?
merci d'avance.


*Voici le service que je veux accéder.*


   
   
         2
      
   




*Voici l'erreur généré*
------------------------

   
      
         fcns:0
         null message
         
            org.apache.axis2.AxisFault
	at
org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.createFaultResponse(JavaBeanDispatcher.java:348)
	at
org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.invoke(JavaBeanDispatcher.java:109)
	at
org.apache.axis2.jaxws.server.EndpointController.invoke(EndpointController.java:109)
	at
org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:159)
	at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)
	at
org.ow2.petals.se.jsr181.Jsr181JBIListener.onJBIMessage(Jsr181JBIListener.java:151)
	at
org.ow2.petals.component.framework.process.MessageExchangeProcessor.processInOutAsProvider(MessageExchangeProcessor.java:637)
	at
org.ow2.petals.component.framework.process.MessageExchangeProcessor.processAsProvider(MessageExchangeProcessor.java:372)
	at
org.ow2.petals.component.framework.process.MessageExchangeProcessor.process(MessageExchangeProcessor.java:234)
	at
org.ow2.petals.component.framework.process.MessageExchangeProcessor.run(MessageExchangeProcessor.java:177)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	at
org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher.invokeTargetOperation(JavaDispatcher.java:76)
	at
org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.invoke(JavaBeanDispatcher.java:96)
	... 11 more
*Caused by: java.lang.NullPointerException*
	at com.cardiags.dao.concret.PersonneDAO.find(PersonneDAO.java:73)
	at com.cardiags.dao.concret.PersonneDAO.find(PersonneDAO.java:1)
	at com.cardiags.service.Caridags.findPersonne(Caridags.java:43)
	... 17 more
         
      
   

--------------------------------------


_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/Probleme-d-acces-a-la-BD-postgresSQL-tp3684475p3684475.html
To start a new topic under Users (get help, provide help), email ml-node+s974793n2681628h42 at n3.nabble.com
To unsubscribe from Users (get help, provide help), visit http://forum.petalslink.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=2681628&code=dXNlcnNAZm9ydW0ucGV0YWxzbGluay5vcmd8MjY4MTYyOHwtOTE3MDU0NjU4
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20120124/22b2fb11/attachment.htm>


More information about the Users mailing list