0 Replies Latest reply on Aug 20, 2017 1:21 AM by srinu d

    A required header representing a Message Addressing Property is not present, Problem header:{http://www.w3.org/2005/08/addressing}RelatesTo

    srinu d Newbie

      Hi , Guys , I am migrating a standalone SOAP web Service Client to Jboss 5.x ,here the error ,

      com.sun.xml.ws.addressing.model.MissingAddressingHeaderException: Missing WS-Addressing header: "{http://www.w3.org/2005/08/addressing}RelatesTo"

          at com.sun.xml.ws.addressing.W3CWsaClientTube.checkMandatoryHeaders(W3CWsaClientTube.java:76)

          at com.sun.xml.ws.addressing.WsaTube.checkCardinality(WsaTube.java:337)

          at com.sun.xml.ws.addressing.WsaTube.checkMessageAddressingProperties(WsaTube.java:183)

          at com.sun.xml.ws.addressing.WsaTube.validateInboundHeaders(WsaTube.java:140)

          at com.sun.xml.ws.addressing.WsaClientTube.processResponse(WsaClientTube.java:85)

          at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:639)

          at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:588)

          at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:573)

          at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:470)

          at com.sun.xml.ws.client.Stub.process(Stub.java:319)

          at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:157)

          at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)

          at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)

          at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140)

          at com.sun.proxy.$Proxy214.trust13Issue(Unknown Source)

          at au.gov.abr.securitytokenmanager.VANguardSTSClient.issue(VANguardSTSClient.java:809)

          at au.gov.abr.securitytokenmanager.SecurityTokenManagerClient.updateCache(SecurityTokenManagerClient.java:421)

          at au.gov.abr.securitytokenmanager.SecurityTokenManagerClient.getIdentityFromCache(SecurityTokenManagerClient.java:361)

          at au.gov.abr.securitytokenmanager.SecurityTokenManagerClient.getSecurityIdentityToken(SecurityTokenManagerClient.java:280)

          at au.gov.sbr.core.client.util.SecToken.getSecurityToken(SecToken.java:73)

          at com.excelity.ato.au.gov.sbr.core.client.beans.ClientBean$RequestTask.getToken(ClientBean.java:1106)

          at com.excelity.ato.au.gov.sbr.core.client.beans.ClientBean$SendRequestTask.doInBackground(ClientBean.java:1604)

          at com.excelity.ato.au.gov.sbr.core.client.beans.ClientBean$SendRequestTask.<init>(ClientBean.java:1529)

          at com.excelity.ato.au.gov.sbr.core.client.beans.ClientBean.getSendRequest(ClientBean.java:901)

          at com.excelity.ato.au.gov.sbr.core.client.beans.SBRRequestProcessor.sendRequest(SBRRequestProcessor.java:113)

          at com.excelity.ato.au.gov.sbr.core.client.beans.SBRRequestProcessor.bootStrap(SBRRequestProcessor.java:86)

          at org.apache.jsp.test_jsp._jspService(test_jsp.java:101)

          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

          at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

          at java.lang.Thread.run(Thread.java:662)

      10:48:03,563 ERROR [STDERR] javax.xml.ws.soap.SOAPFaultException: A required header representing a Message Addressing Property is not present

      10:48:03,563 ERROR [STDERR]     at com.sun.xml.ws.fault.SOAP12Fault.getProtocolException(SOAP12Fault.java:225)

      10:48:03,563 ERROR [STDERR]     at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:130)

      10:48:03,563 ERROR [STDERR]     at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:119)

      10:48:03,563 ERROR [STDERR]     at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)

      10:48:03,563 ERROR [STDERR]     at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:140)

      10:48:03,564 ERROR [STDERR]     at com.sun.proxy.$Proxy214.trust13Issue(Unknown Source)

      10:48:03,564 ERROR [STDERR]     at au.gov.abr.securitytokenmanager.VANguardSTSClient.issue(VANguardSTSClient.java:809)

      10:48:03,564 ERROR [STDERR]     at au.gov.abr.securitytokenmanager.SecurityTokenManagerClient.updateCache(SecurityTokenManagerClient.java:421)

      10:48:03,564 ERROR [STDERR]     at au.gov.abr.securitytokenmanager.SecurityTokenManagerClient.getIdentityFromCache(SecurityTokenManagerClient.java:361)

      10:48:03,564 ERROR [STDERR]     at au.gov.abr.securitytokenmanager.SecurityTokenManagerClient.getSecurityIdentityToken(SecurityTokenManagerClient.java:280)

      10:48:03,564 ERROR [STDERR]     at au.gov.sbr.core.client.util.SecToken.getSecurityToken(SecToken.java:73)

      10:48:03,564 ERROR [STDERR]     at com.excelity.ato.au.gov.sbr.core.client.beans.ClientBean$RequestTask.getToken(ClientBean.java:1106)

      10:48:03,564 ERROR [STDERR]     at com.excelity.ato.au.gov.sbr.core.client.beans.ClientBean$SendRequestTask.doInBackground(ClientBean.java:1604)

      10:48:03,564 ERROR [STDERR]     at com.excelity.ato.au.gov.sbr.core.client.beans.ClientBean$SendRequestTask.<init>(ClientBean.java:1529)

      10:48:03,564 ERROR [STDERR]     at com.excelity.ato.au.gov.sbr.core.client.beans.ClientBean.getSendRequest(ClientBean.java:901)

      10:48:03,564 ERROR [STDERR]     at com.excelity.ato.au.gov.sbr.core.client.beans.SBRRequestProcessor.sendRequest(SBRRequestProcessor.java:113)

      10:48:03,564 ERROR [STDERR]     at com.excelity.ato.au.gov.sbr.core.client.beans.SBRRequestProcessor.bootStrap(SBRRequestProcessor.java:86)

      10:48:03,564 ERROR [STDERR]     at org.apache.jsp.test_jsp._jspService(test_jsp.java:101)

      10:48:03,564 ERROR [STDERR]     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

      10:48:03,564 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      10:48:03,564 ERROR [STDERR]     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

      10:48:03,565 ERROR [STDERR]     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

      10:48:03,565 ERROR [STDERR]     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

      10:48:03,565 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

      10:48:03,565 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

      10:48:03,565 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      10:48:03,565 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

      10:48:03,565 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

      10:48:03,565 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

      10:48:03,565 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

      10:48:03,565 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

      10:48:03,565 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

      10:48:03,566 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

      10:48:03,566 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

      10:48:03,566 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

      10:48:03,566 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

      10:48:03,566 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

      10:48:03,566 ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

      10:48:03,566 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

      10:48:03,566 ERROR [STDERR]     at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

      10:48:03,566 ERROR [STDERR]     at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

      10:48:03,567 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

      10:48:03,568 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

      10:48:03,568 ERROR [STDERR]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)

      10:48:03,568 ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

      10:48:03,568 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:662)

      10:48:03,570 SEVERE [VANguardSTSClient] Error calling VANguard web service.

      au.gov.abr.securitytokenmanager.exceptions.STMSenderException

          at au.gov.abr.securitytokenmanager.VANguardSTSClient.issue(VANguardSTSClient.java:834)

          at au.gov.abr.securitytokenmanager.SecurityTokenManagerClient.updateCache(SecurityTokenManagerClient.java:421)

          at au.gov.abr.securitytokenmanager.SecurityTokenManagerClient.getIdentityFromCache(SecurityTokenManagerClient.java:361)

          at au.gov.abr.securitytokenmanager.SecurityTokenManagerClient.getSecurityIdentityToken(SecurityTokenManagerClient.java:280)

          at au.gov.sbr.core.client.util.SecToken.getSecurityToken(SecToken.java:73)

          at com.excelity.ato.au.gov.sbr.core.client.beans.ClientBean$RequestTask.getToken(ClientBean.java:1106)

          at com.excelity.ato.au.gov.sbr.core.client.beans.ClientBean$SendRequestTask.doInBackground(ClientBean.java:1604)

          at com.excelity.ato.au.gov.sbr.core.client.beans.ClientBean$SendRequestTask.<init>(ClientBean.java:1529)

          at com.excelity.ato.au.gov.sbr.core.client.beans.ClientBean.getSendRequest(ClientBean.java:901)

          at com.excelity.ato.au.gov.sbr.core.client.beans.SBRRequestProcessor.sendRequest(SBRRequestProcessor.java:113)

          at com.excelity.ato.au.gov.sbr.core.client.beans.SBRRequestProcessor.bootStrap(SBRRequestProcessor.java:86)

          at org.apache.jsp.test_jsp._jspService(test_jsp.java:101)

          at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

          at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

          at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

          at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

          at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

          at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

          at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

          at java.lang.Thread.run(Thread.java:662)