#!/usr/bin/env python

# Copyright (c) 2001 actzero, inc. All rights reserved.

import sys

sys.path.insert (1, '..')

import SOAP

ident = '$Id$'

SoapEndpointURL		= 'http://www.alanbushtrust.org.uk/soap/compositions.asp'
MethodNamespaceURI 	= 'urn:alanbushtrust-org-uk:soap:methods'
SoapAction		= MethodNamespaceURI + "#GetCategories"

server = SOAP.SOAPProxy( SoapEndpointURL, namespace=MethodNamespaceURI, soapaction=SoapAction )
print "server level>>", server.GetCategories()

#!/usr/bin/env python

# Copyright (c) 2001 actzero, inc. All rights reserved.

import sys

sys.path.insert (1, '..')

import SOAP

ident = '$Id$'

SoapEndpointURL		= 'http://www.alanbushtrust.org.uk/soap/compositions.asp'
MethodNamespaceURI 	= 'urn:alanbushtrust-org-uk:soap.methods'
SoapAction		= MethodNamespaceURI + ".GetCategories"

server = SOAP.SOAPProxy( SoapEndpointURL, namespace=MethodNamespaceURI, soapaction=SoapAction )
for category in server.GetCategories():
   print category

Correct URI and list categories
Correct URI and list categories


git-svn-id: c4afb4e777bcbfe9afa898413b708b5abcd43877@69 7150bf37-e60d-0410-b93f-83e91ef0e581
