473,388 Members | 1,340 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Python Client Web-server

Hi,
I have installed python 2.5 and ZSI support for SOAP message.
I write a littel client in python that send a request to a server Muse.

In the request i have a SOAP header messages NULL. I have
modify the wsAddressURI in the binding and I have a header with the tags: MessageID , Action, To, From....

I would have another tag with the ResourceID but i don't understand how set a EndPointReference.
Help me, please.


Below my source-code.

loc = LoadBalancerConfiguratorLocator()
port = loc.getLoadBalancerPortType(tracefile=sys.stdout, endPointReference=p)

port.binding.wsAddressURI = "http://ws.apache.org/muse/addressing"

var = CreateLoadBalancer()
var.CreParams = var.new_creParams()
#print dir(var.CreParams)


var.CreParams.set_element_naps(2005)
var.CreParams.set_element_nellb(3)
var.CreParams.set_element_numlb(2)
var.CreParams.set_element_TransactionId("a")

port.CreateLoadBalancer(var)
Jan 21 '08 #1
0 969

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: calfdog | last post by:
Hello, I have been doing some experimenting with Automating Internet Explorer for testing. I would like to read from Excel and use the data to set the values of my text boxes on my web forms....
6
by: Avi Berkovich | last post by:
Hello, I was unable to use popen2.popen4 to grab python.exe's (2.3) output, for starts, it doesn't show the version information at the beginning and won't return anything when writing to the...
0
by: Cameron Laird | last post by:
QOTW: "Who's 'Guido'?" -- Ilias Lazaridis "I know this document. It has no relevance to me." -- Ilias Lazaridis, on <URL: http://www.catb.org/~esr/faqs/smart-questions.html > "Nobody asked...
0
by: Cameron Laird | last post by:
QOTW: "Who's 'Guido'?" -- Ilias Lazaridis "I know this document. It has no relevance to me." -- Ilias Lazaridis, on <URL: http://www.catb.org/~esr/faqs/smart-questions.html > "Nobody asked...
28
by: H J van Rooyen | last post by:
Hi, I want to write a small system that is transaction based. I want to split the GUI front end data entry away from the file handling and record keeping. Now it seems almost trivially easy...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.