Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion - How to consumer webservice SOAP
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Re JMD  
View profile  
 More options Oct 3 2012, 8:51 am
From: Re JMD <rjmdf...@gmail.com>
Date: Wed, 3 Oct 2012 09:50:11 -0300
Local: Wed, Oct 3 2012 8:50 am
Subject: Re: [android-developers] - How to consumer webservice SOAP

Webservice.net or Andorid?

2012/10/3 Rahul Kaushik <rahulkaushi...@gmail.com>

> you can amend your  code logic

> TX
> RK

> On Wed, Oct 3, 2012 at 5:50 PM, Re JMD <rjmdf...@gmail.com> wrote:

>> In this case i will received the list of <Object Sales> so i can use
>> property of another <Object Saller> for example, i want recover name of
>> saller but in <Object Sales> i have only id saller.

>> 2012/10/3 Rahul Kaushik <rahulkaushi...@gmail.com>

>>> Hello Jmd
>>> i belive ur trying to consume .net web service with method name
>>> getsales() in android
>>> if true try

>>> public String getUsername()
>>> {
>>>  String strusername="";
>>> try
>>> {

>>> final String METHOD_NAME = "getUserName";
>>> final String NAMESPACE = AndroidLogin.ActualServerUrl + "FIQServer.jws/";
>>>  final String SOAP_ACTION = AndroidLogin.ActualServerUrl +
>>> "FIQServer.jws/getUserName";
>>> final String URL =AndroidLogin.ActualServerUrl + "FIQServer.jws?wsdl";

>>> SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME); //set up
>>> request
>>> String strUserNo=AndroidLogin.userNo.toString().trim();
>>>  request.addProperty("userNo",strUserNo);
>>> SoapSerializationEnvelope envelope = new
>>> SoapSerializationEnvelope(SoapEnvelope.VER11 ); //put all required data
>>> into a soap envelope
>>>  envelope.setOutputSoapObject(request);
>>> HttpTransportSE     httpTransport = new HttpTransportSE(URL);
>>>  httpTransport.debug = true;
>>> httpTransport.call(SOAP_ACTION, envelope);

>>> strusername=envelope.getResponse().toString();

>>> String[] strname=strusername.split(" ");

>>> strusername=strname[0];

>>> }

>>>  catch(Exception e)
>>> {}
>>> return strusername;

>>> }

>>> else
>>> use google ()

>>> Tx
>>> RK

>>> On Wed, Oct 3, 2012 at 5:32 PM, Re JMD <rjmdf...@gmail.com> wrote:

>>>> I'm trying use SoapSerializationEnvelope but in object serialized i
>>>> can't get properties of another object, the list of objects returned
>>>> contains this references:

>>>>         [WebMethod]
>>>>          public List<estabelecimento> getSales()
>>>>         {
>>>>             Teste teste = new Teste();
>>>>             List<Sales> saleslist= teste.getSales();

>>>>             return saleslist;
>>>>         }

>>>> 2012/10/3 TreKing <treking...@gmail.com>

>>>>> On Tue, Oct 2, 2012 at 10:23 PM, Re JMD <rjmdf...@gmail.com> wrote:

>>>>>> How to get this information to webservice, is there any way to
>>>>>> serialize the object?

>>>>> This has zero to do with Android.

>>>>> --------------------------------------------------------------------------- ----------------------
>>>>> TreKing <http://sites.google.com/site/rezmobileapps/treking> -
>>>>> Chicago transit tracking app for Android-powered devices

>>>>>  --
>>>>> 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+unsubscribe@googlegroups.com
>>>>> For more options, visit this group at
>>>>> http://groups.google.com/group/android-developers?hl=en

>>>>  --
>>>> 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+unsubscribe@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/android-developers?hl=en

>>>  --
>>> 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+unsubscribe@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/android-developers?hl=en

>>  --
>> 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+unsubscribe@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en

>  --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.