Package com.sun.xml.ws.model.wsdl

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

Related Classes of com.sun.xml.ws.model.wsdl.WSDLBoundPortTypeImpl

Copyright © 2018 www.massapicom. 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.