my wsdl - <wsdl:definitions xmlns:axis2="http://ws.apache.org/axis2" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns0="http://agenteservidor/xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://ws.apache.org/axis2"> - <wsdl:types> - <xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://agenteservidor/xsd"> - <xs:element name="isLogin"> - <xs:complexType> - <xs:sequence> <xs:element name="param0" type="xs:string" /> </xs:sequence> </xs:complexType> </xs:element> - <xs:element name="isLoginResponse"> - <xs:complexType> - <xs:sequence> <xs:element name="return" type="xs:boolean" /> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> </wsdl:types> - <wsdl:message name="isLoginMessage"> <wsdl:part name="part1" element="ns0:isLogin" /> </wsdl:message> - <wsdl:message name="isLoginResponse"> <wsdl:part name="part1" element="ns0:isLoginResponse" /> </wsdl:message> - <wsdl:portType name="VerificaLoginPortType"> - <wsdl:operation name="isLogin"> <wsdl:input xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="axis2:isLoginMessage" wsaw:Action="urn:isLogin" /> <wsdl:output message="axis2:isLoginResponse" /> </wsdl:operation> </wsdl:portType> - <wsdl:binding name="VerificaLoginSOAP11Binding" type="axis2:VerificaLoginPortType"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> - <wsdl:operation name="isLogin"> <soap:operation soapAction="urn:isLogin" style="document" /> - <wsdl:input> <soap:body use="literal" /> </wsdl:input> - <wsdl:output> <soap:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> - <wsdl:binding name="VerificaLoginSOAP12Binding" type="axis2:VerificaLoginPortType"> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" /> - <wsdl:operation name="isLogin"> <soap12:operation soapAction="urn:isLogin" style="document" /> - <wsdl:input> <soap12:body use="literal" /> </wsdl:input> - <wsdl:output> <soap12:body use="literal" /> </wsdl:output> </wsdl:operation> </wsdl:binding> - <wsdl:binding name="VerificaLoginHttpBinding" type="axis2:VerificaLoginPortType"> <http:binding verb="POST" /> - <wsdl:operation name="isLogin"> <http:operation location="isLogin" /> - <wsdl:input> <mime:content type="text/xml" /> </wsdl:input> - <wsdl:output> <mime:content type="text/xml" /> </wsdl:output> </wsdl:operation> </wsdl:binding> - <wsdl:service name="VerificaLogin"> - <wsdl:port name="VerificaLoginSOAP11port_http" binding="axis2:VerificaLoginSOAP11Binding"> <soap:address location="http://10.0.0.111:8080/axis2/services/VerificaLogin" /> </wsdl:port> - <wsdl:port name="VerificaLoginSOAP12port_http" binding="axis2:VerificaLoginSOAP12Binding"> <soap12:address location="http://10.0.0.111:8080/axis2/services/VerificaLogin" /> </wsdl:port> - <wsdl:port name="VerificaLoginHttpport0" binding="axis2:VerificaLoginHttpBinding"> <http:address location="http://10.0.0.111:8080/axis2/rest/VerificaLogin" /> </wsdl:port> </wsdl:service> </wsdl:definitions>
and the command : java org.apache.axis2.wsdl.WSDL2Java -uri http://localhost:8080/axis2/services/VerificaLogin?wsdl -p br.com.dnasolution she return: log4j:WARN No appenders could be found for logger (org.apache.axis2.i18n.Project ResourceBundle). log4j:WARN Please initialize the log4j system properly. CLASSPATH component C:\tomcat\webapps\axis2\WEB-INF\classes\log4j.properties: ja va.util.zip.ZipException: error in opening zip file but create the .java, i put im netbeans, import ALL axis2\lib\*.jar and run.. then netbeans return that erro:: tks Caraio meu como e complicado mexer com o axis2 heim.. o 1.4 eu ja tava craque.. esse 2 so veio pra complicar.. tu conhece o tal deo XFire?? ----- Original Message ----- From: "robert lazarski" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, September 20, 2006 3:51 PM Subject: Re: unreachable statement > Show us your wsdl please , and the options you pass to wsdl2java . > > Robert > > On 9/20/06, Fabio Alves de Araujo Ebner - DNA Solution > <[EMAIL PROTECTED]> wrote: > > > > > > why when i try compile my class create by WSDL2Java i got the erro: > > > > D:\Java\desenvolvimento\netbeans\AgenteServidor\src\src\br\com\dnasolution\c liente\VerificaLoginStub.java:121: > > unreachable statement > > org.apache.axis2.context.MessageContext > > _messageContext = new > > org.apache.axis2.context.MessageContext() ; > > D:\Java\desenvolvimento\netbeans\AgenteServidor\src\src\br\com\dnasolution\c liente\VerificaLoginStub.java:212: > > unreachable statement > > org.apache.axis2.context.MessageContext > > _messageContext = new > > org.apache.axis2.context.MessageContext() ; > > > > i put the axis2-kernel > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
