@WebMethod(operationName = "RegisterResponseOperation", action = "http://docs.oasis-open.org/ws-tx/wscoor/2006/06/RegisterResponse") @Oneway @Action(input="http://docs.oasis-open.org/ws-tx/wscoor/2006/06/RegisterResponse") public void registerResponseOperation( @WebParam(targetNamespace = "http://docs.oasis-open.org/ws-tx/wscoor/2006/06", partName = "parameters", name = "RegisterResponse") org.oasis_open.docs.ws_tx.wscoor._2006._06.RegisterResponseType parameters) { MessageContext ctx = webServiceCtx.getMessageContext(); MAP inboundMap = AddressingHelper.inboundMap(ctx); if (inboundMap.getRelatesTo() != null) { WSCLogger.logger.tracev("RegistrationResponsePortTypeImpl received response for messageId {0}", inboundMap.getRelatesTo().getRelatesTo()); AsynchronousRegistrationMapper.getInstance().assignResponse(inboundMap.getRelatesTo().getRelatesTo(), parameters); } else { WSCLogger.i18NLogger.error_empty_messageId_received_by_async_endpoint(); } } }
@WebMethod(operationName = "SoapFault", action = "http://www.w3.org/2005/08/addressing/soap/fault") @Oneway @Action(input="http://www.w3.org/2005/08/addressing/soap/fault") public void soapFault( @WebParam(name = "Fault", targetNamespace = "http://schemas.xmlsoap.org/soap/envelope/", partName = "fault") Fault fault) { MessageContext ctx = webServiceCtx.getMessageContext(); MAP inboundMap = AddressingHelper.inboundMap(ctx); if (inboundMap.getRelatesTo() != null) { WSCLogger.logger.tracev("CoordinationFaultPortTypeImpl receiving fault for message={0} - string={1} code={2} details={3}", inboundMap.getRelatesTo().getRelatesTo(), fault.getFaultstring(), fault.getFaultcode(), fault.getDetail() == null? "null" : fault.getDetail().getAny()); AsynchronousRegistrationMapper.getInstance().assignFault(inboundMap.getRelatesTo().getRelatesTo(), fault); } else { WSCLogger.i18NLogger.error_empty_messageId_received_by_async_endpoint(); } }