Programming, technology, and CRM – from a Belgian programmer exiled to Missouri
  • rss
  • Home
  • Soft Gallery
    • autosvnbackup.sh
    • VBScript Snippets
  • Contact Me
  • Welcome

Little tips from the old blog

Nicolas Galler | January 2, 2006

Enable NTP On Windows 2003

  • use the group policy object snap-in, go to Computer Configuration/Administrative Templates/System/Windows Time Service/Time Providers, configure the stuff in there
  • use w32tm /resync to force a sync
  • (I think the client is enabled by default on domain members? not sure.)


Random notes on ASP:

  • You can use WSH to get registry. You can’t access HKCU from ASP, even if IIS is configured with a user.
  • To show error on the browser (instead of just “error 500″) there needs to be an error handling page (this is created by default but if you create a new web site it wont be copied). Solution = create a virtual dir on the website, make it point to \Winnt\Help\IISHelp, then go to the custom error handling and set the 500-100 error to \iishelp\common\500-100.asp (trick = this has to be URL, not File)

Some notes about Soap, Soap::Lite

Many more hours of fighting between SOAP::Lite and .NET later…

I think I am beginning to get the ‘feel’ of SOAP::Lite. Looking at the output (WSDL and XML) of a .net web server, I managed to hack the serializer to make it similar (thus it is using the ‘literal’ encoding instead of the RPC type). I don’t know if this is still going to go through a SOAP::Lite client now but it is not an issue right now. It will break Apache SOAP clients I think but thats not really an issue either since we are only going to use the service with our .net client… we can have the handler dispatch to a different server (serializer) according to client type, if needed. Unfortunately I never got the .net client to grok the Rpc-encoded output, although it was doing great on the google service… all kind of strange bugs started popping, so I gave up on that.

A lot of the info was on the SOAP::Lite mailing list, I figured the rest out from looking at the SOAP::Lite code and the output from the .net server. Basically the only function of the serializer is to strip all the attributes except the namespace (also I turned autotype off). The .net client figures all the types and shit from the WSDL (which I adapted from the .net server example).

As it is now I have a service sending back an array of pairs. I am probably still going to use only array of strings anyway but heh its good to know I can do it :) It’s really pretty simple I wish this info was on the SOAP::Lite page.

Oh yeah this page was a real lifesaver also: article by Byrne Reese on SOAP::Lite

Categories
Programming
Comments rss
Comments rss
Trackback
Trackback

« A7N8X / Sata/ Ghost .NET Composite Control »

Leave a Reply

Click here to cancel reply.

Categories

  • Experiments (4)
  • Interesting (1)
  • MSCRM (1)
  • Programming (60)
  • Rant (3)
  • Saleslogix (34)
  • Tricks (8)
  • Uncategorized (30)

Post History

  • 2010
    • January (3)
    • March (3)
    • April (2)
    • August (2)
  • 2009
    • March (2)
    • April (1)
    • May (3)
    • June (3)
    • July (1)
    • September (3)
    • October (2)
    • December (5)
  • 2008
    • January (9)
    • February (4)
    • March (9)
    • April (1)
    • May (5)
    • June (8)
    • July (1)
    • August (2)
    • September (1)
    • November (1)
    • December (3)
  • 2007
    • January (3)
    • February (7)
    • March (1)
    • April (3)
    • May (6)
    • June (2)
    • July (1)
    • August (2)
    • September (5)
    • October (3)
    • November (5)
    • December (4)
  • 2006
    • January (2)
    • September (1)
    • November (3)
    • December (4)
  • 2005
    • April (1)

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox