|Re: Documentation is misleading on audit calls [message #25772 is a reply to message #25650]
||Sun, 03 December 2006 04:37
Originally posted by: eishays.us.ibm.com|
Copy paste is the source of all evil...
Thanks Dan for the comment, and sorry for the misleading extra parameter
in the documentation. I fixed the error.
The error actually came from me copying internal code documentation. The
method signature are identical to the web service, but without the
initiatingUser param which is taken from the SessionContext object.
Dan Hale wrote:
> The documentation on
> http://wiki.eclipse.org/index.php/OHF_Bridge_Documentation doesn't seem
> to match the wsdl and may need to be updated. For example, the
> documentation lists auditPatientRecordReadEvent as:
> auditPatientRecordReadEvent(int eventOutcome, String initiatingUser,
> String patientId)
> * eventOutcome event outcome from AtnaAuditClient
> * initatingUser User Id passed along to the IHE Actor
> * patientId the id of the patient the record pertains to
> However, the wsdl appears to want a patient Id object instead of a
> string, and a sessionContext instead of a username. Audit also needs to
> have its first letter capitalized.
> <wsdl:message name="AuditPatientRecordReadEventRequest">
> <wsdl:part name="sessionContext" type="tns1:sessionContext"/>
> <wsdl:part name="eventOutcome" type="xsd:int"/>
> <wsdl:part name="patientId" type="tns1:patientIdType"/>
> I assume these are both referring to the same functions for use through
> the bridge. I wrote my auditing module based on the documentation page
> instead of the wsdl, and needless to say the server wasn't happy with me.
> Oops! *slaps head*
Powered by FUDForum
. Page generated in 0.03254 seconds