Ir para conteúdo
  • Cadastre-se

dev botao

  • Este tópico foi criado há 2947 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Postado

Pessoal, fazendo uso da ferramenta Maker 3.9 estou tentando acessar um Webservice de nota fiscal de serviço eletrônica da cidade de Olinda/PE. Estou utilizando a função "Chamar Serviço Web (SOAP1.2) - Certificado Digital" onde informo os dados do certificado, a URL do Webservice, porta, nome do método e a lista de parâmetros (que eu imagino que seja a XML para ser envelopada pelo Soap), mas estou pegando a exceção abaixo. Alguém tem alguma ideia do porquê?

Exceção Gerada:
wfr.exceptions.WFRCompileException: 
java.lang.Exception: /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4700: localPGPKeyPacket is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected javax.activation.DataHandler localPGPKeyPacket ; 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4706: localPGPKeyPacketTracker is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected boolean localPGPKeyPacketTracker = false ; 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4713: getPGPKeyPacket() is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public javax.activation.DataHandler getPGPKeyPacket(){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4723: setPGPKeyPacket(javax.activation.DataHandler) is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public void setPGPKeyPacket(javax.activation.DataHandler param){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4745: localExtraElement is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected org.apache.axiom.om.OMElement[] localExtraElement ; 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4751: localExtraElementTracker is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected boolean localExtraElementTracker = false ; 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4758: getExtraElement() is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public org.apache.axiom.om.OMElement[] getExtraElement(){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4770: validateExtraElement(org.apache.axiom.om.OMElement[]) is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected void validateExtraElement(org.apache.axiom.om.OMElement[] param){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4779: setExtraElement(org.apache.axiom.om.OMElement[]) is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public void setExtraElement(org.apache.axiom.om.OMElement[] param){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4801: addExtraElement(org.apache.axiom.om.OMElement) is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public void addExtraElement(org.apache.axiom.om.OMElement param){ 
^ Note: /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java uses or overrides a deprecated API. 
Note: Recompile with -Xlint:deprecation for details. 
Note: /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java uses unchecked or unsafe operations. 
Note: Recompile with -Xlint:unchecked for details. 10 errors at wfr.util.Functions.compileFile(Functions.java:3645) at wfr.rules.WebServiceImporter2.getStub(WebServiceImporter2.java:263) at wfr.rules.WebServiceImporter2.callService(WebServiceImporter2.java:326) at wfr.com.systems.system_sap.rules.WebrunFunctions.ebfWSCallSSL2(WebrunFunctions.java:17458) at wfr.com.systems.system_sap.rules.NfsEServicos.run(NfsEServicos.java:67) at wfr.rules.WFRRule.start(WFRRule.java:761) at wfr.rules.WFRRule.call(WFRRule.java:1823) at wfr.rules.WFRRule.call(WFRRule.java:57) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662) 

Caused by: java.lang.Exception: /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4700: localPGPKeyPacket is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected javax.activation.DataHandler localPGPKeyPacket ; 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4706: localPGPKeyPacketTracker is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected boolean localPGPKeyPacketTracker = false ; 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4713: getPGPKeyPacket() is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public javax.activation.DataHandler getPGPKeyPacket(){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4723: setPGPKeyPacket(javax.activation.DataHandler) is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public void setPGPKeyPacket(javax.activation.DataHandler param){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4745: localExtraElement is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected org.apache.axiom.om.OMElement[] localExtraElement ; 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4751: localExtraElementTracker is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected boolean localExtraElementTracker = false ; 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4758: getExtraElement() is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public org.apache.axiom.om.OMElement[] getExtraElement(){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4770: validateExtraElement(org.apache.axiom.om.OMElement[]) is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected void validateExtraElement(org.apache.axiom.om.OMElement[] param){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4779: setExtraElement(org.apache.axiom.om.OMElement[]) is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public void setExtraElement(org.apache.axiom.om.OMElement[] param){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4801: addExtraElement(org.apache.axiom.om.OMElement) is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public void addExtraElement(org.apache.axiom.om.OMElement param){ 
^ Note: /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java uses unchecked or unsafe operations. 
Note: Recompile with -Xlint:unchecked for details. 10 errors at wfr.util.Functions.compileFile(Functions.java:3637) ... 12 more

Causa:
java.lang.Exception: /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4700: localPGPKeyPacket is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected javax.activation.DataHandler localPGPKeyPacket ; 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4706: localPGPKeyPacketTracker is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected boolean localPGPKeyPacketTracker = false ; 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4713: getPGPKeyPacket() is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public javax.activation.DataHandler getPGPKeyPacket(){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4723: setPGPKeyPacket(javax.activation.DataHandler) is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public void setPGPKeyPacket(javax.activation.DataHandler param){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4745: localExtraElement is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected org.apache.axiom.om.OMElement[] localExtraElement ; 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4751: localExtraElementTracker is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected boolean localExtraElementTracker = false ; 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4758: getExtraElement() is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public org.apache.axiom.om.OMElement[] getExtraElement(){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4770: validateExtraElement(org.apache.axiom.om.OMElement[]) is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType protected void validateExtraElement(org.apache.axiom.om.OMElement[] param){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4779: setExtraElement(org.apache.axiom.om.OMElement[]) is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public void setExtraElement(org.apache.axiom.om.OMElement[] param){ 
^ /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java:4801: addExtraElement(org.apache.axiom.om.OMElement) is already defined in br.com.tinus.www408633384.RecepcionarLoteRpsStub.PGPDataType public void addExtraElement(org.apache.axiom.om.OMElement param){ 
^ Note: /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: /var/lib/tomcat7/webapps/webrun/WEB-INF/src/br/com/tinus/www408633384/RecepcionarLoteRpsStub.java uses unchecked or unsafe operations. 
Note: Recompile with -Xlint:unchecked for details. 10 errors at wfr.util.Functions.compileFile(Functions.java:3637) at wfr.rules.WebServiceImporter2.getStub(WebServiceImporter2.java:263) at wfr.rules.WebServiceImporter2.callService(WebServiceImporter2.java:326) at wfr.com.systems.system_sap.rules.WebrunFunctions.ebfWSCallSSL2(WebrunFunctions.java:17458) at wfr.com.systems.system_sap.rules.NfsEServicos.run(NfsEServicos.java:67) at wfr.rules.WFRRule.start(WFRRule.java:761) at wfr.rules.WFRRule.call(WFRRule.java:1823) at wfr.rules.WFRRule.call(WFRRule.java:57) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:662)

 

  • Este tópico foi criado há 2947 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Crie uma conta ou entre para comentar

Você precisar ser um membro para fazer um comentário

Criar uma conta

Crie uma nova conta em nossa comunidade. É fácil!

Crie uma nova conta

Entrar

Já tem uma conta? Faça o login.

Entrar Agora
×
×
  • Criar Novo...

Informação Importante

Colocamos cookies em seu dispositivo para ajudar a tornar este site melhor. Você pode ajustar suas configurações de cookies, caso contrário, assumiremos que você está bem para continuar.