Guest User

Untitled

a guest
Jan 22nd, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. AssetManager am = getAssets();
  2. // am.open("packet/sky.png", MODE_PRIVATE);
  3. InputStream is = am.open("packet/sky.png", MODE_PRIVATE);
  4.  
  5. getResources().openRawResource(R.drawable.sky);
  6.  
  7. SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
  8. request.addProperty("xml", param);
  9.  
  10. SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(
  11. SoapEnvelope.VER11);
  12. envelope.setOutputSoapObject(request);
  13.  
  14. HttpTransportSE transportSE = new HttpTransportSE(URL);
  15.  
  16. transportSE.call(SOAP_ACTION, envelope);
  17.  
  18. SoapObject result = (SoapObject) envelope.bodyIn;
Add Comment
Please, Sign In to add comment