Package org.apache.woden.wsdl20.enumeration

Examples of org.apache.woden.wsdl20.enumeration.Direction


                }
                return null;   // can't go any further without the wsdl
            }
            Service[] services = description.getServices();
            for (int i = 0; i < services.length; i++) {
                Service service = services[i];
                // set the serviceName on the parent to setup call to populateService
                serviceName = service.getName();
                this.axisService = new AxisService();
                    AxisService retAxisService = populateService();
                    if (retAxisService != null) {
                        axisServices.add(retAxisService);
                    } // end if axisService was returned
View Full Code Here


    {
        BindingMessageReference bindMsgRef = fBindOper.getBindingMessageReferences()[0];
        assertNotNull("The BindingOperation does not contain a BindingMessageReference.", bindMsgRef);

        BindingMessageReferenceElement bindMsgRefEl = bindMsgRef.toElement();
        Direction direction = bindMsgRefEl.getDirection();
        assertTrue("The BindingMessageReference does not represent an <input> element.", Direction.IN.equals(direction));

        SOAPBindingMessageReferenceExtensions soapBindMsgRefExts =
            (SOAPBindingMessageReferenceExtensions) bindMsgRef.getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
        SOAPModule[] actual = soapBindMsgRefExts.getSoapModules();
View Full Code Here

    {
        BindingMessageReference bindMsgRef = fBindOper.getBindingMessageReferences()[1];
        assertNotNull("The BindingOperation does not contain a second BindingMessageReference.", bindMsgRef);

        BindingMessageReferenceElement bindMsgRefEl = bindMsgRef.toElement();
        Direction direction = bindMsgRefEl.getDirection();
        assertTrue("The BindingMessageReference does not represent an <output> element.", Direction.OUT.equals(direction));

        SOAPBindingMessageReferenceExtensions soapBindMsgRefExts =
            (SOAPBindingMessageReferenceExtensions) bindMsgRef.getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
        SOAPModule[] actual = soapBindMsgRefExts.getSoapModules();
View Full Code Here

    {
        BindingFaultReference bindFaultRef = fBindOper.getBindingFaultReferences()[0];
        assertNotNull("The BindingOperation does not contain a BindingFaultReference.", bindFaultRef);

        InterfaceFaultReference intFaultRef = bindFaultRef.getInterfaceFaultReference();
        Direction direction = intFaultRef.getDirection();
        assertTrue("The BindingFaultReference does not represent an <infault> element.", Direction.IN.equals(direction));

        SOAPBindingFaultReferenceExtensions soapBindFaultRefExts =
            (SOAPBindingFaultReferenceExtensions) bindFaultRef.getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
        SOAPModule[] actual = soapBindFaultRefExts.getSoapModules();
View Full Code Here

    {
        BindingFaultReference bindFaultRef = fBindOper.getBindingFaultReferences()[1];
        assertNotNull("The BindingOperation does not contain a second BindingFaultReference.", bindFaultRef);

        InterfaceFaultReference intFaultRef = bindFaultRef.getInterfaceFaultReference();
        Direction direction = intFaultRef.getDirection();
        assertTrue("The BindingFaultReference does not represent an <outfault> element.", Direction.OUT.equals(direction));

        SOAPBindingFaultReferenceExtensions soapBindFaultRefExts =
            (SOAPBindingFaultReferenceExtensions) bindFaultRef.getComponentExtensionContext(SOAPConstants.NS_URI_SOAP);
        SOAPModule[] actual = soapBindFaultRefExts.getSoapModules();
View Full Code Here

        for(int ind=0;ind<msgrefs.length;ind++){
            InterfaceMessageReferenceElement msgRef=msgrefs[ind];
            if(msgRef!=null){

                String tagName =null;
                Direction msgDirection=msgRef.getDirection();
                if(msgDirection==Direction.IN){
                    tagName=DOMUtils.getQualifiedValue(Constants.NS_URI_WSDL20,
                             Constants.ELEM_INPUT,
                             msgRef);
                }else if(msgDirection==Direction.OUT){
View Full Code Here

            InterfaceFaultReferenceElement faulRef=faulRefs[ind];
            if(faulRef!=null){

                String tagName =null;
                Direction msgDirection=faulRef.getDirection();
                if(msgDirection==Direction.IN){
                    tagName=DOMUtils.getQualifiedValue(Constants.NS_URI_WSDL20,
                            Constants.ELEM_INFAULT,
                            faulRef);
                }else if(msgDirection==Direction.OUT){
View Full Code Here

     {
       for(int ind=0;ind<msgrefs.length;ind++){
             InterfaceMessageReferenceElement msgRef=msgrefs[ind];
             if(msgRef!=null){
                 String tagName =null;
                 Direction msgDirection=msgRef.getDirection();
                 if(msgDirection==Direction.IN){
                     tagName=OMUtils.getQualifiedValue(Constants.NS_URI_WSDL20,
                              Constants.ELEM_INPUT,
                              msgRef);
                 }else if(msgDirection==Direction.OUT){
View Full Code Here

       for(int ind=0;ind<faulRefs.length;ind++){

            InterfaceFaultReferenceElement faulRef=faulRefs[ind];
            if(faulRef!=null){
                String tagName =null;
                Direction msgDirection=faulRef.getDirection();
                if(msgDirection==Direction.IN){
                    tagName=OMUtils.getQualifiedValue(Constants.NS_URI_WSDL20,
                            Constants.ELEM_INFAULT,
                            faulRef);
                }else if(msgDirection==Direction.OUT){
View Full Code Here

  protected Object convert(XMLElement ownerEl, String attrValue)
      throws WSDLException {

    // TODO: define correct error numbers

    HTTPAuthenticationScheme scheme = null;

    if (attrValue == null) {
      setValid(false);
      getErrorReporter().reportError(new ErrorLocatorImpl(), // TODO
          // line&col
View Full Code Here

TOP

Related Classes of org.apache.woden.wsdl20.enumeration.Direction

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.