Anthony,
The document http://openrules.com/pdf/OpenRulesUserManual.WebService.pdf describes how to convert the basic rules project DecisionHelloJava from the workspace "openrules.decisions" to a web services. The resulting project DecisionHelloWSCustomer can be found in the workspace "openrules.web". So, you do not need to run compile.bat from DecisionHelloJava, but rather run build.bat and deploy.bat from DecisionHelloWSCustomer as described at the page 7. build.bat will create it will create “DecisionHelloWSCustomer.war” and deploy.bat will copy it to your Tomcat's webapps folder. Then you should be able to see the generated WSDL interface by double-clicking on "run.html". Then you may test this web service by using a Java client DecisionHelloWSCustomerClient.
The file server-config.wsdd can be found at DecisionHelloWSCustomer/war/WEB-INF/.
Let us know if something does not work as described in the manual.
Support
Anthony,
Please make sure that when you run generate.axis.client.bat your Tomcat is up and running.
OpenRules Support
--
You received this message because you are subscribed to the Google Groups "OpenRules" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openrules+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "OpenRules" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/openrules/JGZNeXvAXpA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to openrules+...@googlegroups.com.
Actually the message
[axis-wsdl2java] - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
Is not an error, just a warning that you may ignore. As you can see from the following log all classes were successfully generated. So, now you may simply double-click on your “run.bat” to execute your client. Let us know how it works.
OpenRules Support
Hi Anthony,
Strange because our client works fine, here is the proper protocol:
C:\eclipse>call ant -f "C:\_SourceRepo\openrules.web\DecisionHelloWSCustomerClient\\build.xml" "run.axis.client"
Buildfile: C:\_SourceRepo\openrules.web\DecisionHelloWSCustomerClient\build.xml
run.axis.client:
[java] - Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
[java] greeting: Good Afternoon salutation: Mr.
[java] Good Afternoon, Mr. Robinson!
Have you made any changes in the provided web services or its client? If yes, which ones? You may zip and email us both of your projects to analyze. Don’t worry, we will help.
OpenRules Support
...
...
...