由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - Can someone help on Soap?
相关主题
webservices productsRe: Which Web service is better EJB or R
Web Services 现在很热吗?web service returns HashMap that contains multiple ArrayList
怎么把servlet publish成web services简单的问题,搞不懂了, 帮忙
Re: Can Web Services return Hash or Obje[转载] 急!在线等---从Servlet调用AXIS的Web Service 遇到问题!
what is best for Java Desktop GUIhttp post binding in wsdl
Help: web service questions也问个SOAP相关问题
Axis vs. XFire?What is the difference between web application and web services?
[转载] Lousy WSDL?什么是JAX WS
相关话题的讨论汇总
话题: soap话题: string话题: someone话题: client话题: way
进入Java版参与讨论
1 (共1页)
g*****g
发帖数: 34805
1
I made my web service successfully using XFire. And I basically didn't
have to know a thing about Soap.
Now boss is talking about packing multiple calls in a request to speed
things up, which he doesn't have much clue himself.
Assusme you have a very simple interface
String sevice(String)
how do you achieve that, use a collection for parameter and return?
Or there's a standard way to do that by configuration?
The thing is the client will be implemented in C++ and I better make it in
standard way
c*****t
发帖数: 1879
2
A collaborator who implemented a webservice for me just dump the data in
a simple xml output for one query due to the complexity of the data, and
several tab deliminated tables for another query.

【在 g*****g 的大作中提到】
: I made my web service successfully using XFire. And I basically didn't
: have to know a thing about Soap.
: Now boss is talking about packing multiple calls in a request to speed
: things up, which he doesn't have much clue himself.
: Assusme you have a very simple interface
: String sevice(String)
: how do you achieve that, use a collection for parameter and return?
: Or there's a standard way to do that by configuration?
: The thing is the client will be implemented in C++ and I better make it in
: standard way

g*****g
发帖数: 34805
3
That sounds like a complex type.
e.g. You have a return type like A
class A{
int aa;
String bb;
}
Of course I can use a collection/array for my in/out param. But that's
a different story. Is there a way to declaretively make multiple calls
in one soap request/response? or any similar way to speed it up without
changing the service interface?

【在 c*****t 的大作中提到】
: A collaborator who implemented a webservice for me just dump the data in
: a simple xml output for one query due to the complexity of the data, and
: several tab deliminated tables for another query.

m****r
发帖数: 6639
4
我也在搞soap, 也是乱来....

【在 g*****g 的大作中提到】
: I made my web service successfully using XFire. And I basically didn't
: have to know a thing about Soap.
: Now boss is talking about packing multiple calls in a request to speed
: things up, which he doesn't have much clue himself.
: Assusme you have a very simple interface
: String sevice(String)
: how do you achieve that, use a collection for parameter and return?
: Or there's a standard way to do that by configuration?
: The thing is the client will be implemented in C++ and I better make it in
: standard way

m******t
发帖数: 2416
5

I don't think there is any way to put multiple calls into the same soap
envelope, without defining a new facade service API and a wrapper complex
type (or an array).
BTW, think you don't have to know anything about soap to build a soap
service? Wait til you try to call it from a non-Java client. ;-)

【在 g*****g 的大作中提到】
: That sounds like a complex type.
: e.g. You have a return type like A
: class A{
: int aa;
: String bb;
: }
: Of course I can use a collection/array for my in/out param. But that's
: a different story. Is there a way to declaretively make multiple calls
: in one soap request/response? or any similar way to speed it up without
: changing the service interface?

g*****g
发帖数: 34805
6
Actually my service will serve non-java client only, but it's not my job
to develop the client and I can care less. :-)
As long as I have the wsdl and a java client for unit testing, I am done.

【在 m******t 的大作中提到】
:
: I don't think there is any way to put multiple calls into the same soap
: envelope, without defining a new facade service API and a wrapper complex
: type (or an array).
: BTW, think you don't have to know anything about soap to build a soap
: service? Wait til you try to call it from a non-Java client. ;-)

1 (共1页)
进入Java版参与讨论
相关主题
什么是JAX WSwhat is best for Java Desktop GUI
what do u think of SOAP vs REST ( or even FB's thrift server)?Help: web service questions
问个gwt client code调用远程object的问题Axis vs. XFire?
java web service 得迷惑[转载] Lousy WSDL?
webservices productsRe: Which Web service is better EJB or R
Web Services 现在很热吗?web service returns HashMap that contains multiple ArrayList
怎么把servlet publish成web services简单的问题,搞不懂了, 帮忙
Re: Can Web Services return Hash or Obje[转载] 急!在线等---从Servlet调用AXIS的Web Service 遇到问题!
相关话题的讨论汇总
话题: soap话题: string话题: someone话题: client话题: way