��.. Thx a lot! Btw what I should do? Should I replace them with older version plugins?
2008/10/1 Saminda Wijeratne <[EMAIL PROTECTED]> > The latest available plugin gives that error because it is giving > ClassDefNotFound exception for class > javax.xml.stream.XMLStreamException. This class resides in geranimo-stax. > > Yefeng Liu wrote: > > Axis2 1.4.1 > > Axis2 Codegen Wizard 1.3.0 > > Axis2 Service Archiver 1.3.0 > > > > All are the latest version I think. > > > > 2008/10/1 keith chapman <[EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> > > > > Which version of Axis2/ The eclipse plugin are you using? > > > > Thanks, > > Keith. > > > > 2008/9/30 Danny LIU <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> > > > > Hi everyone! > > > > Im a new learner of axis2, and basically Im following a > > tutorial to study it > > right now. > > > > My problem is I got a strange exception when I try to generate > > Java code from WSDL file > > using eclipse's plugin -Axis2 Code Generator . > > The exception is " java.lang.reflect.InvocationTargetException" > > does anyone know how to fix this? > > > > Thx in advance. > > > > Here is my wsdl code: > > > > <?xml version="1.0" encoding="UTF-8"?> > > <wsdl:definitions > > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" > > xmlns:tns="http://www.example.org/helloAxis2/" > > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > > xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="helloAxis2" > > targetNamespace="http://www.example.org/helloAxis2/"> > > <wsdl:types> > > <xsd:schema > > targetNamespace="http://www.example.org/helloAxis2/"> > > <xsd:element name="Response" type="xsd:string" /> > > <xsd:element name="Request" type="xsd:string" /> > > </xsd:schema> > > </wsdl:types> > > <wsdl:message name="Response"> > > <wsdl:part element="tns:Response" > > name="Response" /> > > </wsdl:message> > > <wsdl:message name="Request"> > > <wsdl:part element="tns:Request" > > name="Request" /> > > </wsdl:message> > > <wsdl:portType name="helloAxis2"> > > <wsdl:operation name="sayHello"> > > <wsdl:input message="tns:Request" /> > > <wsdl:output message="tns:Response" /> > > </wsdl:operation> > > </wsdl:portType> > > <wsdl:binding name="helloAxis2SOAP" type="tns:helloAxis2"> > > <soap:binding style="document" > > transport="http://schemas.xmlsoap.org/soap/http" /> > > <wsdl:operation name="sayHello"> > > <soap:operation > > soapAction="http://localhost:8080/axis2/services/helloAxis2" /> > > <wsdl:input> > > <soap:body use="literal" /> > > </wsdl:input> > > <wsdl:output> > > <soap:body use="literal" /> > > </wsdl:output> > > </wsdl:operation> > > </wsdl:binding> > > <wsdl:service name="helloAxis2"> > > <wsdl:port binding="tns:helloAxis2SOAP" name="helloAxis2SOAP"> > > <soap:address > > location="http://localhost:8080/axis2/services/helloAxis2" /> > > </wsdl:port> > > </wsdl:service> > > </wsdl:definitions> > > > > -- > > > > 天生万物以养人 > > > > 人无一德以报天 > > > > > > > > > > -- > > Keith Chapman > > Senior Software Engineer > > WSO2 Inc. > > Oxygenating the Web Service Platform. > > http://wso2.org/ > > > > blog: http://www.keith-chapman.org > > > > > > > > > > -- > > > > 天生万物以养人 > > > > 人无一德以报天 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- 天生万物以养人 人无一德以报天