Examples of SOAPAddress


Examples of org.apache.cxf.tools.common.extensions.soap.SoapAddress

            List ees = port.getExtensibilityElements();
            for (Iterator itr = ees.iterator(); itr.hasNext();) {
                Object extensor = itr.next();
   
                if (SOAPBindingUtil.isSOAPAddress(extensor)) {
                    final SoapAddress sa = SOAPBindingUtil.getSoapAddress(extensor);
   
                    EndpointInfo info = new SoapEndpointInfo(serviceInfo, transportURI);
                    info.addExtensor(sa);
                    info.setAddress(sa.getLocationURI());
                    return info;
                }
            }
        }
        return new SoapEndpointInfo(serviceInfo, transportURI);
View Full Code Here

Examples of org.apache.cxf.tools.common.extensions.soap.SoapAddress

                               getOption(args, ToolConstants.CFG_ADDRESS));
    }

    public ExtensibilityElement createExtension(final boolean isSOAP12,
                                                final String address) throws WSDLException {
        SoapAddress soapAddress = null;

        soapAddress = SOAPBindingUtil.createSoapAddress(registry, isSOAP12);
       
        soapAddress.setLocationURI(address);

        return soapAddress;
    }
View Full Code Here

Examples of org.apache.cxf.tools.common.extensions.soap.SoapAddress

                   request.getParameter("xsd") != null || request.getParameter("XSD") != null) {
            GeronimoQueryHandler queryHandler = new GeronimoQueryHandler(this.bus);
            URI requestURI = request.getURI();
            EndpointInfo ei = this.destination.getEndpointInfo();
            // update service port location on each request
            SoapAddress address = ei.getExtensor(SoapAddress.class);
            address.setLocationURI(getBaseUri(requestURI));
            OutputStream out = response.getOutputStream();
            String baseUri = requestURI.toString();
            response.setContentType("text/xml");
            queryHandler.writeResponse(baseUri, null, ei, out);
        } else if (endpoint.isSOAP11()) {
View Full Code Here

Examples of org.apache.wsdl.extensions.SOAPAddress

        Iterator elements = endpoint.getExtensibilityElements().iterator();

        while (elements.hasNext()) {
            Object obj = elements.next();
            if (obj instanceof SOAPAddress) {
                SOAPAddress soapAddress = (SOAPAddress) obj;
                clientOptions.setTo(new EndpointReference(soapAddress.getLocationURI()));
            }
        }

        WSDLBinding binding = endpoint.getBinding();
View Full Code Here

Examples of org.eclipse.wst.wsdl.binding.soap.SOAPAddress

    // We blow away any existing ExtensibilityElements/content before we generate it
    // Is it worth being smarter?  Look for matching content first and create those which aren't found????
    List removeList = new ArrayList(port.getEExtensibilityElements());
    removeExtensebilityElements(port.getEExtensibilityElements(), removeList);

    SOAPAddress soapAddress = SOAPFactory.eINSTANCE.createSOAPAddress();
    soapAddress.setLocationURI(addressLocation);
    port.addExtensibilityElement(soapAddress);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.