Bonjour,
Je débute avec mule et j'ai du mal à démarrer, j'utilise la version 2.2.1
J'ai créer un web service avec Maven/SpringMVC/jax-ws.. et j'arrive à générer un wsdl (testé avec SaopUI).
Et je bloque dans la partie paramétrage de mule.
(j'ai donc 2 applications, le web service et mule)
Voila l'extrait dufichier applicationContext.xml qui concerne mule :
et le fichier de config de mule :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 <bean id="accountServiceEndpoint" class="ma.ensias.prototype.endpoints.Rembourssement.AccountServiceEndpoint" /> <wss:binding url="/services/accountServiceEndpoint"> <wss:service> <ws:service bean="#accountServiceEndpoint" /> </wss:service> </wss:binding>
Si quelqu'un pourrait m'aider je lui serais très reconnaissante
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 <?xml version="1.0" encoding="UTF-8"?> <mule xmlns="http://www.mulesource.org/schema/mule/core/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:spring="http://www.springframework.org/schema/beans" xmlns:soap="http://www.mulesource.org/schema/mule/soap/2.0" xmlns:cxf="http://www.mulesource.org/schema/mule/cxf/2.0" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://www.mulesource.org/schema/mule/core/2.0 http://www.mulesource.org/schema/mule/core/2.0/mule.xsd http://www.mulesource.org/schema/mule/soap/2.0 http://www.mulesource.org/schema/mule/soap/2.0/mule-soap.xsd http://www.mulesource.org/schema/mule/cxf/2.0 http://www.mulesource.org/schema/mule/cxf/2.0/mule-cxf.xsd http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd"> <model name="services"> <service name="RembourssementService"> <inbound> <cxf:inbound-endpoint address="wsdl:localhost:8084/proto/services/accountServiceEndpoint?wsdl" /> </inbound> <component> <spring-object bean="accountServiceEndpoint" /> </component> </service> </model> </mule>
Partager