Skip to content

Instantly share code, notes, and snippets.

@intabulas
Created February 4, 2009 03:08
Show Gist options
  • Save intabulas/57900 to your computer and use it in GitHub Desktop.
Save intabulas/57900 to your computer and use it in GitHub Desktop.
#!/usr/local/bin/ruby -Ku -rjcode
require 'rubygems'
require 'soap/wsdldriver'
require 'soap/header/simplehandler'
require 'soap/header/simplehandler'
class ProactiveNetSessionHeader < SOAP::Header::SimpleHandler
def initialize( ns, sessionid)
super(XSD::QName.new(ns,"sessionId"))
@sessionid = sessionid
end
def on_simple_inbound
end
def on_simple_outbound
@sessionid
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment