Tuesday, April 30, 2013

VBA Work

Tasked to convert a VBA Word form to CF.

refresh knowledge of VBA (starting with Alt-F11, doh):
http://www.techrepublic.com/blog/10things/10-steps-to-creating-a-word-userform-for-addressing-letters/3519

Installed CFEclipse, start.bat to start railo tested a http://localhost:8888/test.cfm in Railo. Edited test.cfm in Eclipse with code: <cfdump var="#server#">

Monday, April 29, 2013

Railo

will start checking out Railo , e.g. to see source code for how session/application state and request lifecyle are implemented
work through https://github.com/getrailo/railo/wiki/Contributing%3ABuildingRailo

Thursday, April 25, 2013

Axis2 Eclipse How-to

followed tutorial "Create web service in Java using Apache Axis2": http://blog.sencide.com/2011/06/create-web-service-using-apache-axis2.html

Update 2013/04/26

Continued trying to create the client, said port type was empty. Lo and behold, I forgot to save the .java file with added addTwoNumbers method. Now how to update the web service? go through the Add File - Web Service wizard with same options but got "IWAB0164E Cannot overwrite the file "FirstWebService.class" relative to the path "/MyFirstWebService/WebContent/WEB-INF/services/FirstWebService/com/sencide" because automatic file overwriting has not been enabled. Do you want to enable it for this file"

I chose "Yes to All" and proceeded with rest of tutorial.

Finally to run from command line:

C:\Users\awg T\EclipseWorkspaces\Axis2Tut\MyFirstWebService\build\classes>java -cp .;"C:\Users\awg T\Downloads\axis2-1.6.2-bin\axis2-1.6.2\lib\*" com.sencide.TestClient
log4j:WARN No appenders could be found for logger (org.apache.axis2.description.AxisOperation).
log4j:WARN Please initialize the log4j system properly.
12

Wednesday, April 24, 2013

Git repo soap4r forked

made update to this to run in Ruby 2.0.0


Welcome to Git (version 1.8.1.2-preview20130201)


Run 'git help git' to display the help index.
Run 'git help ' to display help for specific commands.
AWG tek@awgtek ~
$ dir
sh.exe": dir: command not found
AWG tek@awgtek ~
$ mkdir awgteksoap4r
AWG tek@awgtek ~
$ cd awgteksoap4r/
AWG tek@awgtek ~/awgteksoap4r
$ git clone https://github.com/awgtek/soap4r.git
Cloning into 'soap4r'...
remote: Counting objects: 880, done.
remote: Compressing objects: 100% (717/717), done.
emote: Total 880 (delta 192), reused 748 (delta 141)Receiving objects:  99% (872
Receiving objects: 100% (880/880), 836.68 KiB, done.

Resolving deltas: 100% (192/192), done.
Checking out files: 100% (642/642), done.
AWG tek@awgtek ~/awgteksoap4r
$ ls
soap4r
AWG tek@awgtek ~/awgteksoap4r
$ ls -la
total 6
drwxr-xr-x    3 AWG tek adm        0 Apr 24 16:31 .
drwxr-xr-x    1 AWG tek adm     8192 Apr 24 16:29 ..
drwxr-xr-x   16 AWG tek adm     4096 Apr 24 16:31 soap4r
AWG tek@awgtek ~/awgteksoap4r
$ ls
soap4r
AWG tek@awgtek ~/awgteksoap4r
$ pwd
/c/Users/AWG tek/awgteksoap4r
AWG tek@awgtek ~/awgteksoap4r
$ cd soap4r
AWG tek@awgtek ~/awgteksoap4r/soap4r (master)
$ ls
COPYING  README.rdoc  Rakefile  install.rb  rubyStyle.css  soap4r.gemspec
GPL      RUBYS        bin       lib         sample         test
AWG tek@awgtek ~/awgteksoap4r/soap4r (master)
$ git config --global user.name redacted
AWG tek@awgtek ~/awgteksoap4r/soap4r (master)
$ git config --global user.email redacted
AWG tek@awgtek ~/awgteksoap4r/soap4r (master)
$ git status
# On branch master
nothing to commit, working directory clean
AWG tek@awgtek ~/awgteksoap4r/soap4r (master)
$ git status
# On branch master
# Changes not staged for commit:
#   (use "git add ..." to update what will be committed)
#   (use "git checkout -- ..." to discard changes in working directory)
#
#       modified:   install.rb
#
no changes added to commit (use "git add" and/or "git commit -a")
AWG tek@awgtek ~/awgteksoap4r/soap4r (master)
$ ls
COPYING  README.rdoc  Rakefile  install.rb  rubyStyle.css  soap4r.gemspec
GPL      RUBYS        bin       lib         sample         test
AWG tek@awgtek ~/awgteksoap4r/soap4r (master)
$ git add install.rb
AWG tek@awgtek ~/awgteksoap4r/soap4r (master)
$ git status
# On branch master
# Changes to be committed:
#   (use "git reset HEAD ..." to unstage)
#
#       modified:   install.rb
#
AWG tek@awgtek ~/awgteksoap4r/soap4r (master)
$ git commit -m "Updating install.rb for ruby 2.0.0"
[master 8721f43] Updating install.rb for ruby 2.0.0
 1 file changed, 17 insertions(+), 7 deletions(-)
AWG tek@awgtek ~/awgteksoap4r/soap4r (master)
$ git push -u origin master
Username for 'https://github.com': awgtek
Password for 'https://awgtek@github.com':
Counting objects: 5, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 626 bytes, done.
Total 3 (delta 2), reused 0 (delta 0)
To https://github.com/awgtek/soap4r.git
   68483b8..8721f43  master -> master
Branch master set up to track remote branch master from origin.
AWG tek@awgtek ~/awgteksoap4r/soap4r (master)
$