On 8/22/07, Karuppusamy, Thamayanthi (Consultant) < [EMAIL PROTECTED]> wrote: > > yes I got it?. After adding that attribute it is creating , thanks, same > way please tell why class are created for request and response? >
A seperate class is created per every top element in schema. in your wsdl I think request and response messages are refering to to different elements. Amila. Thanks & Regards > Thamayanthi Karuppusamy > > > ------------------------------ > *From:* Amila Suriarachchi [mailto:[EMAIL PROTECTED] > *Sent:* Wednesday, August 22, 2007 11:01 AM > *To:* [email protected] > *Subject:* Re: AXIS2 Skeleton generation > > hi, > did you use -ssi option to generate the skelton interface? > > I tried with a sample wsdl and it worked fine. and at the message receiver > it cast to the interface as well. > > Can you please specify the parameters you gave to wsdl2java.sh and send a > sample wsdl which demostrate the problem. > > thanks, > Amila. > > On 8/21/07, Karuppusamy, Thamayanthi (Consultant) <[EMAIL PROTECTED]> > wrote: > > > > Hi, > > > > In our project we are creating skeleton files each whenever the > > ant script is running. So we created new class to write our business logic. > > This class in configured in service.xml as ServiceClass name. But while > > running application I am getting error classcastException because * > > ServiceMessageReceiverInOut.java, they are typecasting to *Skeleton > > class generated by wsdl2java. > > > > I tried by creating interface using wsdl2java script, but *skeleton > > class generated by AXIS2 is not implementing this interface. So I could able > > to use this interface. For temporary I just extends *Skeleton class in my > > service class, but I shouldn't this way. Due that I am not able to throw > > RemoteException in my service class. > > > > * Please any body know the solution provide me as soon as possible.* > > > > * And how to avoid creation of WSDL file?.* > > > > Thanks & Regards > > Thamayanthi Karuppusamy > > > > > > ------------------------------ > > > > *This email may contain confidential and privileged material for the > > sole use of the intended recipient(s). Any review, use, retention, > > distribution or disclosure by others is strictly prohibited. If you are not > > the intended recipient (or authorized to receive for the recipient), please > > contact the sender by reply email and delete all copies of this message. > > Also, email is susceptible to data corruption, interception, tampering, > > unauthorized amendment and viruses. We only send and receive emails on the > > basis that we are not liable for any such corruption, interception, > > tampering, amendment or viruses or any consequence thereof. * > > > > > > -- > Amila Suriarachchi, > WSO2 Inc. > > ------------------------------ > > * This email may contain confidential and privileged material for the sole > use of the intended recipient(s). Any review, use, retention, distribution > or disclosure by others is strictly prohibited. If you are not the intended > recipient (or authorized to receive for the recipient), please contact the > sender by reply email and delete all copies of this message. Also, email is > susceptible to data corruption, interception, tampering, unauthorized > amendment and viruses. We only send and receive emails on the basis that we > are not liable for any such corruption, interception, tampering, amendment > or viruses or any consequence thereof. * > -- Amila Suriarachchi, WSO2 Inc.
