Support for SOAP version 1.2?

tcl

    Next

  • 1. tk_getOpenFile crash on Windoze 7
    I have encountered a strange problem with tk_getOpenFile and tcl8.6b1.2 on Windows 7. It seems that everytime I try to browse to a file through the route "Libraries->Documents->myfile" wish crashes in an irreconcilable way. eg "Fatal error in wish alloc: invalid block: 02246EF8: ef ef 78" To repeat just open wish, type 'tk_getOpenFile', and browse ... I don't get the error if I browse for the same file using a different route, eg browse from Computer ->Drive C:->Users->bobj->My Documents- >myfile (Yes it is also strange that the "Documents" folder is shown as "My Documents" when browsing from this direction. On Windows 7 "My Documents" seem to be some sort of symbolic link to "Documents".) Has anybody else found or reported this behaviour? I just checked that everything is fine with tcl 8.5.2. Its making me want to kick myself for using the bleeding edge beta but I really wanted to use the built in zlib stuff and I have become quite attached to the try .. on error .. finally construct. But I really can't tell my users how to browse for files :-( Please confirm if this is a tk bug. Then if need be I wil begin the long road back to 8.5.2 ... Regards Bob
  • 2. Problems unloading dynamically loaded library from TCL
    Hi Everyone! I've loaded a DLL using the load command: load lib/tcs/drivers/commonlib.so When I attempt the unload command I get the following issue: unload lib/tcs/drivers/commonlib.so file "lib/tcs/drivers/commonlib.so" cannot be unloaded under a trusted interpreter I've read the documentation fully and implemented the unload prototype in my library. I don't want to load this library under an untrusted slave interpreter because I want to access the library objects from the master. Searching this group for "unload" gives a bunch of problems people have had with this command. I'm starting to wonder if anyone really uses this? If the library is loaded without unloading, valgrind complains about memory leaks for every object in the library on exit. I know the OS will clean it up, but thats not ideal.

Support for SOAP version 1.2?

Postby Devin Eyre » Sat, 24 Apr 2004 10:35:19 GMT

Is there any tcl extension that supports SOAP version 1.2?  I'm able to
write out the SOAP file enclosed in a soap-envelope, just need to know
how to do the actual sending/receiving reply.


Similar Threads:

1.Rich Report version 1.2 with clarion 6

Hi Everyone ,
                    Has anyone managed to get rich report version 1.2 to
work with clarion 6 and as also anyone have had problems contacting solid
software because i have been sending emails to them but no reply.

Olu.



















2.ANN: KSpng version 1.2 released

3.RATECRYPT() Version 1.2 included below

Dear Friends,

    Here is Version 1.2 of RateCrypt() below.


Thanks to all

-Mel Smith

-------------------  snip -----------------------------

FUNCTION RATECRYPT(cCRYPT,nRATE,cEMPNUM)
//    Author: Mel Smith,  Aug 17, 2006
//           With Lots of Help from the Guys on the c.l.g newsgroup

//    Aug 18/06 -- Version 1.2
//       1. Removed Duplicate Code / Re-structured
//       2. Changed NUROUND() to standard ROUND()
//          (Thanks to BillRobertson)
//       3. Changed the nMININC 'define' to lessen 'loops'
//          (But would like to find a way to eliminate this step)

/*
   My wish with this function is to create an encrypted rate which will
   'fit' in the same field as the actual rate, but will have a value
   that will be obvious (to my function) as either encrypted (or actual).

   Thus, this function allows the programmer to 'obscure' an employee's
hourly
   Rate from casual viewing (using database viewing software) by his peers.

   The technique uses a pseudo Random Number generator copied/modified
   from NanForum's rand1.prg

   The mods include using the '%' operator (instead of the MOD() function),
   and later including an organization's own code (nORGCODE) to
differentiate
   it from other orgs who would also use this function.

   I also have to deal with variously-structured 'Employee Numbers' which
   require some extra coding below. *My* Employee numbers are (for now)
   either, for example,  'R1234'   or '59028'. So I have to use either
   *all* digits or the right-most 4 digits.

*/

#define nB 31415621        // Good old 'PI' is used here
#define nM 100000000       // The widest possible range of values
#define nMIN 60000         // Minimum returned value from encryption
#define nMAX 99999         // Maximum returned value from encryption
#define nMININC 10000      // To 'boost' the nCODEBASE to within limits ---- 
Version 1.2 change
#define nORGCODE 1234      // Choose Your own private org's code here -- 
NEVER CHANGE !
#define nMINLENEMP 5       // Minimum input allowable length of employee
number
#define nMINCODERATE 400   //  Any value > nMINCODERATE is already encrypted
LOCAL I,nSEED,nEMPVAL,nCODEBASE,nCODERATE,cDIGSTR,nDECRYPRATE

GABORT := .T.  // Global 'Abort' indicator for Calling routine
               // Assume failure at the outset

IF EMPTY(nRATE)   // I won't encrypt a 'zero' Rate
   RETURN nRATE
ENDIF

cEMPNUM := ALLTRIM(cEMPNUM)
IF EMPTY(cEMPNUM) .OR. LEN(cEMPNUM) < nMINLENEMP   // Faulty Employee Number
   RETURN nRATE
ENDIF

// Try to use *both* the n-digit Employee Numbers and also
// the letter + (n-1)-digit Employee Numbers used by other related orgs.

IF ISDIGIT(cEMPNUM)  // THEN WE CAN USE ALL n DIGITS
   nEMPVAL := VAL(cEMPNUM)
ELSE        // ELSE ONLY USE THE RIGHT-MOST n-1 DIGITS
   IF .NOT. ISDIGIT(cDIGSTR:=SUBSTR(cEMPNUM,2,10))  // THEN WE HAVE A
NON-CONFORMING EMPNUM
      RETURN nRATE
   ENDIF
   nEMPVAL := VAL(cDIGSTR)
ENDIF
// Now we have a proper Employee 'Number' to work with as part of our seed
// nCodeBase calcs was moved and structure below changed from 1st version

// Modify the 'Seed' for your own organization's purposes

nSEED := nEMPVAL + nORGCODE      // The seed is different for each different
                                 // Employee Number (+ the Org's own code)

// This next line is from the NanForum 'Rand1.prg' module and
// authors Gary Baren and 'Glenn'
nCODEBASE := nMAX * (( (nSEED * nB + 1) % nM ) / nM)

// Now bring the nCODEBASE within your org's limits

DO WHILE nCODEBASE < nMIN
   nCODEBASE += nMININC    // I don't like this loop but what else can I do
?
ENDDO

// Version 1.2 uses the 'normal' round() function below (not Fleming
Ho's) -- Kudos to Bill Robertson
nCODEBASE := ROUND(nCODEBASE*.01,2)     // Result 500.00 thru 999.99

cCRYPT := ALLTRIM(UPPER(cCRYPT))

IF cCRYPT == "E"              // Means to 'E'ncrypt
   IF nRATE > nMINCODERATE    // Already encrypted
      RETURN nRATE      // It is 'already' encrypted --  a Programming Fault
:((
   ENDIF

   nCODERATE := nCODEBASE - nRATE            // and establish the Coded Rate

   GABORT := .F.           // Signal globally that this encryption worked.
   RETURN nCODERATE        // and Return this Coded Rate

ELSEIF cCRYPT="D"    // MEANS 'D'ecrypt
   IF nRATE <= nMINCODERATE    // Already encrypted
      RETURN nRATE      // It is 'already' encrypted --  a Programming Fault
:((
   ENDIF
   nDECRYPRATE := ABS(nRATE - nCODEBASE)            // and establish the
Coded Rate

   GABORT := .F.           // Signal globally that this encryption worked.
   RETURN nDECRYPRATE        // and Return this Coded Rate

ENDIF

GABORT := .T.                  // Version 1.2 addition here
RETURN nRATE





4.[ANN] new InsiderTools version 1.2 released

Hello!

Eleus Software very happy to announce the InsiderTools library version
1.2!


List of changes in version 1.2
----------------------------

   * new routine insider():procObject(..) returns object for an
callstack
      entry of method call.
   * new routine insider():procBlock(..) returns codeblock for an
callstack
      entry of codeblock call.

   * added support for codeblock's callstack entries in fatal error
handler.
   * enhance of fatal error handler's "Full callstack" section:
         * show parameters even for internal functions
         * show ProcName()/ProcLine() for internal functions (where
            possible)
         * determining BEGIN SEQUENCEs in callstack
         * show types of callstack entries: x++ (Xbase++ call), core
            (internal function) and SEQ (BEGIN SEQUENCE)
         * show only 256 entries of callstack (128 first and 128 last)

To view complete list of changes and updated documentation, please
visit our
site.


About InsiderTools
-------------------

InsiderTools is set of add-on tools for debugging, profiling,
diagnosting
and error checking for Alaska Xbase++.

Short list of features:

  * Extended Callstack API
         Unique addon API for ProcName()/ProcLine(). You can
         retrieve parameters for any entry in callstack, get actual
         object for method call and actual codeblock for codeblock eval
  * Extended Fatal Error Handling
         A lot of infomation about crash: callstacks with all
parameters,
         memory info & stat, etc
  * Extended Memory Information
         All about used memory and allocated variables. Statistics
         about created objects. Retrieving number of references
         to an object or array.
  * Xbase++ Aspect Oriented API
         Simple and powerful tool to debug, log and profile.

check our software:
>  insiderTools: set of debugging, profiling and error checking tools
>  smartGC: addon tool to speedup garbage collector
>  XFuncs: easy extend your app with script functions

5.RfD: Ambiguity in FATAN2 version 1.2

6. JukeboxIn4Th updated (Now version: 1.2)

7. [ANNOUNCE] Unixhelp version 1.2

8. ANNOUNCE: TkproE version 1.2 released



Return to tcl

 

Who is online

Users browsing this forum: No registered users and 9 guest