Bonjour,

J'ai suivi le tuto "http://dsilvera.developpez.com/tutoriels/android/utilisation-web-service-soap-sous-android/" pour l'utilisation du web service SOAP sous Android et j'ai l'erreur suivante:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
org.xmlpull.v1.XmlPullParserException: unexpected type (position:END_DOCUMENT null@1:0 in java.io.InputStreamReader@6b8116)
voici mon code :
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
public class SoapHelper {
 
	private static final String	SOAP_ACTION	= "http://tempuri.org/IFlashInfoService/GetFlashInfo";
	private static final String	METHOD_NAME	= "GetFlashInfo";
	private static final String	NAMESPACE	= "map.aeroportsdeparis.fr";
	private static final String	URL	= "http://map.aeroportsdeparis.fr/ADP.WebServices.FlashInfo/FlashInfoService.svc";
 
	public static SoapObject soap (String property, String value) throws IOException, XmlPullParserException
	{
		SoapObject request = new SoapObject (NAMESPACE, METHOD_NAME);
		if (property != null)
			request.addProperty(property, value);
 
		SoapSerializationEnvelope envelope = new SoapSerializationEnvelope (SoapEnvelope.VER11);
		envelope.setOutputSoapObject (request);
 
		HttpTransportSE androidHttpTransport = new HttpTransportSE (URL);
 
		androidHttpTransport.debug = true; 
 
		androidHttpTransport.call (SOAP_ACTION, envelope);
 
		SoapObject soapResult = null;
		soapResult = (SoapObject) envelope.getResponse ();
 
		return soapResult;
	}
 
}
J'ai remarqué qu'il y'a eu des personnes qui ont déja eu le même problème, si quelqu'un à une solution, je suis preneur.

Merci d'avance.