Hi,
I have an web service on developed .net
The Url is :
www.yemeksepeti.com/YemeksepetiCatalogWebService/CatalogExportMobile.asmx

I want to use the service methods is : Mobile_GetCities

> SOAP 1.1
>
> The following is a sample SOAP 1.1
> request and response. The placeholders
> shown need to be replaced with actual
> values.
>
> POST
> /YemeksepetiCatalogWebService/CatalogExportMobile.asmx
> HTTP/1.1 Host: www.yemeksepeti.com
> Content-Type: text/xml; charset=utf-8
> Content-Length: length SOAPAction:
> "http://tempuri.org/Mobile_GetCities";
>
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> <soap:Body>
>     <Mobile_GetCities xmlns="http://tempuri.org/"; />
> </soap:Body> </soap:Envelope>
>
> HTTP/1.1 200 OK Content-Type:
> text/xml; charset=utf-8
> Content-Length: length
>
> <?xml version="1.0" encoding="utf-8"?>
> <soap:Envelope
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
> <soap:Body>
>     <Mobile_GetCitiesResponse xmlns="http://tempuri.org/";>
>       <Mobile_GetCitiesResult>xml</Mobile_GetCitiesResult>
>     </Mobile_GetCitiesResponse>   </soap:Body> </soap:Envelope>

Here is the Soap Methods


And here is the get and set methods


>HTTP GET
>
>The following is a sample HTTP GET request and response. The placeholders 
>shown need to >be replaced with actual values.
>
>GET /YemeksepetiCatalogWebService/CatalogExportMobile.asmx/Mobile_GetCities? 
>HTTP/1.1
>Host: www.yemeksepeti.com
>
>HTTP/1.1 200 OK
>Content-Type: text/xml; charset=utf-8
>Content-Length: length
>
><?xml version="1.0"?>
>xml
>
>HTTP POST
>
>The following is a sample HTTP POST request and response. The placeholders 
>shown need to >be replaced with actual values.
>
>POST /YemeksepetiCatalogWebService/CatalogExportMobile.asmx/Mobile_GetCities 
>HTTP/1.1
>Host: www.yemeksepeti.com
>Content-Type: application/x-www-form-urlencoded
>Content-Length: length
>
>HTTP/1.1 200 OK
>Content-Type: text/xml; charset=utf-8
>Content-Length: length
>
><?xml version="1.0"?>
>xml
>


The web service have an authentication, the username and password must
enter in.
I try to diffirent ways on connect the webservice and take the xml
file result.
But I couldnt success.
I tried to connect httpClient, ı try to set the authentication
password and like
Then I tried connect the webservice with ksoap2 methods.

Could you show me a way ?
Which  way I should to go?
I read lots of forum thread about,
Calling a web service from Android  and How to do HTTP authentication
in android like that..
Thanks for your heplness


-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to