Package xsul.wsdl

Examples of xsul.wsdl.WsdlResolver


  public WSComponentRegistry() {

    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


     * @throws ComponentException
     */
    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

   */
  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);
        }
        definitions = resolver.loadWsdl(
            new File(".").toURI(), new URI(this.wsdlLocation));
      } else {
        definitions = this.wsdlDefinitionObject;
      }

View Full Code Here

    this.invoker.setup();
    WSIFClient client = this.invoker.getClient();
    client.addHandler(handler);


    WsdlResolver resolver = WsdlResolver.getInstance();
    if(-1 != this.gfacURL.toString().indexOf("https") && null != secureInvokerFroRetrivingWSDL ){
      resolver.setSecureInvoker(this.secureInvokerFroRetrivingWSDL);
    }
   

    // Get the concrete WSDL from invoker.setup() and set it to the
    // notifier.
View Full Code Here

   */
  public SecureGFacCreator(URI wsdlURI, PuretlsInvoker secureiInvoker)
      throws XBayaException {
    try {
      this.secureInvoker = secureiInvoker;
      WsdlResolver wsdlResolver = WsdlResolver.getInstance();
      wsdlResolver.setSecureInvoker(secureiInvoker);
      WsdlDefinitions definitions = wsdlResolver.loadWsdl(
          wsdlURI);
      WSIFService service = WSIFServiceFactory.newInstance().getService(
          definitions);
      if (this.secureInvoker != null) {
        Provider secureProvider = new xsul.wsif_xsul_soap_gsi.Provider(
View Full Code Here

     */
    public WSComponentRegistry() {

        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

     * @throws ComponentException
     */
    private void loadComponents(List<ComponentReference> tree) 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);
        URLComponentReference componentReference = new URLComponentReference(name, components);
View Full Code Here

     */
    public void setup() throws WorkflowException {
        try {
            WsdlDefinitions definitions = null;
            if (this.wsdlLocation != null && !this.wsdlLocation.equals("")) {
                WsdlResolver resolver = WsdlResolver.getInstance();
                definitions = resolver.loadWsdl(new File(".").toURI(), new URI(this.wsdlLocation));
            } else {
                definitions = this.wsdlDefinitionObject;
            }

            setup(definitions);
View Full Code Here

        this.invoker.setup();

        WSIFClient client = this.invoker.getClient();
        client.addHandler(handler);

        WsdlResolver resolver = WsdlResolver.getInstance();
        // Get the concrete WSDL from invoker.setup() and set it to the
        // notifier.

        this.notifier.setServiceID(this.nodeID);
        // if (this.wsdlLocation != null) {
View Full Code Here

     */
    public void setup() throws WorkflowException {
        try {
            WsdlDefinitions definitions = null;
            if (this.wsdlLocation != null && !this.wsdlLocation.equals("")) {
                WsdlResolver resolver = WsdlResolver.getInstance();
                definitions = resolver.loadWsdl(new File(".").toURI(), new URI(this.wsdlLocation));
            } else {
                definitions = this.wsdlDefinitionObject;
            }

            setup(definitions);
View Full Code Here

TOP

Related Classes of xsul.wsdl.WsdlResolver

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.