avatar
Can someone help on Soap?# Java - 爪哇娇娃
g*g
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
avatar
c*t
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

avatar
g*g
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.

avatar
m*r
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

avatar
m*t
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?

avatar
g*g
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. ;-)

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。