[Users] Service web petals qui appelle un autre service

bguyroland [via Petals ESB] ml-node+3311092-839578911-385891 at n3.nabble.com
Mon Sep 5 16:51:10 CEST 2011



Bonjour,

Alors, j'ai pu créer les deux services pour la base de donnée et pour
l'exposition de Petals service comme un web service. Maintenant je veux
ajouter une donnée en l’occurrence un patient dans la base de données à
travers Petals webconsole qui est bien installé. J'ai les messages suivants: 


*Last sent: *

<createPatient xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="createPatient"> 
  <num_secu xsi:type="int">?</num_secu> 
</createPatient>

*Return content: *

<soapenv:Fault xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> 
    <faultcode
xmlns:fcns="http://petals.ow2.org/cdk/defaultFault">fcns:0</faultcode> 
    <faultstring>java.lang.NullPointerException</faultstring> 
    <faultactor/> 
    <detail> 
        <stackTrace>org.apache.axis2.AxisFault:
java.lang.NullPointerException 
 
    at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) 
 
    at
org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:218) 
 
    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$Worker.runTask(ThreadPoolExecutor.java:886) 
 
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 
 
    at java.lang.Thread.run(Thread.java:662) 
 
Caused by: javax.xml.ws.WebServiceException: java.lang.NullPointerException 
 
    at
org.apache.axis2.jaxws.ExceptionFactory.createWebServiceException(ExceptionFactory.java:175) 
 
    at
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:70) 
 
    at
org.apache.axis2.jaxws.ExceptionFactory.makeWebServiceException(ExceptionFactory.java:128) 
 
    at
org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMinimalMethodMarshaller.demarshalRequest(DocLitWrappedMinimalMethodMarshaller.java:221) 
 
    at
org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.createRequestParameters(JavaBeanDispatcher.java:266) 
 
    at
org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.invoke(JavaBeanDispatcher.java:80) 
 
    at
org.apache.axis2.jaxws.server.EndpointController.invoke(EndpointController.java:109) 
 
    at
org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:159) 
 
    ... 9 more 
 
Caused by: java.lang.NullPointerException 
 
    at
org.apache.axis2.jaxws.marshaller.impl.alt.MethodMarshallerUtils.getPDElements(MethodMarshallerUtils.java:334) 
 
    at
org.apache.axis2.jaxws.marshaller.impl.alt.DocLitWrappedMinimalMethodMarshaller.demarshalRequest(DocLitWrappedMinimalMethodMarshaller.java:196) 
 
    ... 13 more 
 
</stackTrace> 
    </detail> 
</soapenv:Fault> 

J'aimerais savoir ce qui ne vas pas. J'ai une base de données PostgreSQL.
Merci.

_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/Service-web-petals-qui-appelle-un-autre-service-tp3306719p3311092.html
To start a new topic under Users (get help, provide help), email ml-node+2681628-1333396262-385891 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/20110905/130e1f3a/attachment.htm>


More information about the Users mailing list