@Override protected void serializeSpecificEndpointProperties(EndpointDefinition endpointDefinition, OMElement element) { if (SynapseConstants.FORMAT_POX.equals(endpointDefinition.getFormat())) { element.addAttribute(fac.createOMAttribute("format", null, "pox")); } else if (SynapseConstants.FORMAT_GET.equals(endpointDefinition.getFormat())) { element.addAttribute(fac.createOMAttribute("format", null, "get")); } else if (SynapseConstants.FORMAT_SOAP11.equals(endpointDefinition.getFormat())) { element.addAttribute(fac.createOMAttribute("format", null, "soap11")); } else if (SynapseConstants.FORMAT_SOAP12.equals(endpointDefinition.getFormat())) { element.addAttribute(fac.createOMAttribute("format", null, "soap12")); } else if (SynapseConstants.FORMAT_REST.equals(endpointDefinition.getFormat())) { element.addAttribute(fac.createOMAttribute("format", null, "rest")); // following two kept for backward compatibility } else if (endpointDefinition.isForcePOX()) { element.addAttribute(fac.createOMAttribute("format", null, "pox")); } else if (endpointDefinition.isForceGET()) { element.addAttribute(fac.createOMAttribute("format", null, "get")); } else if (endpointDefinition.isForceSOAP11()) { element.addAttribute(fac.createOMAttribute("format", null, "soap11")); } else if (endpointDefinition.isForceSOAP12()) { element.addAttribute(fac.createOMAttribute("format", null, "soap12")); } else if (endpointDefinition.isForceREST()) { element.addAttribute(fac.createOMAttribute("format", null, "rest")); } }
@Override protected void serializeSpecificEndpointProperties(EndpointDefinition endpointDefinition, OMElement element) { if (SynapseConstants.FORMAT_POX.equals(endpointDefinition.getFormat())) { element.addAttribute(fac.createOMAttribute("format", null, "pox")); } else if (SynapseConstants.FORMAT_GET.equals(endpointDefinition.getFormat())) { element.addAttribute(fac.createOMAttribute("format", null, "get")); } else if (SynapseConstants.FORMAT_SOAP11.equals(endpointDefinition.getFormat())) { element.addAttribute(fac.createOMAttribute("format", null, "soap11")); } else if (SynapseConstants.FORMAT_SOAP12.equals(endpointDefinition.getFormat())) { element.addAttribute(fac.createOMAttribute("format", null, "soap12")); } else if (SynapseConstants.FORMAT_REST.equals(endpointDefinition.getFormat())) { element.addAttribute(fac.createOMAttribute("format", null, "rest")); // following two kept for backward compatibility } else if (endpointDefinition.isForcePOX()) { element.addAttribute(fac.createOMAttribute("format", null, "pox")); } else if (endpointDefinition.isForceGET()) { element.addAttribute(fac.createOMAttribute("format", null, "get")); } else if (endpointDefinition.isForceSOAP11()) { element.addAttribute(fac.createOMAttribute("format", null, "soap11")); } else if (endpointDefinition.isForceSOAP12()) { element.addAttribute(fac.createOMAttribute("format", null, "soap12")); } else if (endpointDefinition.isForceREST()) { element.addAttribute(fac.createOMAttribute("format", null, "rest")); } }
"] [format = " + endpoint.getFormat() + "] [force soap11=" + endpoint.isForceSOAP11() + "] [force soap12=" + endpoint.isForceSOAP12() + "] [pox=" + endpoint.isForcePOX() + "] [get=" + endpoint.isForceGET() + boolean isRest = SynapseConstants.FORMAT_REST.equals(endpoint.getFormat()); if (!isRest && !endpoint.isForceSOAP11() && !endpoint.isForceSOAP12()) { isRest = isRequestRest(originalInMsgCtx);
"] [format = " + endpoint.getFormat() + "] [force soap11=" + endpoint.isForceSOAP11() + "] [force soap12=" + endpoint.isForceSOAP12() + "] [pox=" + endpoint.isForcePOX() + "] [get=" + endpoint.isForceGET() + boolean isRest = SynapseConstants.FORMAT_REST.equals(endpoint.getFormat()); if (!isRest && !endpoint.isForceSOAP11() && !endpoint.isForceSOAP12()) { isRest = isRequestRest(originalInMsgCtx);
if (!isRest && !endpoint.isForceSOAP11() && !endpoint.isForceSOAP12()) { isRest = isRequestRest(axisInMsgCtx);
if (!isRest && !endpoint.isForceSOAP11() && !endpoint.isForceSOAP12()) { isRest = isRequestRest(axisInMsgCtx);