Bonjour,
je developpe deux apps java ee, la 1ère(Xfire WS+Hibernate) consiste à retourner une List d'objets depuis une bdd, pour que l'autre app (Jsf+Spring+Hibernate) pourra par la suite la demander(List).
Le prb est que je n'arrive pas à transmettre la List.

Structure de la 1ère app:
Nom : 20-01-2015 18-01-48.jpg
Affichages : 424
Taille : 164,9 Ko

La classe d'implentation:
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
29
30
31
32
33
34
35
36
package com.siege.service;
 
import java.util.Date;
import java.util.List;
 
import com.siege.dao.LunettesPrix;
import com.siege.dao.LunettesPrixDAO;
//Generated by MyEclipse
 
public class SiegeServiceImpl implements ISiegeService {
 
	private LunettesPrixDAO lunette=new LunettesPrixDAO();
	public String example(String message) {
		return message;
	}
 
	public LunettesPrixDAO getLunette() {
		return lunette;
	}
 
	public void setLunette(LunettesPrixDAO lunette) {
		this.lunette = lunette;
	}
 
	public void ajoutCmd(int codeCmd, String client, int codeL, int qteCmd,
			Date dateCmd) {
		// TODO Auto-generated method stub
 
	}
 
	public List<LunettesPrix> getDetails() {
		List<LunettesPrix> ll=(List<LunettesPrix>)lunette.findAll();
		return ll;
	}
 
}
Ci-joint, le fichier wsdl.

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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
 
  <?xml version="1.0" encoding="UTF-8" ?> 
- <wsdl:definitions targetNamespace="http://service.siege.com" xmlns:ns1="http://dao.siege.com" xmlns:soapenc12="http://www.w3.org/2003/05/soap-encoding" xmlns:tns="http://service.siege.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap11="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc11="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
- <wsdl:types>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://service.siege.com">
- <xsd:element name="ajoutCmd">
- <xsd:complexType>
- <xsd:sequence>
  <xsd:element maxOccurs="1" minOccurs="1" name="in0" type="xsd:int" /> 
  <xsd:element maxOccurs="1" minOccurs="1" name="in1" nillable="true" type="xsd:string" /> 
  <xsd:element maxOccurs="1" minOccurs="1" name="in2" type="xsd:int" /> 
  <xsd:element maxOccurs="1" minOccurs="1" name="in3" type="xsd:int" /> 
  <xsd:element maxOccurs="1" minOccurs="1" name="in4" type="xsd:dateTime" /> 
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
- <xsd:element name="ajoutCmdResponse">
  <xsd:complexType /> 
  </xsd:element>
- <xsd:element name="getDetails">
  <xsd:complexType /> 
  </xsd:element>
- <xsd:element name="getDetailsResponse">
- <xsd:complexType>
- <xsd:sequence>
  <xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="ns1:ArrayOfLunettesPrix" /> 
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
- <xsd:element name="example">
- <xsd:complexType>
- <xsd:sequence>
  <xsd:element maxOccurs="1" minOccurs="1" name="in0" nillable="true" type="xsd:string" /> 
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
- <xsd:element name="exampleResponse">
- <xsd:complexType>
- <xsd:sequence>
  <xsd:element maxOccurs="1" minOccurs="1" name="out" nillable="true" type="xsd:string" /> 
  </xsd:sequence>
  </xsd:complexType>
  </xsd:element>
  </xsd:schema>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://dao.siege.com">
- <xsd:complexType name="ArrayOfLunettesPrix">
- <xsd:sequence>
  <xsd:element maxOccurs="unbounded" minOccurs="0" name="LunettesPrix" nillable="true" type="ns1:LunettesPrix" /> 
  </xsd:sequence>
  </xsd:complexType>
- <xsd:complexType name="LunettesPrix">
- <xsd:sequence>
  <xsd:element minOccurs="0" name="codeL" nillable="true" type="xsd:int" /> 
  <xsd:element minOccurs="0" name="descL" nillable="true" type="xsd:string" /> 
  <xsd:element minOccurs="0" name="nomL" nillable="true" type="xsd:string" /> 
  <xsd:element minOccurs="0" name="prixL" nillable="true" type="xsd:int" /> 
  </xsd:sequence>
  </xsd:complexType>
  </xsd:schema>
  </wsdl:types>
- <wsdl:message name="getDetailsResponse">
  <wsdl:part name="parameters" element="tns:getDetailsResponse" /> 
  </wsdl:message>
- <wsdl:message name="getDetailsRequest">
  <wsdl:part name="parameters" element="tns:getDetails" /> 
  </wsdl:message>
- <wsdl:message name="exampleRequest">
  <wsdl:part name="parameters" element="tns:example" /> 
  </wsdl:message>
- <wsdl:message name="ajoutCmdRequest">
  <wsdl:part name="parameters" element="tns:ajoutCmd" /> 
  </wsdl:message>
- <wsdl:message name="ajoutCmdResponse">
  <wsdl:part name="parameters" element="tns:ajoutCmdResponse" /> 
  </wsdl:message>
- <wsdl:message name="exampleResponse">
  <wsdl:part name="parameters" element="tns:exampleResponse" /> 
  </wsdl:message>
- <wsdl:portType name="SiegeServicePortType">
- <wsdl:operation name="ajoutCmd">
  <wsdl:input name="ajoutCmdRequest" message="tns:ajoutCmdRequest" /> 
  <wsdl:output name="ajoutCmdResponse" message="tns:ajoutCmdResponse" /> 
  </wsdl:operation>
- <wsdl:operation name="getDetails">
  <wsdl:input name="getDetailsRequest" message="tns:getDetailsRequest" /> 
  <wsdl:output name="getDetailsResponse" message="tns:getDetailsResponse" /> 
  </wsdl:operation>
- <wsdl:operation name="example">
  <wsdl:input name="exampleRequest" message="tns:exampleRequest" /> 
  <wsdl:output name="exampleResponse" message="tns:exampleResponse" /> 
  </wsdl:operation>
  </wsdl:portType>
- <wsdl:binding name="SiegeServiceHttpBinding" type="tns:SiegeServicePortType">
  <wsdlsoap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" /> 
- <wsdl:operation name="ajoutCmd">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="ajoutCmdRequest">
  <wsdlsoap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output name="ajoutCmdResponse">
  <wsdlsoap:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="getDetails">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="getDetailsRequest">
  <wsdlsoap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output name="getDetailsResponse">
  <wsdlsoap:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
- <wsdl:operation name="example">
  <wsdlsoap:operation soapAction="" /> 
- <wsdl:input name="exampleRequest">
  <wsdlsoap:body use="literal" /> 
  </wsdl:input>
- <wsdl:output name="exampleResponse">
  <wsdlsoap:body use="literal" /> 
  </wsdl:output>
  </wsdl:operation>
  </wsdl:binding>
- <wsdl:service name="SiegeService">
- <wsdl:port name="SiegeServiceHttpPort" binding="tns:SiegeServiceHttpBinding">
  <wsdlsoap:address location="http://android-45210fsard6a95a457:8080/gestion_siege/services/SiegeService" /> 
  </wsdl:port>
  </wsdl:service>
  </wsdl:definitions>

En essayant d'ajouter un client ws pour tester, un message en pièce jointe s'affiche.
Nom : Capture d’écran (36).png
Affichages : 342
Taille : 33,3 Ko
Veuillez Svp me guider et me donner des conseils si vous les avez.

Merci.