由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Help: web service questions
相关主题
java StringWeb Services 现在很热吗?
Can someone help on Soap?怎么把servlet publish成web services
求教jbuilder的问题web service returns HashMap that contains multiple ArrayList
继续问土问题简单的问题,搞不懂了, 帮忙
how to map one to many relation for a single table in hibe探讨一个 ORM + web service 的问题
[转载] Lousy WSDL?One simple question!
Re: Which Web service is better EJB or RRe: when do I need to recompile
webservices products谁推荐一本XML的书?
相关话题的讨论汇总
话题: web话题: service话题: obj3话题: obj2话题: method
进入Java版参与讨论
1 (共1页)
c***c
发帖数: 6234
1
1. C++ can not call a Java Web Service which return an Object. Right? I have
to call a C++ described Web Service Right?
2. Is it possible that a method returns multiple parameters, such as
String Method (Class1 obj1, Class2 obj2, Class3 obj3)
obj2 and obj3 are empty and after I call Method(1,obj2,obj3), I get value back
Thanks
c*****s
发帖数: 214
2

webservcie是和语言无关的。它用WSDL描述,通讯的内容是soap,协议理论上没限制一般
是http。所以没有返回java对象的webservice,也有没有用C++描述的webservice。每种
语言的webservice工具包里应该有把消息拿出来和自己对象/结构绑定的工具。
当然可以。返回的消息内容格式是定义在wsdl里的xml,可以是任何xml结构。
back
没看明白

【在 c***c 的大作中提到】
: 1. C++ can not call a Java Web Service which return an Object. Right? I have
: to call a C++ described Web Service Right?
: 2. Is it possible that a method returns multiple parameters, such as
: String Method (Class1 obj1, Class2 obj2, Class3 obj3)
: obj2 and obj3 are empty and after I call Method(1,obj2,obj3), I get value back
: Thanks

s*********n
发帖数: 38
3
why not define a class containing the three objects, then you can pass and
return an object of this type.

have



【在 c*****s 的大作中提到】
:
: webservcie是和语言无关的。它用WSDL描述,通讯的内容是soap,协议理论上没限制一般
: 是http。所以没有返回java对象的webservice,也有没有用C++描述的webservice。每种
: 语言的webservice工具包里应该有把消息拿出来和自己对象/结构绑定的工具。
: 当然可以。返回的消息内容格式是定义在wsdl里的xml,可以是任何xml结构。
: back
: 没看明白

A**o
发帖数: 1550
4
Or just use a collection object, say Colletion, List, Set, Map...



value

【在 s*********n 的大作中提到】
: why not define a class containing the three objects, then you can pass and
: return an object of this type.
:
: have
: 般
: 种

1 (共1页)
进入Java版参与讨论
相关主题
谁推荐一本XML的书?how to map one to many relation for a single table in hibe
语义网研究论坛[转载] Lousy WSDL?
anybody familiar w/ Axis? targetService is nullRe: Which Web service is better EJB or R
Re: Can Web Services return Hash or Objewebservices products
java StringWeb Services 现在很热吗?
Can someone help on Soap?怎么把servlet publish成web services
求教jbuilder的问题web service returns HashMap that contains multiple ArrayList
继续问土问题简单的问题,搞不懂了, 帮忙
相关话题的讨论汇总
话题: web话题: service话题: obj3话题: obj2话题: method