Hello all,
I'm using suds (0.4) to interact with HP Service Manager's web services. This is
an excerpt from the wsdl in question:
<xs:element name="RetrieveIncidentRequest">
<xs:complexType>
<xs:sequence>
<xs:element name="model"
type="IncidentModelType"/>
</xs:sequence>
<xs:attribute name="attachmentInfo"
type="xs:boolean" use="optional"/>
<xs:attribute name="attachmentData"
type="xs:boolean" use="optional"/>
<xs:attribute default="true"
name="ignoreEmptyElements" type="xs:boolean"
use="optional"/>
</xs:complexType>
</xs:element>
When suds creates a method for RetrieveIncidentRequest, it only appears to implement the
xs:sequence and not the subsequent xs:attributes:
(IncidentManagement)
Methods (8):
CloseIncident(IncidentModelType model, )
CreateIncident(IncidentModelType model, )
ReopenIncident(IncidentModelType model, )
ResolveIncident(IncidentModelType model, )
RetrieveIncident(IncidentModelType model, ) <---Expecting arguments derived
from xs:attributes
RetrieveIncidentKeysList(IncidentModelType model, )
RetrieveIncidentList(IncidentKeysType[] keys, )
UpdateIncident(IncidentModelType model, )
Does anybody know if this is a limitation of Suds, or if there is a way that I can access
the other attributes as defined in the wsdl?
Thanks,
James
Information contained in this communication (including any attachments) is confidential
and may be privileged or subject to copyright. If you have received this communication in
error you are not authorised to use the information in any way and Optiver requests that
you notify the sender by return email, destroy all copies and delete the information from
your system. Optiver does not represent, warrant or guarantee that this communication is
free from computer viruses or other defects or that the integrity of this communication
has been maintained. Any views expressed in this communication are those of the
individual sender. Optiver does not accept liability for any loss or damage caused
directly or indirectly by this communication or its use.
Please consider the environment before printing this email.
Show replies by date