Lines Matching defs:packet

137      * it will pass through the parameter 'packet' object to the return value.
139 protected Packet validateInboundHeaders(Packet packet) {
144 checkMessageAddressingProperties(packet);
145 return packet;
159 if ((wsdlPort !=null) && packet.getMessage().isOneWay(wsdlPort)) {
160 return packet.createServerResponse(null, wsdlPort, null, binding);
168 return packet.createServerResponse(m, wsdlPort, null, binding);
171 return packet;
184 * @param packet
186 protected void checkMessageAddressingProperties(Packet packet) {
187 checkCardinality(packet);
190 final boolean isAddressingEngagedOrRequired(Packet packet, WSBinding binding) {
194 if (packet == null)
197 if (packet.getMessage() == null)
200 if (packet.getMessage().getHeaders() != null)
204 packet.getMessage().getHeaders(),
217 * @param packet The inbound packet.
221 * <li>WS-Addressing is required and {@link Message} within <code>packet</code> is null</li>
226 protected void checkCardinality(Packet packet) {
227 Message message = packet.getMessage();
241 throw new MissingAddressingHeaderException(addressingVersion.actionTag,packet);
338 WSDLBoundOperation wbo = getWSDLBoundOperation(packet);
343 checkMandatoryHeaders(packet, foundAction, foundTo, foundReplyTo,
358 protected final WSDLBoundOperation getWSDLBoundOperation(Packet packet) {
362 QName opName = packet.getWSDLOperation();
368 protected void validateSOAPAction(Packet packet) {
370 packet.getMessage().getHeaders(),
374 if(packet.soapAction != null && !packet.soapAction.equals("\"\"") && !packet.soapAction.equals("\""+gotA+"\"")) {
379 protected abstract void validateAction(Packet packet);
388 * @param packet
397 Packet packet, boolean foundAction, boolean foundTo, boolean foundReplyTo,
401 throw new MissingAddressingHeaderException(addressingVersion.actionTag,packet);
402 validateSOAPAction(packet);