Examples of WSDLBoundPortTypeImpl


Examples of com.sun.xml.internal.ws.model.wsdl.WSDLBoundPortTypeImpl

    public void finished(WSDLParserExtensionContext context) {
        WSDLModel model = context.getWSDLModel();
        for (WSDLService service : model.getServices().values()) {
            for (WSDLPort wp : service.getPorts()) {
                WSDLPortImpl port = (WSDLPortImpl)wp;
                WSDLBoundPortTypeImpl binding = port.getBinding();

                // populate actions for the messages that do not have an explicit wsaw:Action
                populateActions(binding);

                // patch the default value of wsaw:Anonymous=optional if none is specified
View Full Code Here

Examples of com.sun.xml.ws.model.wsdl.WSDLBoundPortTypeImpl

  @Override
  public boolean bindingElements(WSDLBoundPortType binding,
      XMLStreamReader reader) {
    QName name = reader.getName();
        if (JSONBindingID.NS_JSON_BINDING.equals(name) && binding instanceof WSDLBoundPortTypeImpl ) {
          WSDLBoundPortTypeImpl bindingImpl = (WSDLBoundPortTypeImpl)binding;
          bindingImpl.setBindingId(JSONBindingID.JSON_HTTP);
          //bindingImpl.setBindingId(BindingID.SOAP11_HTTP);
            String style = reader.getAttributeValue(null, "style");

            if ((style != null) && (style.equals("rpc"))) {
              bindingImpl.setStyle(Style.RPC);
            } else {
              bindingImpl.setStyle(Style.DOCUMENT);
            }
            goToEnd(reader);
            return true;
        }
        return false;
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.