Garry Bettle, 22.07.2011 20:18:
I'm trying some calls to an wsdl API I've subscribed to.

You might find this interesting:

http://effbot.org/zone/element-soap.htm


But I'm struggling to know what they want when sending an unsignedByte in a
request.

That's just a number, plain old-fashioned decimal digits.


      *<xs:complexType name="GetOddsLadderRequest">*
*<xs:attribute name="PriceFormat" type="xs:unsignedByte" />  *
*</xs:complexType>*"

In ElementTree, that's just

  request_element = Element("request_tag_name_here", PriceFormat="123")

Stefan

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to