Workflow Soluiton

 View Only
  • 1.  Workflow GetAllLocations Component Error

    Posted Jan 19, 2010 11:18 AM
    Hi All, I'm trying to get started with using workflow and I'm starting out very basic and just trying to use the GetAllLocations component. I'm using Workflow 7 and I have an SMP7 server with Workflow Solution installed and I have Workflow Server installed on a separate box. I'm trying to use the GetAllLocations component against an NS6 server. It's a basic web form project with a get NS credentials and then the GetAllLocations component next just to test things out, but it fails once it gets to the GetAllLocations component with the error message below.

    WorkflowError.png

    I've also tried running an integration project to regenerate the resource components, but when I do I only get one method returned, SyncHierarchyCollections, so I know something isn't right. Can anyone point me in the right direction here? Also, any advice/tips on using Workflow 7 against an NS6 infrastructure?


  • 2.  RE: Workflow GetAllLocations Component Error

    Posted Jan 19, 2010 06:11 PM
    Thanks for the help reecardo. Yes I have both the NS6 and NS7 components listed under SMP and SMP7. I'm using the GetAllLocations component under SMP and verified it doesn't have the 7 in the namespace. I do not have Altiris\NSWebService listed in IIS and thus do not have the ResourceModel.asmx web service either. This is a brand new install of NS6. I installed NS6 with latest hotfix and then installed Asset Management Suite level 3 through solution center. Is there something else that I'm missing? How can I get this missing webservice installed?


  • 3.  RE: Workflow GetAllLocations Component Error

    Posted Jan 20, 2010 06:56 AM
    Looking at an old web reference reference, the URL to the NS6 resource model appears as: http://<SERVER>/altiris/service/resourcemodel.asmx. A similar model appears for item and task in the same location.

    I'm taking a wild guess that it might be ASDK for NS6 that you're missing. Is it installed, and if not, when it's installed does it introduce these web services?


  • 4.  RE: Workflow GetAllLocations Component Error

    Posted Jan 20, 2010 07:13 AM
    There should be two types of pregenerated NS components: one for NS6 and one for NS7+. NS6 components are only exposed in the tree if you have a NS6 registered. Unsure of how they looked when they released, but the NS6 components should be nested under Symantec\SMP in the component tree, and the NS7 components should be nested under Symantec\SMP 7 and have updated icons. Also, the NS7 components should have a "7" somewhere embedded in their namespace (like "Symantec.Generated7.*" or something similar)

    The GetAllLocations component is a resource component, and for NS7 that means hitting the webservices in the NS Web Services solution. The actual web service it tries to invoke is the ResourceModel.asmx. A similar web service lived in a different place in the NS6 architecture.

    I would verify that you have an instance of the NS Web Service solution on your NS7 that lives at Altiris\NSWebService in IIS, with that ResourceModel.asmx present.


  • 5.  RE: Workflow GetAllLocations Component Error
    Best Answer

    Posted Jan 20, 2010 10:34 AM
    Hi Reecardo, yes I already had the ASDK installed on NS6 server. However this only adds the ASDK layers shown here
    IIS.png

    So, I began troubleshooting more and went into Solution Center on my NS6 box and selected Workflow Solution 6.5 just to see what it would try to install. And I noticed in that list there was something called the Altiris Service Layer. So I went out to http://www.solutionsam.com/solutions/6_0/ and noticed there was an Altiris_Service_6.0.exe file there so I downloaded it and installed and lo and behold I now have the Altiris\Service layer with the ResourceModel.asmx web service. I crossed my fingers and ran my webform project and everything went through fine this time! So, it looks like this little devil needs to be included in some documentation somewhere for other people who are trying to use Workflow 7 with an NS6 environment, perhaps in this KB? https://kb.altiris.com/article.asp?article=49569&p=1



  • 6.  RE: Workflow GetAllLocations Component Error

    Posted Jan 20, 2010 12:39 PM
    I did use SIM to install Workflow Solution 7 on my SMP7 server so it installed all the prerequisites necessary on that server. But my workflows are going to be targeting NS6 boxes which, according to all documentation I found, didn't need to have anything installed except the ASDK if you wanted to use those components. In solution center on an NS6 box it will install Altiris Service Layer as part of Workflow Solution 6, but I'm using WF7 which needs to be installed on an SMP7 box, so in this case the Altiris Service Layer had to be a manual install on NS6 just like the ASDK is.


  • 7.  RE: Workflow GetAllLocations Component Error

    Posted Jan 20, 2010 02:10 PM
    SIM (Symantec Installation Manager) for the NS is usually the best thing we have to enforce things like this. It adds other solutions as "prereqs" to your solution. For example, the NS7 Workflow solution will install ASDK and NS Web Services solutions (required by various WF generators) if not installed. Unsure what additional solutions the NS6 Workflow solution installed, if any.