Hi Mike,
I have exactly the same problem and I googled for more than a week
with no luck. I just saw your post now. I hope you found the solution,
if so, can you please post it?
Thanks,

On Dec 1, 3:52 pm, Mike_Tek <[email protected]> wrote:
> i've searched and googled to no avail....
>
> i can call my.net c# web service just fine without parameters, as soon
> as i add a param that param is null when it hits the service.. i've
> tried passing objects, classes. I've tried every single
> SoapSerializationEnvelope type..  everything i could read on ksoap2.
>
> .net code below
>
>         [SoapRpcMethod, WebMethod]
>         public string ReturnResources(string Facility)
>         {
>             if (Facility == null) {
>                 System.Diagnostics.EventLog.WriteEntry("Application",
> "Null!!!!!!!!!!!!");
>                 return "Nothing Found";
>             }
>         }
>
> android code below (i assure you it works fine without params)
>
> SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
> request.addProperty("Facility", Facilities[0]);
>
> SoapSerializationEnvelope envelope = new SoapSerializationEnvelope
> (SoapEnvelope.VER11);
> envelope.dotNet = true;
> envelope.encodingStyle = SoapSerializationEnvelope.ENC ;
> envelope.setOutputSoapObject(request);
>
> HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
> androidHttpTransport.call(SOAP_ACTION, envelope);
> java.lang.String receivedString = (String)envelope.getResponse();
>
> i have no errors client or server side, just a null passed as param.
> i read xml is the only standard between languages, is this true? is it
> the <d:string> not matching up to <s:string>? if so why do i get a
> lang.string back just fine? sorry i'm just getting into android since
> the droid, but any help would be much appreciated..  Thanks

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

Reply via email to