|
Hey Am writing a client, based on a similar one from the book “Axis
next generation java soap” and I have a client wrote to access my
deployed service. Im getting a java error when I create
the Class object, in that it cant find the OrphanBean,
can anyone tell me how this is meant to point to a class on the internet and
not throw an error? Or am I doing something wrong? Below is part of the client class Thanks Suzy …. Service service = new Service();
Call call = (Call) service.createCall();
call.setTargetEndpointAddress(new java.net.URL(endpointURL));
call.setOperationName(new QName("OrphansDetails", methodName));
call.addParameter("SCL1000268" , XMLType.XSD_STRING,
ParameterMode.IN);
QName qname = new QName ("OrphansDetails",
"OrphanBean");
Class cls = serviceDeployment.orphans.OrphanBean.class;
//register the OrphanBean class
call.registerTypeMapping(cls, qname,
BeanSerializerFactory.class, BeanDeserializerFactory.class);
call.setReturnType(qname);
… |
- RE: Client error calling BeanClass Suzy Fynes
- RE: Client error calling BeanClass Arijit Mukherjee
- RE: Client error calling BeanClass Suzy Fynes
