0
我正在使用wcf web服务制作应用程序。如何使用ksoap2从android发送多个参数到wcf服务器
我想发送多个参数,但只有我知道事情是这样的
request.addProperty("Fahrenheit",txtData.getText().toString());
那么怎么办呢?
下面是我的wcf代码的一部分。
public string GetFirstName(byte[] source, int height, int width)
{
Bitmap bitmap = ImageTypeConverter.ArrayToImage(source, height, width);
bitmap.Save(Environment.CurrentDirectory + "test" + ".bmp", System.Drawing.Imaging.ImageFormat.Bmp);
return "ImageSaveComplete";
}
正如你所看到的,我想传递字节数组和整数值。
请让我知道答案。
谢谢。我将应用此代码。 – 2014-11-07 06:43:01