public com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteInutilizacaoCTResult cteInutilizacaoCT(final com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteDadosMsg cteDadosMsg0, final com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteCabecMsgE cteCabecMsg1) throws java.rmi.RemoteException {
        org.apache.axis2.context.MessageContext _messageContext = null;
        try {
            final org.apache.axis2.client.OperationClient _operationClient = this._serviceClient.createClient(this._operations[0].getName());
            _operationClient.getOptions().setAction("http://www.portalfiscal.inf.br/cte/wsdl/CteInutilizacao/cteInutilizacaoCT");
            _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
            this.addPropertyToOperationClient(_operationClient, org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR, "&");
            // create a message context
            _messageContext = new org.apache.axis2.context.MessageContext();
            // create SOAP envelope with that payload
            org.apache.axiom.soap.SOAPEnvelope env;
            env = this.toEnvelope(Stub.getFactory(_operationClient.getOptions().getSoapVersionURI()), cteDadosMsg0, this.optimizeContent(new javax.xml.namespace.QName("http://www.portalfiscal.inf.br/cte/wsdl/CteInutilizacao", "cteInutilizacaoCT")), new javax.xml.namespace.QName("http://www.portalfiscal.inf.br/cte/wsdl/CteInutilizacao", "cteInutilizacaoCT"));
            env.build();
            // add the children only if the parameter is not null
            if (cteCabecMsg1 != null) {
                final org.apache.axiom.om.OMElement omElementcteCabecMsg1 = this.toOM(cteCabecMsg1, this.optimizeContent(new javax.xml.namespace.QName("http://www.portalfiscal.inf.br/cte/wsdl/CteInutilizacao", "cteInutilizacaoCT")));
                this.addHeader(omElementcteCabecMsg1, env);
            }
            // adding SOAP soap_headers
            this._serviceClient.addHeadersToEnvelope(env);
            // set the message context with that soap envelope
            _messageContext.setEnvelope(env);
            // add the message contxt to the operation client
            _operationClient.addMessageContext(_messageContext);
            // execute the operation client
            _operationClient.execute(true);
            final org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
            final org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
            final java.lang.Object object = this.fromOM(_returnEnv.getBody().getFirstElement(), com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteInutilizacaoCTResult.class, this.getEnvelopeNamespaces(_returnEnv));
            return (com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteInutilizacaoCTResult) object;
        } catch (final org.apache.axis2.AxisFault f) {
            final org.apache.axiom.om.OMElement faultElt = f.getDetail();
            if (faultElt != null) {
                if (this.faultExceptionNameMap.containsKey(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(), "cteInutilizacaoCT"))) {
                    // make the fault by reflection
                    try {
                        final java.lang.String exceptionClassName = (java.lang.String) this.faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(), "cteInutilizacaoCT"));
                        final java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
                        final java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class);
                        final java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
                        // message class
                        final java.lang.String messageClassName = (java.lang.String) this.faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(), "cteInutilizacaoCT"));
                        final java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
                        final java.lang.Object messageObject = this.fromOM(faultElt, messageClass, null);
                        final java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", messageClass);
                        m.invoke(ex, messageObject);
                        throw new java.rmi.RemoteException(ex.getMessage(), ex);
                    } catch (final ClassCastException | InstantiationException | IllegalAccessException | java.lang.reflect.InvocationTargetException | NoSuchMethodException | ClassNotFoundException e) {
                        // we cannot intantiate the class - throw the original Axis fault
                        throw f;
                    }
                } else {
                    throw f;
                }
            } else {
                throw f;
            }
        } finally {
            if (_messageContext.getTransportOut() != null) {
                _messageContext.getTransportOut().getSender().cleanup(_messageContext);
            }
        }
    }
