• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WO-n-WebServices – some Tips!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WO-n-WebServices – some Tips!


  • Subject: WO-n-WebServices – some Tips!
  • From: email@hidden
  • Date: Thu, 3 Nov 2005 12:17:58 +1300

Hello;

I'm doing some WO 5.2.* WebServices development at the moment from the perspective of somebody who is a heavy WO user, but relatively new to WO's SOAP implementation and thought I would quickly share a "workaround" and a "handy tip" while they are fresh in my mind...

------------------

My first problem was that AXIS uses "jakarta commons logging" as I also use another open-source product that uses "jakarta commons logging" as well and things got somewhat messy with inter- dependancies with "log4j" which I do not use in my projects to date. In order to resolve these issues, I wrote an implementation of...

	org.apache.commons.logging.Log

...which pipes the logs back into WebObject's NSLog infrastructure rather than going into "log4j". It requires the WOA project to have these two (?) system system properties set...

	org.apache.commons.logging.Log=...
	org.apache.commons.logging.log=...

This then means that the inter-dependancy with "log4j" was resolved because it no longer came into play and I could get back to business.

------------------

The second interesting thing is AppleScript. I was scouting around for a way to test my WebServices stuff without spending ages starting a separate project and writing a client. I learnt that AppleScript talks SOAP and thought, "hey, what the heck, let's give this a whirl" and to my surprise it works well and provides quite a nice test-rig for developing WebServices. There is a sample in "/Applications/ AppleScript/..." for WebServices and it doesn't seem too tricky to learn AppleScript in an hour or two with the guide they have. Worth considering IMHO.

------------------

cheers.

___
Andrew Lindesay
www.lindesay.co.nz



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: XHTML generation
  • Next by Date: (no subject)
  • Previous by thread: Re: Unit testing
  • Next by thread: Logging SQL with Wonder
  • Index(es):
    • Date
    • Thread