[Fedora-suds-list] A couple of questions...

Erik Cederstrand erik at cederstrand.dk
Fri Jul 16 11:00:17 UTC 2010


Den 13/07/2010 kl. 10.27 skrev Erik Cederstrand:

> 2: The same service has a number of optional elements that affect the returned response, e.g. a CalendarView element to restrict the start- and enddate of the items returned:
> 
> 	<SOAP-ENV:Header/>
> 	  <ns1:Body>
> 	    <ns2:FindItem Traversal="Shallow">
> 	      <ns2:CalendarView startdate=... enddate=...>
> 
> Suds currently ignores these elements when I supply them to FindItem(). Is this intentional, or is there a workaround?

This is now ticket #332.

> 4: Using the XSD from Exchange, Suds generates XML for some elements like this:
> 
> 	<ns5:Path FieldURI="item:ItemClass" xsi:type="ns5:PathToUnindexedFieldType" /> 
> 
> But Exchange rejects it (even though it should be valid XML according the the XSD) and needs this instead:
> 
> 	<ns5:FieldURI FieldURI="item:ItemClass"/> 
> 
> (FieldURI has type PathToUnindexedFieldType, and inherits from the Path element). I think this is what is called doc-lit format(?). To work around this, I have modified the XSD to force the latter to be generated by suds. Is there a way to do this without modifying the XSD? Would it be difficult to patch Suds to optionally generate the latter format?

This one is still nagging me. Any ideas?

Thanks,
Erik
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1928 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/suds/attachments/20100716/0eef859b/attachment-0001.bin 


More information about the suds mailing list