Web service doesn't only speak one language.
SOAP is a key for the communication.
c***c 发帖数: 6234
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
org.apache.axis.encoding.TypeMappingImpl@1ea310c
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.
m******t 发帖数: 2416
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 : org.apache.axis.encoding.TypeMappingImpl@1ea310c