public com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteInutilizacaoCTResult cteInutilizacaoCT(final com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteDadosMsg cteDadosMsg0, final com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteCabecMsgE cteCabecMsg1) throws java.rmi.RemoteException {
        org.apache.axis2.context.MessageContext _messageContext = null;
        try {
            final org.apache.axis2.client.OperationClient _operationClient = this._serviceClient.createClient(this._operations[0].getName());
            _operationClient.getOptions().setAction("http:
            _operationClient.getOptions().setExceptionToBeThrownOnSOAPFault(true);
            this.addPropertyToOperationClient(_operationClient, org.apache.axis2.description.WSDL2Constants.ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR, "&");
            
            _messageContext = new org.apache.axis2.context.MessageContext();
            
            org.apache.axiom.soap.SOAPEnvelope env;
            env = this.toEnvelope(Stub.getFactory(_operationClient.getOptions().getSoapVersionURI()), cteDadosMsg0, this.optimizeContent(new javax.xml.namespace.QName("http:
            env.build();
            
            if (cteCabecMsg1 != null) {
                final org.apache.axiom.om.OMElement omElementcteCabecMsg1 = this.toOM(cteCabecMsg1, this.optimizeContent(new javax.xml.namespace.QName("http:
                this.addHeader(omElementcteCabecMsg1, env);
            }
            
            this._serviceClient.addHeadersToEnvelope(env);
            
            _messageContext.setEnvelope(env);
            
            _operationClient.addMessageContext(_messageContext);
            
            _operationClient.execute(true);
            final org.apache.axis2.context.MessageContext _returnMessageContext = _operationClient.getMessageContext(org.apache.axis2.wsdl.WSDLConstants.MESSAGE_LABEL_IN_VALUE);
            final org.apache.axiom.soap.SOAPEnvelope _returnEnv = _returnMessageContext.getEnvelope();
            final java.lang.Object object = this.fromOM(_returnEnv.getBody().getFirstElement(), com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteInutilizacaoCTResult.class, this.getEnvelopeNamespaces(_returnEnv));
            return (com.fincatto.documentofiscal.cte300.webservices.inutilizacao.CteInutilizacaoStub.CteInutilizacaoCTResult) object;
        } catch (final org.apache.axis2.AxisFault f) {
            final org.apache.axiom.om.OMElement faultElt = f.getDetail();
            if (faultElt != null) {
                if (this.faultExceptionNameMap.containsKey(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(), "cteInutilizacaoCT"))) {
                    
                    try {
                        final java.lang.String exceptionClassName = (java.lang.String) this.faultExceptionClassNameMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(), "cteInutilizacaoCT"));
                        final java.lang.Class exceptionClass = java.lang.Class.forName(exceptionClassName);
                        final java.lang.reflect.Constructor constructor = exceptionClass.getConstructor(String.class);
                        final java.lang.Exception ex = (java.lang.Exception) constructor.newInstance(f.getMessage());
                        
                        final java.lang.String messageClassName = (java.lang.String) this.faultMessageMap.get(new org.apache.axis2.client.FaultMapKey(faultElt.getQName(), "cteInutilizacaoCT"));
                        final java.lang.Class messageClass = java.lang.Class.forName(messageClassName);
                        final java.lang.Object messageObject = this.fromOM(faultElt, messageClass, null);
                        final java.lang.reflect.Method m = exceptionClass.getMethod("setFaultMessage", messageClass);
                        m.invoke(ex, messageObject);
                        throw new java.rmi.RemoteException(ex.getMessage(), ex);
                    } catch (final ClassCastException | InstantiationException | IllegalAccessException | java.lang.reflect.InvocationTargetException | NoSuchMethodException | ClassNotFoundException e) {
                        
                        throw f;
                    }
                } else {
                    throw f;
                }
            } else {
                throw f;
            }
        } finally {
            if (_messageContext.getTransportOut() != null) {
                _messageContext.getTransportOut().getSender().cleanup(_messageContext);
            }
        }
    }
public com . fincatto . documentofiscal . cte300 . webservices . inutilizacao . CteInutilizacaoStub . CteInutilizacaoCTResult cteInutilizacaoCT ( final com . fincatto . documentofiscal . cte300 . webservices . inutilizacao . CteInutilizacaoStub . CteDadosMsg cteDadosMsg0 , final com . fincatto . documentofiscal . cte300 . webservices . inutilizacao . CteInutilizacaoStub . CteCabecMsgE cteCabecMsg1 ) throws java . rmi . RemoteException { org . apache . axis2 . context . MessageContext _messageContext = null ; try { final org . apache . axis2 . client . OperationClient _operationClient = this . _serviceClient . createClient ( this . _operations [ 0 ] . getName ( ) ) ; _operationClient . getOptions ( ) . setAction ( "http://www.portalfiscal.inf.br/cte/wsdl/CteInutilizacao/cteInutilizacaoCT" ) ; _operationClient . getOptions ( ) . setExceptionToBeThrownOnSOAPFault ( true ) ; this . addPropertyToOperationClient ( _operationClient , org . apache . axis2 . description . WSDL2Constants . ATTR_WHTTP_QUERY_PARAMETER_SEPARATOR , "&" ) ; // create a message context
 _messageContext = new org . apache . axis2 . context . MessageContext ( ) ; // create SOAP envelope with that payload
 org . apache . axiom . soap . SOAPEnvelope env ; env = this . toEnvelope ( Stub . getFactory ( _operationClient . getOptions ( ) . getSoapVersionURI ( ) ) , cteDadosMsg0 , this . optimizeContent ( new javax . xml . namespace . QName ( "http://www.portalfiscal.inf.br/cte/wsdl/CteInutilizacao" , "cteInutilizacaoCT" ) ) , new javax . xml . namespace . QName ( "http://www.portalfiscal.inf.br/cte/wsdl/CteInutilizacao" , "cteInutilizacaoCT" ) ) ; env . build ( ) ; // add the children only if the parameter is not null
 if ( cteCabecMsg1 != null ) { final org . apache . axiom . om . OMElement omElementcteCabecMsg1 = this . toOM ( cteCabecMsg1 , this . optimizeContent ( new javax . xml . namespace . QName ( "http://www.portalfiscal.inf.br/cte/wsdl/CteInutilizacao" , "cteInutilizacaoCT" ) ) ) ; this . addHeader ( omElementcteCabecMsg1 , env ) ; } // adding SOAP soap_headers
 this . _serviceClient . addHeadersToEnvelope ( env ) ; // set the message context with that soap envelope
 _messageContext . setEnvelope ( env ) ; // add the message contxt to the operation client
 _operationClient . addMessageContext ( _messageContext ) ; // execute the operation client
 _operationClient . execute ( true ) ; final org . apache . axis2 . context . MessageContext _returnMessageContext = _operationClient . getMessageContext ( org . apache . axis2 . wsdl . WSDLConstants . MESSAGE_LABEL_IN_VALUE ) ; final org . apache . axiom . soap . SOAPEnvelope _returnEnv = _returnMessageContext . getEnvelope ( ) ; final java . lang . Object object = this . fromOM ( _returnEnv . getBody ( ) . getFirstElement ( ) , com . fincatto . documentofiscal . cte300 . webservices . inutilizacao . CteInutilizacaoStub . CteInutilizacaoCTResult . class , this . getEnvelopeNamespaces ( _returnEnv ) ) ; return ( com . fincatto . documentofiscal . cte300 . webservices . inutilizacao . CteInutilizacaoStub . CteInutilizacaoCTResult ) object ; } catch ( final org . apache . axis2 . AxisFault f ) { final org . apache . axiom . om . OMElement faultElt = f . getDetail ( ) ; if ( faultElt != null ) { if ( this . faultExceptionNameMap . containsKey ( new org . apache . axis2 . client . FaultMapKey ( faultElt . getQName ( ) , "cteInutilizacaoCT" ) ) ) { // make the fault by reflection
 try { final java . lang . String exceptionClassName = ( java . lang . String ) this . faultExceptionClassNameMap . get ( new org . apache . axis2 . client . FaultMapKey ( faultElt . getQName ( ) , "cteInutilizacaoCT" ) ) ; final java . lang . Class exceptionClass = java . lang . Class . forName ( exceptionClassName ) ; final java . lang . reflect . Constructor constructor = exceptionClass . getConstructor ( String . class ) ; final java . lang . Exception ex = ( java . lang . Exception ) constructor . newInstance ( f . getMessage ( ) ) ; // message class
 final java . lang . String messageClassName = ( java . lang . String ) this . faultMessageMap . get ( new org . apache . axis2 . client . FaultMapKey ( faultElt . getQName ( ) , "cteInutilizacaoCT" ) ) ; final java . lang . Class messageClass = java . lang . Class . forName ( messageClassName ) ; final java . lang . Object messageObject = this . fromOM ( faultElt , messageClass , null ) ; final java . lang . reflect . Method m = exceptionClass . getMethod ( "setFaultMessage" , messageClass ) ; m . invoke ( ex , messageObject ) ; throw new java . rmi . RemoteException ( ex . getMessage ( ) , ex ) ; } catch ( final ClassCastException | InstantiationException | IllegalAccessException | java . lang . reflect . InvocationTargetException | NoSuchMethodException | ClassNotFoundException e ) { // we cannot intantiate the class - throw the original Axis fault
 throw f ; } } else { throw f ; } } else { throw f ; } } finally { if ( _messageContext . getTransportOut ( ) != null ) { _messageContext . getTransportOut ( ) . getSender ( ) . cleanup ( _messageContext ) ; } } }
Auto generated method signature Inutilização de numeração de CT-e

@param cteDadosMsg0
@param cteCabecMsg1
Auto generated method signature Inutilização de numeração de CT - e