[Mono-list] Webservice problem

Bryan Lee bryan at bryan.sg
Thu Mar 16 12:33:52 EST 2006


not sure if any1 here can help me. i installed a webservice to
do some tests on

run: execute | test form | invoke

it tells me:

The remote server returned an error: (500) Internal Server Error.
Could not find file "/usr/lib/xsp/test\new.Maestro".

Where do i change this to fix the path?

this is myservice.cs:

namespace Default {
    using System;
    using System.IO;
    using Decisio.Orchestration;
    using Decisio.Orchestration.Data;
    using Decisio.Orchestration.Models.Decision;
    using System.Web.Services;

    public class MyService : System.Web.Services.WebService {

        static DecisionExecutionEngine engine;

        public virtual void Execute(string Subject, string PersonName) {
            Decisio.Orchestration.Data.OrchestrationData data = new 
            data["Subject"] = Subject;
            data["PersonName"] = PersonName;
            DecisionExecutionEngine engine = GetEngine();

        public virtual DecisionExecutionEngine GetEngine() {
        // engine = new DecisionExecutionEngine(new 
FileInfo(AppDomain.CurrentDomain.BaseDirectory + "new.Maestro"));
     engine = new DecisionExecutionEngine(new 
FileInfo(System.IO.Path.GetDirectoryName (Request.PhysicalPath) + 
 return engine;

More information about the Mono-list mailing list