@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")); } }
"] [force soap12=" + endpoint.isForceSOAP12() + "] [pox=" + endpoint.isForcePOX() + "] [get=" + endpoint.isForceGET() + "] [encoding=" + endpoint.getCharSetEncoding() : "") + "] [to=" + to + "]");
"] [force soap12=" + endpoint.isForceSOAP12() + "] [pox=" + endpoint.isForcePOX() + "] [get=" + endpoint.isForceGET() + "] [encoding=" + endpoint.getCharSetEncoding() : "") + "] [to=" + to + "]");