将空参数传递给Webservice [英] passing null parameters to webservice

查看:74
本文介绍了将空参数传递给Webservice的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个接受名称,年龄,地址的Web服务.

有时用户只能发送name,age.SO,因此地址字段可以为null.

那么有可能有接受空参数的Web服务吗?

请帮助我.

在此先感谢.

解决方案

希望 [ ^ ]可能会为您提供帮助.

I am writing a webservice which accepts name,age,address.

Sometimes the user can send only name,age.SO the address field can be null.

So is it possible to have webservice which accepts null parameters?

Please help me in this.

Thanks in Advance.

解决方案

Hope this[^] might help you.


这篇关于将空参数传递给Webservice的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