com.sun.xml.internal.ws.addressing.model.ActionNotSupportedException Java Examples
The following examples show how to use
com.sun.xml.internal.ws.addressing.model.ActionNotSupportedException.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WsaClientTube.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wbo = getWSDLBoundOperation(packet); if (wbo == null) return; String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) throw new WebServiceException(AddressingMessages.VALIDATION_CLIENT_NULL_ACTION()); String expected = helper.getOutputAction(packet); if (expected != null && !gotA.equals(expected)) throw new ActionNotSupportedException(gotA); }
Example #2
Source File: WsaClientTube.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wbo = getWSDLBoundOperation(packet); if (wbo == null) return; String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) throw new WebServiceException(AddressingMessages.VALIDATION_CLIENT_NULL_ACTION()); String expected = helper.getOutputAction(packet); if (expected != null && !gotA.equals(expected)) throw new ActionNotSupportedException(gotA); }
Example #3
Source File: WsaClientTube.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wbo = getWSDLBoundOperation(packet); if (wbo == null) return; String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) throw new WebServiceException(AddressingMessages.VALIDATION_CLIENT_NULL_ACTION()); String expected = helper.getOutputAction(packet); if (expected != null && !gotA.equals(expected)) throw new ActionNotSupportedException(gotA); }
Example #4
Source File: WsaClientTube.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wbo = getWSDLBoundOperation(packet); if (wbo == null) return; String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) throw new WebServiceException(AddressingMessages.VALIDATION_CLIENT_NULL_ACTION()); String expected = helper.getOutputAction(packet); if (expected != null && !gotA.equals(expected)) throw new ActionNotSupportedException(gotA); }
Example #5
Source File: WsaClientTube.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wbo = getWSDLBoundOperation(packet); if (wbo == null) return; String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) throw new WebServiceException(AddressingMessages.VALIDATION_CLIENT_NULL_ACTION()); String expected = helper.getOutputAction(packet); if (expected != null && !gotA.equals(expected)) throw new ActionNotSupportedException(gotA); }
Example #6
Source File: WsaClientTube.java From hottub with GNU General Public License v2.0 | 6 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wbo = getWSDLBoundOperation(packet); if (wbo == null) return; String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) throw new WebServiceException(AddressingMessages.VALIDATION_CLIENT_NULL_ACTION()); String expected = helper.getOutputAction(packet); if (expected != null && !gotA.equals(expected)) throw new ActionNotSupportedException(gotA); }
Example #7
Source File: WsaClientTube.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wbo = getWSDLBoundOperation(packet); if (wbo == null) return; String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) throw new WebServiceException(AddressingMessages.VALIDATION_CLIENT_NULL_ACTION()); String expected = helper.getOutputAction(packet); if (expected != null && !gotA.equals(expected)) throw new ActionNotSupportedException(gotA); }
Example #8
Source File: WsaClientTube.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wbo = getWSDLBoundOperation(packet); if (wbo == null) return; String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) throw new WebServiceException(AddressingMessages.VALIDATION_CLIENT_NULL_ACTION()); String expected = helper.getOutputAction(packet); if (expected != null && !gotA.equals(expected)) throw new ActionNotSupportedException(gotA); }
Example #9
Source File: WsaServerTube.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wsdlBoundOperation = getWSDLBoundOperation(packet); if (wsdlBoundOperation == null) { return; } String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) { throw new WebServiceException(AddressingMessages.VALIDATION_SERVER_NULL_ACTION()); } String expected = helper.getInputAction(packet); String soapAction = helper.getSOAPAction(packet); if (helper.isInputActionDefault(packet) && (soapAction != null && !soapAction.equals(""))) { expected = soapAction; } if (expected != null && !gotA.equals(expected)) { throw new ActionNotSupportedException(gotA); } }
Example #10
Source File: WsaServerTube.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wsdlBoundOperation = getWSDLBoundOperation(packet); if (wsdlBoundOperation == null) { return; } String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) { throw new WebServiceException(AddressingMessages.VALIDATION_SERVER_NULL_ACTION()); } String expected = helper.getInputAction(packet); String soapAction = helper.getSOAPAction(packet); if (helper.isInputActionDefault(packet) && (soapAction != null && !soapAction.equals(""))) { expected = soapAction; } if (expected != null && !gotA.equals(expected)) { throw new ActionNotSupportedException(gotA); } }
Example #11
Source File: WsaServerTube.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wsdlBoundOperation = getWSDLBoundOperation(packet); if (wsdlBoundOperation == null) { return; } String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) { throw new WebServiceException(AddressingMessages.VALIDATION_SERVER_NULL_ACTION()); } String expected = helper.getInputAction(packet); String soapAction = helper.getSOAPAction(packet); if (helper.isInputActionDefault(packet) && (soapAction != null && !soapAction.equals(""))) { expected = soapAction; } if (expected != null && !gotA.equals(expected)) { throw new ActionNotSupportedException(gotA); } }
Example #12
Source File: WsaServerTube.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wsdlBoundOperation = getWSDLBoundOperation(packet); if (wsdlBoundOperation == null) { return; } String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) { throw new WebServiceException(AddressingMessages.VALIDATION_SERVER_NULL_ACTION()); } String expected = helper.getInputAction(packet); String soapAction = helper.getSOAPAction(packet); if (helper.isInputActionDefault(packet) && (soapAction != null && !soapAction.equals(""))) { expected = soapAction; } if (expected != null && !gotA.equals(expected)) { throw new ActionNotSupportedException(gotA); } }
Example #13
Source File: WsaServerTube.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wsdlBoundOperation = getWSDLBoundOperation(packet); if (wsdlBoundOperation == null) { return; } String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) { throw new WebServiceException(AddressingMessages.VALIDATION_SERVER_NULL_ACTION()); } String expected = helper.getInputAction(packet); String soapAction = helper.getSOAPAction(packet); if (helper.isInputActionDefault(packet) && (soapAction != null && !soapAction.equals(""))) { expected = soapAction; } if (expected != null && !gotA.equals(expected)) { throw new ActionNotSupportedException(gotA); } }
Example #14
Source File: WsaServerTube.java From hottub with GNU General Public License v2.0 | 5 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wsdlBoundOperation = getWSDLBoundOperation(packet); if (wsdlBoundOperation == null) { return; } String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) { throw new WebServiceException(AddressingMessages.VALIDATION_SERVER_NULL_ACTION()); } String expected = helper.getInputAction(packet); String soapAction = helper.getSOAPAction(packet); if (helper.isInputActionDefault(packet) && (soapAction != null && !soapAction.equals(""))) { expected = soapAction; } if (expected != null && !gotA.equals(expected)) { throw new ActionNotSupportedException(gotA); } }
Example #15
Source File: WsaServerTube.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wsdlBoundOperation = getWSDLBoundOperation(packet); if (wsdlBoundOperation == null) { return; } String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) { throw new WebServiceException(AddressingMessages.VALIDATION_SERVER_NULL_ACTION()); } String expected = helper.getInputAction(packet); String soapAction = helper.getSOAPAction(packet); if (helper.isInputActionDefault(packet) && (soapAction != null && !soapAction.equals(""))) { expected = soapAction; } if (expected != null && !gotA.equals(expected)) { throw new ActionNotSupportedException(gotA); } }
Example #16
Source File: WsaServerTube.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
@Override protected void validateAction(Packet packet) { //There may not be a WSDL operation. There may not even be a WSDL. //For instance this may be a RM CreateSequence message. WSDLBoundOperation wsdlBoundOperation = getWSDLBoundOperation(packet); if (wsdlBoundOperation == null) { return; } String gotA = AddressingUtils.getAction( packet.getMessage().getHeaders(), addressingVersion, soapVersion); if (gotA == null) { throw new WebServiceException(AddressingMessages.VALIDATION_SERVER_NULL_ACTION()); } String expected = helper.getInputAction(packet); String soapAction = helper.getSOAPAction(packet); if (helper.isInputActionDefault(packet) && (soapAction != null && !soapAction.equals(""))) { expected = soapAction; } if (expected != null && !gotA.equals(expected)) { throw new ActionNotSupportedException(gotA); } }