Here you can find the source of isOutgoingMessage(SOAPMessageContext smc)
Parameter | Description |
---|---|
smc | a parameter |
public static boolean isOutgoingMessage(SOAPMessageContext smc)
//package com.java2s; import javax.xml.ws.handler.MessageContext; import javax.xml.ws.handler.soap.SOAPMessageContext; public class Main { /**/*from w w w .ja va 2s. c o m*/ * Returns true if the {@link SOAPMessageContext} is part of the request * * @param smc * @return */ public static boolean isOutgoingMessage(SOAPMessageContext smc) { Boolean outboundProperty = (Boolean) smc.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY); return outboundProperty.booleanValue(); } }