Any help with this ? Did it make it to the mailing list ?
On Wed, Mar 3, 2010 at 12:22 PM, Philippe Gauvin :: Magnet Média <
phil(a)magnetmedia.ca> wrote:
Hi,
I have the following client definition.
Suds (
https://fedorahosted.org/suds/ ) version: 0.4 (beta) build:
> R663-20100303
> Service ( MeetingSpaceProviderService ) tns="
>
http://htng.org/PWSWG/2007/01/DigitalSignage"
Prefixes (2)
ns0 = "
>
http://htng.org/PWSWG/2007/01/DigitalSignage/MeetingSpaceRequest/Types"
ns1 = "
>
http://htng.org/PWSWG/2007/01/DigitalSignage/MeetingSpaceResponse/Types&q...
Ports (2):
(MeetingSpaceServiceSoap)
Methods (2):
MeetingSpaceCharacteristicsRequest()
MeetingSpaceRequest(ns0:DateRange DateRange, )
Types (6):
ns1:EventType
ns1:GroupType
ns1:MeetingSpaceType
ns1:OtherRoomType
ns1:PropertyType
ns1:SubMeetingSpaceType
(MeetingSpaceServiceSoap1)
Methods (2):
MeetingSpaceCharacteristicsRequest()
MeetingSpaceRequest(ns0:DateRange DateRange, )
Types (6):
ns1:EventType
ns1:GroupType
ns1:MeetingSpaceType
ns1:OtherRoomType
ns1:PropertyType
ns1:SubMeetingSpaceType
I need to call the MeetingSpaceCharacteristicsRequest like this
<soap:Body>
<MeetingSpaceCharacteristicsRequest propertyKey="3917" xmlns="
>
http://htng.org/PWSWG/2007/01/DigitalSignage/MeetingSpaceCharacteristicsR...
> />
</soap:Body>
but because propertyKey is not a listed type. I am not sure how to proceed.
I have tried binding the xsd manually (propertyKey is a defined type in the
xsd) but no luck.
from suds.xsd.sxbasic import Import
ns = '
>
http://htng.org/PWSWG/2007/01/DigitalSignage/MeetingSpaceCharacteristicsR...
> '
location = '
>
http://htng.org/PWSWG/2007/01/DigitalSignage/MeetingSpaceCharacteristicsR...
> '
Import.bind(ns, location)
First time fiddling with soap, so sorry if the question is easy and
hopefully it is ;-)
Phil