Redian新闻
>
Re: Can Web Services return Hash or Obje
avatar
Re: Can Web Services return Hash or Obje# Java - 爪哇娇娃
f*g
1

Web service doesn't only speak one language.
SOAP is a key for the communication.
avatar
c*c
2
Thanks.
My manager asked me to write some web services using EJB. I am going to let
those Web Services return JavaBean( which implements Serializable ) to Web
Client (Servlet). But I get
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
faultSubcode:
faultString: java.io.IOException: No serializer found for class
com.company.util_objects.UserBean in registry
[email protected]
faultActor:
faultNode:
faultDetail
Since our company will develop oth

【在 f*****g 的大作中提到】
:
: Web service doesn't only speak one language.
: SOAP is a key for the communication.

avatar
m*t
3
You can use WSDL to define your data structure. All Web services-aware
platforms provide toolkits to generate native data structure from WSDL. I
haven't followed Web services for a while, but I do have the impression that
you should be able to also use WSDL to directly bind your service to EJB
without having an extra SOAP wrapper.

[snipped]

【在 c***c 的大作中提到】
: Thanks.
: My manager asked me to write some web services using EJB. I am going to let
: those Web Services return JavaBean( which implements Serializable ) to Web
: Client (Servlet). But I get
: AxisFault
: faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
: faultSubcode:
: faultString: java.io.IOException: No serializer found for class
: com.company.util_objects.UserBean in registry
: [email protected]

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