Package org.jboss.ws.extensions.wsrm

Examples of org.jboss.ws.extensions.wsrm.RMFault


      {
         this.terminate();
         Map<String, Object> detailsMap = new HashMap<String, Object>(3);
         detailsMap.put(RMFaultConstant.IDENTIFIER, this.outboundId);
         detailsMap.put(RMFaultConstant.MAX_MESSAGE_NUMBER, this.messageNumber);
         throw new RMFault(RMFaultCode.MESSAGE_NUMBER_ROLLOVER, detailsMap);
      }

      return ++this.messageNumber;
   }
View Full Code Here


      Map<QName, RMSerializable> data = new HashMap<QName, RMSerializable>();
      String optionalMessageId = (addrProps.getMessageID() != null) ? addrProps.getMessageID().getURI().toString() : null;
      rmOutboundContext.put(RMConstant.WSA_MESSAGE_ID, optionalMessageId);
      rmOutboundContext.put(RMConstant.PROTOCOL_MESSAGES_MAPPING, data);
      SOAPMessage soapMessage = ((SOAPMessageContext)commonMsgContext).getMessage();
      RMFault sequenceFault = (RMFault)rmOutboundContext.get(RMConstant.FAULT_REFERENCE);

      // try to serialize SequenceFault to message
      serialize(rmConstants.getSequenceFaultQName(), outMsgs, data, soapMessage, sequenceFault);
     
      if ((outMsgs.size() != 0) && (data.size() == 0))
View Full Code Here

TOP

Related Classes of org.jboss.ws.extensions.wsrm.RMFault

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.