axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saminda Wijeratne <samin...@wso2.com>
Subject Re: New to axis2, need some help
Date Wed, 01 Oct 2008 10:15:47 GMT
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 <keithgchapman@gmail.com
> <mailto:keithgchapman@gmail.com>>
>
>     Which version of Axis2/ The eclipse plugin are you using?
>
>     Thanks,
>     Keith.
>
>     2008/9/30 Danny LIU <swear812@gmail.com <mailto:swear812@gmail.com>>
>
>         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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message