Examples of DynamicWebservice


Examples of org.infoglue.deliver.util.webservices.DynamicWebservice

     try
     {
         if(this.principal == null)
             this.principal = this.getController().getPrincipal();
        
       final DynamicWebservice ws = new DynamicWebservice(principal);
     
       ws.setTargetEndpointAddress(targetEndpointAddress);
       ws.setOperationName(operationName);
       ws.setReturnType(Boolean.class);
      
       ws.addArgument("formEntries", formEntries);
      
       ws.callService();
       setResultAttribute(ws.getResult());
     }  
     catch(Exception e)
     {
       e.printStackTrace();
       throw new JspTagException(e.getMessage());
View Full Code Here

Examples of org.infoglue.deliver.util.webservices.DynamicWebservice

     try
     {
         if(this.principal == null)
             this.principal = this.getController().getPrincipal();
        
       final DynamicWebservice ws = new DynamicWebservice(principal);
     
       ws.setTargetEndpointAddress(targetEndpointAddress);
       ws.setOperationName(operationName);
       ws.setReturnType(Boolean.class);
               
       if(this.languageId == null)
         ws.addArgument("languageId", this.getController().getLanguageId());
       else
         ws.addArgument("languageId", this.languageId);
          
       ws.addArgument("contentTypeDefinitionId", this.contentTypeDefinitionId);
       ws.addArgument("forcePublication", this.forcePublication);
       ws.addArgument("allowHTMLContent", this.allowHTMLContent);
       ws.addArgument("allowExternalLinks", this.allowExternalLinks);
       ws.addArgument("allowDollarSigns", this.allowDollarSigns);
       ws.addArgument("allowAnchorSigns", this.allowAnchorSigns);
       ws.addArgument("keepExistingAttributes", this.keepExistingAttributes);
       ws.addArgument("keepExistingCategories", this.keepExistingCategories);
       ws.addArgument("updateExistingAssets", this.updateExistingAssets);

       ws.addArgument("userPropertiesAttributesMap", userPropertiesAttributesMap);
       ws.addArgument("digitalAssets", digitalAssets);

       ws.callService();
       setResultAttribute(ws.getResult());
     }  
     catch(Exception e)
     {
       e.printStackTrace();
       throw new JspTagException(e.getMessage());
View Full Code Here

Examples of org.infoglue.deliver.util.webservices.DynamicWebservice

     try
     {
         if(this.principal == null)
             this.principal = this.getController().getPrincipal();
        
       final DynamicWebservice ws = new DynamicWebservice(principal);
     
       ws.setTargetEndpointAddress(targetEndpointAddress);
       ws.setOperationName(operationName);
       ws.setReturnType(StatusBean.class, new QName("infoglue", "StatusBean"));
       ws.setReturnType(CreatedEntityBean.class, new QName("infoglue", "CreatedEntityBean"));
      
       ws.addArgument("accessRights", accessRights);
      
       ws.callService();
       setResultAttribute(ws.getResult());
     }  
     catch(Exception e)
     {
       e.printStackTrace();
       throw new JspTagException(e.getMessage());
View Full Code Here

Examples of org.infoglue.deliver.util.webservices.DynamicWebservice

     try
     {
         if(this.principal == null)
             this.principal = this.getController().getPrincipal();
        
       final DynamicWebservice ws = new DynamicWebservice(principal);
     
       ws.setTargetEndpointAddress(targetEndpointAddress);
       ws.setOperationName(operationName);
       ws.setReturnType(StatusBean.class, new QName("infoglue", "StatusBean"));
       ws.setReturnType(CreatedEntityBean.class, new QName("infoglue", "CreatedEntityBean"));
       //ws.setReturnType(Boolean.class);
      
       ws.addArgument("siteNodes", siteNodes);
      
       ws.callService();
       setResultAttribute(ws.getResult());
     }  
     catch(Exception e)
     {
       e.printStackTrace();
       throw new JspTagException(e.getMessage());
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.