【问题标题】:What are the specifications/recommendations for data types in JAX-RPC web services?JAX-RPC Web 服务中的数据类型有哪些规范/建议?
【发布时间】:2010-09-23 10:37:44
【问题描述】:

使用 Java、Axis1 和 JAX-RPC 开发 Web 服务时,在通过 Web 服务发送复杂数据类型时必须遵循哪些约束、建议和规范?

For example, the method:
public MyComplexClass webServiceOperation() {
  return new MyComplexClass;
}

MyComplexClass 的方法、getter、setter、变量等有什么限制吗?

【问题讨论】:

  • 我建议使用 Axis 构建 Web 服务的人不使用 Axis。 ;)
  • @gustafc:这没有帮助。您至少可以指出您不喜欢 Axis 的原因以及您会推荐什么。否则这只是一团火焰。
  • 我想通过告诉(以友好的方式)不要使用旧的 jax-rpc 堆栈来支持 gustafc。这太复杂了。请将您的网络服务建立在较新的 jax-ws (jax-rpc 2.0) 规范上。您可以使用axis2 实现来创建您的Web 服务。 SOAP Web 服务技术本身就已经足够复杂了。

标签: java web-services jax-ws


【解决方案1】:
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-06-16
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多