由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - deserializer probelm.Ignore upper. Thx
相关主题
Help: could not find deserializer. ThxRe: Can Web Services return Hash or Obje
Question: EJB Web Services IntegrationSOAP over SMTP
Which Web service is better EJB or RPCQuestions on EJB3 Persistence/Hibernate
Re: Which Web service is better EJB or R[合集] Web Service Java 客户端的问题
Java EE vs. Core Java, 该选哪个呢?几个问题
A nice EJB server(recommend)Can someone help on Soap?
How to access ActiveX control in JSP or EJB?another Java interview Question
need help from the J2EE expert问一个问题
相关话题的讨论汇总
话题: string话题: mytestbean话题: public话题: upper
进入Java版参与讨论
1 (共1页)
c***c
发帖数: 6234
1
It is a little long. But pls help me. I have a Bean
public class MyTestBean implements Serializable {
private String c="";
public MyTestBean(String s1, String s2) {
c= s1+"|"+s2;
}
public String getCValue(){
return c;
}
}
I have EJB service. It works (I can see it on Axis server)
public class ATMDepositBean implements SessionBean {
..... some code here (like ejbCreate())
public MyTestBean deposit(String accountNum, String amount)
c*****t
发帖数: 1879
2
Where is your default constructor??!!!
Also, setter is missing.

【在 c***c 的大作中提到】
: It is a little long. But pls help me. I have a Bean
: public class MyTestBean implements Serializable {
: private String c="";
: public MyTestBean(String s1, String s2) {
: c= s1+"|"+s2;
: }
: public String getCValue(){
: return c;
: }
: }

c***c
发帖数: 6234
3
I have default constructor in MyTestBean MytestBean(){}. Just omit it
What is the setter?
Thank you for your time

xmlns:ns="urn:ATMDepositService"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"

【在 c*****t 的大作中提到】
: Where is your default constructor??!!!
: Also, setter is missing.

1 (共1页)
进入Java版参与讨论
相关主题
问一个问题Java EE vs. Core Java, 该选哪个呢?
Re: EJB and its Future (Discussion welcomed)A nice EJB server(recommend)
关于EJB开发的几个问题How to access ActiveX control in JSP or EJB?
can applet implements runnable?need help from the J2EE expert
Help: could not find deserializer. ThxRe: Can Web Services return Hash or Obje
Question: EJB Web Services IntegrationSOAP over SMTP
Which Web service is better EJB or RPCQuestions on EJB3 Persistence/Hibernate
Re: Which Web service is better EJB or R[合集] Web Service Java 客户端的问题
相关话题的讨论汇总
话题: string话题: mytestbean话题: public话题: upper