Hi Guys !!

First... sorry by my english, i am spanish...

I have a android application which is connecting with a WCF
Service .NET using KSOAP2.

My client Android connect with the service OK. And my client can send
a complex data type and receive this.

The problem is in the server (Ok, i dont know if my problem is of .NET
or Android, but i am desesperate). The server recive my Complex Type,
but can't read the properties... it look arrive null.

However, the server re-send this object with properties changed, and
this new value YES arrive to my client android. :S

Why my server can not read the properties ??

The SOAP send to my WCF is this:
<v:Envelope xmlns:i="http://www.w3.org/2001/XMLSchema-instance";
xmlns:d="http://www.w3.org/2001/XMLSchema"; xmlns:c="http://
schemas.xmlsoap.org/soap/encoding/" xmlns:v="http://
schemas.xmlsoap.org/soap/envelope/"><v:Header /
><v:Body><GetDataUsingDataContract xmlns="http://tempuri.org/"; id="o0"
c:root="1"><composite i:type="n0:CompositeType" xmlns:n0="http://
schemas.datacontract.org/2004/07/TicketoWS"><BoolValue
i:type="d:boolean">true</BoolValue><StringValue
i:type="d:string">Probando</StringValue></composite></
GetDataUsingDataContract></v:Body></v:Envelope>


The Response in my client android is this:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/
envelope/"><s:Body><GetDataUsingDataContractResponse xmlns="http://
tempuri.org/"><GetDataUsingDataContractResult xmlns:a="http://
schemas.datacontract.org/2004/07/TicketoWS" xmlns:i="http://www.w3.org/
2001/XMLSchema-instance"><a:BoolValue>false</
a:BoolValue><a:StringValue>data from server</a:StringValue></
GetDataUsingDataContractResult></GetDataUsingDataContractResponse></
s:Body></s:Envelope>


Thanks all people for your time.

-- 
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