Web 服务返回类型
Web 服务可能的返回类型有哪些?我正在使用 NetBeans 6.7.1 并使用 Java 工作。 我想创建一个返回 String[] 的 Web 服务...我创建了一个授权类,并且我想在已经创建的 Web 服务中添加一个函数。问题是它不允许我进行返回类型字符串的操作。
有什么解决办法,请帮忙! 谢谢!
what are the possible return types for a web service? I am using NetBeans 6.7.1 and working in Java.
I want to make a web service that would return String[]... I made a class of Authorization and I want to add a function in an already made web service. the problem is that it doesnt let me make an operation of return type string.
Any solution, please help!
Thanx!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个简单的例子。
只是返回基本类型。
不确定返回字符串数组
This is a simple example.
Just returning the basic types.
Not sure about returning arrays of Strings