|
Disclaimer:
These pages about different languages / apis / best practices were mostly jotted down quckily and rarely corrected afterwards. The languages / apis / best practices may have changed over time (e.g. the facebook api being a prime example), so what was documented as a good way to do something at the time might be outdated when you read it (some pages here are over 15 years old). Just as a reminder. HP Bluestone Total-e-Serverdeveloper notes
How to get startedInstall Total-e-Server.Install Maintainance Pack 5. NOTE: The Mp5 fix the problems with GreetingDemo and JSP-EJB Loan Calculator in the TrailMap. However, Mp5 caused other problems on my computer....i would recommend trying out the software without Mp5 to get a feeling for how the software is built up, and then install mp5. Walk through the TrailMap to get a feeling for what Total-e-Server is. Read the documentation, do the different examples they have got. Start creating applications with Visual-XML, thats a way to connect XML-documents to the database and back. Modify the ULF so you can connect to the service in different way. Visual XMLA good place to get info about visual XML is to search in the documentation for "Bluestone Visual XML Simple Tutorial". Walking through there you will create some basic applications.Visual XML is having some annoying habits:
Before you run away and start fooling around with Visual XML and re-doing the projects loads of times because of small changes, there is one solution: Load the projectfile into a text-editor. The projectfiles are located in v-xml/Workspaces/Generated/<ProjName>/<ProjName>.pjx
XSL with Visual XMLIf your .xsl file is not applied to your output when you are running the applications you created in Vxml on the UBS, make sure that you have added "file_path" in yourc:\TeS\config\apserver.txt .
"file_path" should point to the directory where you have jsp-files, html-files and xsl-files, for example: [/MyApp.class] program=/MyApp.class session_affinity=0 type=1 file_path=c:\TeS\configiles host=localhost:20000 Problems with choosing Data Source in Data Publish Wizard (Visual XML)If you can't open the examples that comes with bluestone, because the publishing wizard cant connect to the database, try this (probably depends on which version you have of MS Access):
HTTP Listener in ULFIf you want to use a form on a webpage to pass information to the ULF, make sure the datafield you want to pass is named "SaDoc" (case-sensitive). If for example the data you want to pass along is in a textarea, the name of the textarea should be "SaDoc".This detail is not mentioned in the documentation, so if the UBS complains with SaXmlApp: SaGetXmlDoc: Errors Parsing document!! , check that the formfield has got the proper name and you will save yourself from going nuts trying to find info about the problem in the documentation.
FTP Listener in ULFThe FTP-listener does not support passive ftp, make sure you have disabled passive ftp in your ftpprogram when accessing the ULF. Once again, that is not mentioned in the documentation.Restrictions/Bugs/Problems with Bluestone
Error message received when running Simple Example (and purchase tutorial?) in Visual XMLThis message is received when I put up an email listener for Simple Example, What it means is simply that it complains that I try to insert the same entry twice in the table. <?xml version="1.0" encoding="ISO-8859-2"?> <Author> <AuthorID>172-32-1176</AuthorID> <LastName>White</LastName> <FirstName>Johnson</FirstName> <Phone>408 496-7223</Phone> <Address>10932 Bigge Rd.</Address> <City>Menlo Park</City> <State>CA</State> <Country>USA</Country> <ZIP>94025 </ZIP> </Author> <errors> <error type='0' major='0' minor='0' state='0' line='0'> TableDriver: SQLException in PreparedStatement.executeUpdate while processing index '0' of '1'!!</error> <error type='0' major='0' minor='0' state='0' line='0'>SQLException(s) thrown!! Error Code:0 SQL State :S1000 Message :General error </error> </errors> More programming related pages |