Examples of WSDL11Transport


Examples of org.codehaus.xfire.wsdl11.WSDL11Transport

    public Port createPort(WSDLBuilder builder, javax.wsdl.Binding wbinding)
    {
        Transport t = builder.getTransportManager().getTransport(getBindingId());
        if (!(t instanceof WSDL11Transport)) return null;
       
        WSDL11Transport transport = (WSDL11Transport) t;
       
        SOAPAddressImpl add = new SOAPAddressImpl();
        add.setLocationURI(transport.getServiceURL(builder.getService()));
       
        Port port = builder.getDefinition().createPort();
        port.setBinding( wbinding );
        QName portName = (QName) builder.getService().getProperty(ObjectServiceFactory.PORT_NAME);
        if (portName != null)
        {
            port.setName(portName.getLocalPart());  
        }
        else
        {
            port.setName( builder.getService().getSimpleName() + transport.getName() + "Port" );
        }
        port.addExtensibilityElement( add );
      
        return port;
    }
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.