Package xsul.wsdl

Examples of xsul.wsdl.WsdlDefinitions


  }
 
 
  public void createService(String code) throws XBayaException {
    try {
      WsdlDefinitions definitions = null;
      if (this.dynamicFactoryWSDLLocation != null && !this.dynamicFactoryWSDLLocation.equals("")) {
          definitions = WsdlResolver.getInstance().loadWsdl(
                  new File(".").toURI(), new URI(this.dynamicFactoryWSDLLocation));
      }
View Full Code Here


    /**
     * @see edu.indiana.extreme.xbaya.jython.lib.invoker.SimpleInvoker#setup()
     */
    @Override
    public WsdlDefinitions setup() throws XBayaException {
        WsdlDefinitions definitions = super.setup();

        // TODO put header to invoke asynchronously
        WSIFAsyncResponsesCorrelator correlator;
        if (this.messageBoxURL == null || this.messageBoxURL.length() == 0) {
            correlator = new XsulSoapHttpWsaResponsesCorrelator();
View Full Code Here

                        wsdlLocation, serviceImpl));
        xservice.addHandler(new StickySoapHeaderHandler("retrieve-lead-header",
                LeadContextHeader.TYPE));
        xservice.startService();

        WsdlDefinitions wsdl = xservice.getWsdl();

        File wsdlFile = new File(Service.SAMPLE_WSDL_DIRECTORY, wsdlName);
        XMLUtil.saveXML(wsdl, wsdlFile);
    }
View Full Code Here

                    port = Integer.parseInt(args[1]);
                }
            }
            EchoService service = new EchoService(port);
            service.run();
            WsdlDefinitions wsdl = service.getWsdl();
            File wsdlFile = new File(SAMPLE_WSDL_DIRECTORY, Echo.WSDL_NAME);
            XMLUtil.saveXML(wsdl, wsdlFile);
        } catch (Exception e) {
            logger.caught(e);
        }
View Full Code Here

                    port = Integer.parseInt(args[1]);
                }
            }
            ArrayGeneratorService service = new ArrayGeneratorService(port);
            service.run();
            WsdlDefinitions wsdl = service.getWsdl();
            File wsdlFile = new File(OUTPUT_WSDL_LOCATION);
            XMLUtil.saveXML(wsdl, wsdlFile);
        } catch (Exception e) {
            logger.caught(e);
        }
View Full Code Here

                    port = Integer.parseInt(args[1]);
                }
            }
            MultiplierService service = new MultiplierService(port);
            service.run();
            WsdlDefinitions wsdl = service.getWsdl();
            File wsdlFile = new File(OUTPUT_WSDL_LOCATION);
            XMLUtil.saveXML(wsdl, wsdlFile);
        } catch (Exception e) {
            logger.caught(e);
        }
View Full Code Here

    try {
      URI url = new URI(
          "http://129.79.49.210:8080/axis2/services/AmazonEC2Webservice?wsdl");
      WsdlResolver wsdlResolver = WsdlResolver.getInstance();
      WsdlDefinitions definitions = wsdlResolver.loadWsdl(url);
      List<WSComponent> components = WSComponentFactory
          .createComponents(WSDLUtil
              .wsdlDefinitions3ToWsdlDefintions5(definitions));

      this.componentMap = new LinkedHashMap<String, Component>();
View Full Code Here

     */
    private void loadComponents() throws ComponentException {
        // XXX need to use wsdlResolver from xsul, not xsul5, to handle
        // security.
        WsdlResolver wsdlResolver = WsdlResolver.getInstance();
        WsdlDefinitions definitions = wsdlResolver.loadWsdl(this.url);
        List<WSComponent> components = WSComponentFactory
                .createComponents(WSDLUtil
                        .wsdlDefinitions3ToWsdlDefintions5(definitions));
        String urlString = this.url.toString();
        String name = urlString.substring(urlString.lastIndexOf('/') + 1);
View Full Code Here

        String message = "Error in finding QName of the service in the WSDL";
        throw new XBayaException(message, e);
      }
    }

    WsdlDefinitions definitions = this.creator
        .createService(this.portTypeQName);

    //FIXME: Should pass the last argument of leadcontextheader
    this.invoker = InvokerFactory.createInvoker(this.portTypeQName,
        definitions, null, this.messageBoxURL, null);
View Full Code Here

  /**
   * @see edu.indiana.extreme.xbaya.workflow.WorkflowInvoker#setup()
   */
  public void setup() throws XBayaException {
    try {
      WsdlDefinitions definitions = null;
      if (this.wsdlLocation != null && !this.wsdlLocation.equals("")) {
        WsdlResolver resolver = WsdlResolver.getInstance();
        if(-1 != this.wsdlLocation.indexOf("https") && null != secureInvokerFroRetrivingWSDL ){
          resolver.setSecureInvoker(this.secureInvokerFroRetrivingWSDL);
        }
View Full Code Here

TOP

Related Classes of xsul.wsdl.WsdlDefinitions

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.