[Users] Utiliser le retour d'un WS (routing-slip)

cippit_b [via Petals ESB] ml-node+3034305-252603735-385891 at n3.nabble.com
Tue Jun 7 14:53:05 CEST 2011



Je ne l'ai pas sous la main à l'instant malheureusement..

Par contre, je viens de le faire avec un autre web service (qui quand je le
redéploie grâce au module jsr-181 fonctionne correctement).

Les données ci-dessous sont pour un pattern de wire-tap, mais en routing
slip, j'avais la même erreur. 


Et la j'obtiens une erreur à l’exécution, 
alors que la fonction prends une string toute simple en paramètre
et que le web service fonctionne correctement si je tape dessus directement

La requête est :


> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:wsp="http://PEP/WSPEP">
>    <soapenv:Header/>
>    <soapenv:Body>
>       <wsp:VerifierCarnet>
>          
>          <Immatriculation>23cer12</Immatriculation>
>       </wsp:VerifierCarnet>
>    </soapenv:Body>
> </soapenv:Envelope>
> 

La réponse est: 


> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
>    <soapenv:Body>
>       <soapenv:Fault>
>          <faultcode
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">soap:Server</faultcode>
>          <faultstring>Server was unable to process request. --->
> ORA-06550: line 1, column 7:
> PLS-00306: wrong number or types of arguments in call to 'TROUVER_CARNET'
> ORA-06550: line 1, column 7:
> PL/SQL: Statement ignored</faultstring>
>          <detail/>
>       </soapenv:Fault>
>    </soapenv:Body>
> </soapenv:Envelope>
> 

Le fichier jbi.xml de mon EIP est :



> <?xml version="1.0" encoding="UTF-8"?>
> <jbi:jbi version="1.0" 
> 	xmlns:eip="http://petals.ow2.org/components/eip/version-2"
> 	xmlns:generatedNs="http://PEP/WSPEP"
> 	xmlns:jbi="http://java.sun.com/xml/ns/jbi"
> 	xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-5"
> 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
> 	
> 	<jbi:services binding-component="false">
> 		<jbi:provides 		
> 			interface-name="generatedNs:InterfacePEP"
> 			service-name="generatedNs:InterfacePEP"
> 			endpoint-name="InterfacePEPPort">
> 	
> 			
> 			<petalsCDK:timeout>30000</petalsCDK:timeout>
> 			<petalsCDK:validate-wsdl>true</petalsCDK:validate-wsdl>
> 		
> <petalsCDK:forward-security-subject>false</petalsCDK:forward-security-subject>
> 		
> <petalsCDK:forward-message-properties>false</petalsCDK:forward-message-properties>
> 			<petalsCDK:forward-attachments>false</petalsCDK:forward-attachments>
> 			<petalsCDK:wsdl>InterfacePEPconsume.wsdl</petalsCDK:wsdl>
> 		
> 				
> 			<eip:eip>wire-tap</eip:eip>
> 			<eip:wiretap-way>response</eip:wiretap-way>
> 			<eip:fault-robust>false</eip:fault-robust>
> 			<eip:exception-robust>false</eip:exception-robust>
> 			<eip:attachment-mode>false</eip:attachment-mode>
> 		</jbi:provides>
> 		
> 		
> 		<jbi:consumes
> 			interface-name="iConsumeNsPrefix:PEPSoap"
> 			service-name="iConsumeNsPrefix:PEP"
> 			endpoint-name="PEPSoap12"
> 			xmlns:iConsumeNsPrefix="http://PEP/WSPEP">
> 			
> 			
> 			<petalsCDK:timeout>30000</petalsCDK:timeout>
> 			<petalsCDK:operation
> xmlns:VerifierCarnetNs="http://PEP/WSPEP">VerifierCarnetNs:VerifierCarnet</petalsCDK:operation>
> 			<petalsCDK:mep>InOut</petalsCDK:mep>
> 		</jbi:consumes>
> 		
> 		
> 		<jbi:consumes
> 			interface-name="iConsumeNsPrefix:Espion"
> 			service-name="iConsumeNsPrefix:Espion"
> 			endpoint-name="EspionPort"
> 			xmlns:iConsumeNsPrefix="http://test">
> 			
> 			
> 			<petalsCDK:timeout>30000</petalsCDK:timeout>
> 			<petalsCDK:operation
> xmlns:SpyItNs="http://test">SpyItNs:SpyIt</petalsCDK:operation>
> 			<petalsCDK:mep>InOnly</petalsCDK:mep>
> 		</jbi:consumes>
> 	</jbi:services>
> </jbi:jbi>
> 

_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://forum.petalslink.com/Utiliser-le-retour-d-un-WS-routing-slip-tp3010661p3034305.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/20110607/11c3cdff/attachment.htm>


More information about the Users mailing list