public static void addSoap12Endpoint(AxisService axisService, String protocol, String endpointName) throws Exception { AxisEndpoint httpSoap12Endpoint = new AxisEndpoint(); httpSoap12Endpoint.setName(endpointName); httpSoap12Endpoint.setParent(axisService); httpSoap12Endpoint.setTransportInDescription(protocol); populateSoap12Endpoint(axisService, httpSoap12Endpoint, null); axisService.addEndpoint(httpSoap12Endpoint.getName(), httpSoap12Endpoint); }
public static void addHttpEndpoint(AxisService axisService, String url) { String protocol = org.apache.axis2.util.Utils.getURIScheme(url); String httpEndpointName = getEndpointName(axisService, protocol, null); AxisEndpoint httpEndpoint = new AxisEndpoint(); httpEndpoint.setName(httpEndpointName); httpEndpoint.setParent(axisService); httpEndpoint.setEndpointURL(url.toString()); httpEndpoint.setTransportInDescription(protocol); populateHttpEndpoint(axisService, httpEndpoint, null); axisService.addEndpoint(httpEndpoint.getName(), httpEndpoint); }
public static void addHttpEndpoint(AxisService axisService, String protocol, String endpointName) { AxisEndpoint httpEndpoint = new AxisEndpoint(); httpEndpoint.setName(endpointName); httpEndpoint.setParent(axisService); httpEndpoint.setTransportInDescription(protocol); populateHttpEndpoint(axisService, httpEndpoint, null); axisService.addEndpoint(httpEndpoint.getName(), httpEndpoint); }
public static void addHttpEndpoint(AxisService axisService, String protocol, String endpointName) { AxisEndpoint httpEndpoint = new AxisEndpoint(); httpEndpoint.setName(endpointName); httpEndpoint.setParent(axisService); httpEndpoint.setTransportInDescription(protocol); populateHttpEndpoint(axisService, httpEndpoint, null); axisService.addEndpoint(httpEndpoint.getName(), httpEndpoint); }
private AxisEndpoint processEndpoint(Endpoint endpoint, Interface serviceInterface) throws AxisFault { AxisEndpoint axisEndpoint = new AxisEndpoint(); axisEndpoint.setParent(axisService); axisEndpoint.setName(endpoint.getName().toString()); setEndpointURL(axisEndpoint, endpoint.getAddress().toString()); Binding binding = endpoint.getBinding(); AxisBinding axisBinding; if (processedBindings.containsKey(binding.getName())) { axisBinding = (AxisBinding) processedBindings.get(binding.getName()); } else { axisBinding = processBinding(binding, serviceInterface); } axisEndpoint.setBinding(axisBinding); String bindingType = binding.getType().toString(); if (bindingType.equals(WSDL2Constants.URI_WSDL2_SOAP)) { processSOAPBindingEndpointExtensions(endpoint, axisEndpoint); } else if (bindingType.equals(WSDL2Constants.URI_WSDL2_HTTP)) { processHTTPBindingEndpointExtensions(endpoint, axisEndpoint); } addDocumentation(axisEndpoint, endpoint.toElement()); return axisEndpoint; }
public static void addSoap12Endpoint(AxisService axisService, String protocol, String endpointName) throws Exception { AxisEndpoint httpSoap12Endpoint = new AxisEndpoint(); httpSoap12Endpoint.setName(endpointName); httpSoap12Endpoint.setParent(axisService); httpSoap12Endpoint.setTransportInDescription(protocol); populateSoap12Endpoint(axisService, httpSoap12Endpoint, null); axisService.addEndpoint(httpSoap12Endpoint.getName(), httpSoap12Endpoint); }
public static void addSoap12Endpoint(AxisService axisService, String url) throws Exception { String protocol = org.apache.axis2.util.Utils.getURIScheme(url); String soap12EndpointName = getEndpointName(axisService, protocol, "Soap12"); AxisEndpoint httpSoap12Endpoint = new AxisEndpoint(); httpSoap12Endpoint.setName(soap12EndpointName); httpSoap12Endpoint.setParent(axisService); httpSoap12Endpoint.setEndpointURL(url.toString()); httpSoap12Endpoint.setTransportInDescription(protocol); populateSoap12Endpoint(axisService, httpSoap12Endpoint, null); axisService.addEndpoint(httpSoap12Endpoint.getName(), httpSoap12Endpoint); }
private AxisEndpoint processEndpoint(Endpoint endpoint, Interface serviceInterface) throws AxisFault { AxisEndpoint axisEndpoint = new AxisEndpoint(); axisEndpoint.setParent(axisService); axisEndpoint.setName(endpoint.getName().toString()); setEndpointURL(axisEndpoint, endpoint.getAddress().toString()); Binding binding = endpoint.getBinding(); AxisBinding axisBinding; if (processedBindings.containsKey(binding.getName())) { axisBinding = (AxisBinding) processedBindings.get(binding.getName()); } else { axisBinding = processBinding(binding, serviceInterface); } axisEndpoint.setBinding(axisBinding); String bindingType = binding.getType().toString(); if (bindingType.equals(WSDL2Constants.URI_WSDL2_SOAP)) { processSOAPBindingEndpointExtensions(endpoint, axisEndpoint); } else if (bindingType.equals(WSDL2Constants.URI_WSDL2_HTTP)) { processHTTPBindingEndpointExtensions(endpoint, axisEndpoint); } addDocumentation(axisEndpoint, endpoint.toElement()); return axisEndpoint; }
axisEndpoint.setName(axisService.getName() + transportIn + usedAxisBinding.getName().getLocalPart() + "Endpoint"); axisEndpoint.setBinding(usedAxisBinding); axisEndpoint.setTransportInDescription(transportIn);
axisEndpoint.setName(axisService.getName() + transportIn + usedAxisBinding.getName().getLocalPart() + "Endpoint"); axisEndpoint.setBinding(usedAxisBinding); axisEndpoint.setTransportInDescription(transportIn);
public static void addHttpEndpoint(AxisService axisService, String url) { String protocol = org.apache.axis2.util.Utils.getURIScheme(url); String httpEndpointName = getEndpointName(axisService, protocol, null); AxisEndpoint httpEndpoint = new AxisEndpoint(); httpEndpoint.setName(httpEndpointName); httpEndpoint.setParent(axisService); httpEndpoint.setEndpointURL(url.toString()); httpEndpoint.setTransportInDescription(protocol); populateHttpEndpoint(axisService, httpEndpoint, null); axisService.addEndpoint(httpEndpoint.getName(), httpEndpoint); }
public static void addSoap11Endpoint(AxisService axisService, String protocol, String endpointName) throws Exception { AxisEndpoint httpSoap11Endpoint = new AxisEndpoint(); httpSoap11Endpoint.setName(endpointName); httpSoap11Endpoint.setParent(axisService); httpSoap11Endpoint.setTransportInDescription(protocol); populateSoap11Endpoint(axisService, httpSoap11Endpoint, null); axisService.addEndpoint(httpSoap11Endpoint.getName(), httpSoap11Endpoint); // setting soap11 endpoint as the default endpoint axisService.setEndpointName(endpointName); }
httpSoap11Endpoint.setName(soap11EndpointName); httpSoap11Endpoint.setParent(axisService); httpSoap11Endpoint.setTransportInDescription(transportName); + "Soap12Endpoint"; AxisEndpoint httpSoap12Endpoint = new AxisEndpoint(); httpSoap12Endpoint.setName(soap12EndpointName); httpSoap12Endpoint.setParent(axisService); httpSoap12Endpoint.setTransportInDescription(transportName); + "Endpoint"; AxisEndpoint httpEndpoint = new AxisEndpoint(); httpEndpoint.setName(httpEndpointName); httpEndpoint.setParent(axisService); httpEndpoint.setTransportInDescription(transportName);
public static void addSoap12Endpoint(AxisService axisService, String url) throws Exception { String protocol = org.apache.axis2.util.Utils.getURIScheme(url); String soap12EndpointName = getEndpointName(axisService, protocol, "Soap12"); AxisEndpoint httpSoap12Endpoint = new AxisEndpoint(); httpSoap12Endpoint.setName(soap12EndpointName); httpSoap12Endpoint.setParent(axisService); httpSoap12Endpoint.setEndpointURL(url.toString()); httpSoap12Endpoint.setTransportInDescription(protocol); populateSoap12Endpoint(axisService, httpSoap12Endpoint, null); axisService.addEndpoint(httpSoap12Endpoint.getName(), httpSoap12Endpoint); }
public static void addSoap11Endpoint(AxisService axisService, String protocol, String endpointName) throws Exception { AxisEndpoint httpSoap11Endpoint = new AxisEndpoint(); httpSoap11Endpoint.setName(endpointName); httpSoap11Endpoint.setParent(axisService); httpSoap11Endpoint.setTransportInDescription(protocol); populateSoap11Endpoint(axisService, httpSoap11Endpoint, null); axisService.addEndpoint(httpSoap11Endpoint.getName(), httpSoap11Endpoint); // setting soap11 endpoint as the default endpoint axisService.setEndpointName(endpointName); }
public static void addSoap11Endpoint(AxisService axisService, String url) throws Exception { String protocol = org.apache.axis2.util.Utils.getURIScheme(url); String soap11EndpointName = getEndpointName(axisService, protocol, "Soap11"); AxisEndpoint httpSoap11Endpoint = new AxisEndpoint(); httpSoap11Endpoint.setName(soap11EndpointName); httpSoap11Endpoint.setParent(axisService); httpSoap11Endpoint.setEndpointURL(url.toString()); httpSoap11Endpoint.setTransportInDescription(protocol); populateSoap11Endpoint(axisService, httpSoap11Endpoint, null); axisService.addEndpoint(httpSoap11Endpoint.getName(), httpSoap11Endpoint); // setting soap11 endpoint as the default endpoint axisService.setEndpointName(soap11EndpointName); }
public static void addSoap11Endpoint(AxisService axisService, String url) throws Exception { String protocol = org.apache.axis2.util.Utils.getURIScheme(url); String soap11EndpointName = getEndpointName(axisService, protocol, "Soap11"); AxisEndpoint httpSoap11Endpoint = new AxisEndpoint(); httpSoap11Endpoint.setName(soap11EndpointName); httpSoap11Endpoint.setParent(axisService); httpSoap11Endpoint.setEndpointURL(url.toString()); httpSoap11Endpoint.setTransportInDescription(protocol); populateSoap11Endpoint(axisService, httpSoap11Endpoint, null); axisService.addEndpoint(httpSoap11Endpoint.getName(), httpSoap11Endpoint); // setting soap11 endpoint as the default endpoint axisService.setEndpointName(soap11EndpointName); }
String soap11EndpointName = prefix + WSDL2Constants.DEFAULT_SOAP11_ENDPOINT_NAME; soap11Endpoint.setName(soap11EndpointName); soap11Endpoint.setBinding(soap11Binding); soap11Endpoint.setParent(axisService); String soap12EndpointName = prefix + WSDL2Constants.DEFAULT_SOAP12_ENDPOINT_NAME; soap12Endpoint.setName(soap12EndpointName); soap12Endpoint.setBinding(soap12Binding); soap12Endpoint.setParent(axisService); String httpEndpointName = prefix + WSDL2Constants.DEFAULT_HTTP_ENDPOINT_NAME; httpEndpoint.setName(httpEndpointName); httpEndpoint.setBinding(httpBinding); httpEndpoint.setParent(axisService);
axisEndpoint.setName(port.getName());
axisEndpoint.setName(port.getName());