If I get the value from my list select item on the previous page which is stored in the extras, like this, I DO get the correct value, but as soon as it makes it to the line where the .Call is made, it throws the exception SoapObject request = new SoapObject(WSDL_TARGET_NAMESPACE,METHOD_NAME); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); PropertyInfo reqid = new PropertyInfo(); Bundle extras = getIntent().getExtras(); if(extras != null) { valReqid = extras.getString("reqid"); sesCookie = extras.getString("mSessionHeader"); } reqid.setName("id"); reqid.setValue(valReqid); request.addProperty(reqid); envelope.dotNet = true; envelope.setOutputSoapObject(request); HttpTransportSE httpTransport = new HttpTransportSE(URL); try { List<HeaderProperty> reqHeaders = new LinkedList<HeaderProperty>(); reqHeaders.add(new HeaderProperty("Cookie", sesCookie)); httpTransport.call(SOAP_ACTION, envelope, (List<HeaderProperty>)reqHeaders); If change the valReqid to an int instead, it always returns 0, but of course it makes it past the .call but then cant find the properties because there is nothing returned. If it helps or matters, the web service returns a struct
-- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.