Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsPatientInfoType problem- patientSuffixName
https://www.eclipse.org/forums/index.php/mv/msg/11103/34472/#msg_34472
In
org.eclipse.ohf.bridge/src/org/eclipse/ohf/bridge/types/Pati entInfoType.java
there is a method "setPatientSuffixName". This method is not called that
I can see (eclipse agrees), nor is there a corresponding
"getPatientSuffixName". This appears to be a remnant from an old version,
perhaps where the patient suffix wasn't inside a child PatientNameType
object?
The problem for me was that this method caused the WSDL generation to show
this "patientSuffixName" to be an element in the patientInfoType.
However, when the bridge sends the xml back, this patientSuffixName is of
course missing since there is no "get" method for it. So in my case,
since I'm doing doc/lit and verifying the XML response against the schema
from the WSDL, it's getting an error about this element missing. I
removed the setPatientSuffixName from my copy of the source code,
recompiled, and now the WSDL does not have it. Testing shows that it's
working fine without it, and of course the returned XML now matches the
schema from the WSDL.
As I am not a committer for this project, I figured I'd post this here to
see if anyone agreed and wanted to make that change to the code. Also, if
there's a better place for me to post these sort of code change
suggestions, please feel free to clue me in :-)
thanks,
Jesse]]>Jesse Pangburn2007-10-08T23:25:24-00:00Re: PatientInfoType problem- patientSuffixName
https://www.eclipse.org/forums/index.php/mv/msg/11103/34573/#msg_34573
Definitely looks like a bug to me. Please create a new bug in Bugzilla
(note that this is the proper way under Eclipse Foundation rules for you
to contribute fixes and changes).
Please apply this against the "bridge" component so I get notified.
Thanks a bunch!
-Matt
Jesse Pangburn wrote:
> Hi,
> In
> org.eclipse.ohf.bridge/src/org/eclipse/ohf/bridge/types/Pati entInfoType.java
> there is a method "setPatientSuffixName". This method is not called
> that I can see (eclipse agrees), nor is there a corresponding
> "getPatientSuffixName". This appears to be a remnant from an old
> version, perhaps where the patient suffix wasn't inside a child
> PatientNameType object?
>
> The problem for me was that this method caused the WSDL generation to
> show this "patientSuffixName" to be an element in the patientInfoType.
> However, when the bridge sends the xml back, this patientSuffixName is
> of course missing since there is no "get" method for it. So in my case,
> since I'm doing doc/lit and verifying the XML response against the
> schema from the WSDL, it's getting an error about this element missing.
> I removed the setPatientSuffixName from my copy of the source code,
> recompiled, and now the WSDL does not have it. Testing shows that it's
> working fine without it, and of course the returned XML now matches the
> schema from the WSDL.
>
> As I am not a committer for this project, I figured I'd post this here
> to see if anyone agreed and wanted to make that change to the code.
> Also, if there's a better place for me to post these sort of code change
> suggestions, please feel free to clue me in :-)
>
> thanks,
> Jesse
>]]>Matthew Davis2007-10-09T16:24:20-00:00Re: PatientInfoType problem- patientSuffixName
https://www.eclipse.org/forums/index.php/mv/msg/11103/581874/#msg_581874
Definitely looks like a bug to me. Please create a new bug in Bugzilla
(note that this is the proper way under Eclipse Foundation rules for you
to contribute fixes and changes).
Please apply this against the "bridge" component so I get notified.
Thanks a bunch!
-Matt
Jesse Pangburn wrote:
> Hi,
> In
> org.eclipse.ohf.bridge/src/org/eclipse/ohf/bridge/types/Pati entInfoType.java
> there is a method "setPatientSuffixName". This method is not called
> that I can see (eclipse agrees), nor is there a corresponding
> "getPatientSuffixName". This appears to be a remnant from an old
> version, perhaps where the patient suffix wasn't inside a child
> PatientNameType object?
>
> The problem for me was that this method caused the WSDL generation to
> show this "patientSuffixName" to be an element in the patientInfoType.
> However, when the bridge sends the xml back, this patientSuffixName is
> of course missing since there is no "get" method for it. So in my case,
> since I'm doing doc/lit and verifying the XML response against the
> schema from the WSDL, it's getting an error about this element missing.
> I removed the setPatientSuffixName from my copy of the source code,
> recompiled, and now the WSDL does not have it. Testing shows that it's
> working fine without it, and of course the returned XML now matches the
> schema from the WSDL.
>
> As I am not a committer for this project, I figured I'd post this here
> to see if anyone agreed and wanted to make that change to the code.
> Also, if there's a better place for me to post these sort of code change
> suggestions, please feel free to clue me in :-)
>
> thanks,
> Jesse
>]]>Matthew Davis2007-10-09T16:24:20-00:00Re: PatientInfoType problem- patientSuffixName
https://www.eclipse.org/forums/index.php/mv/msg/11103/581893/#msg_581893
> Definitely looks like a bug to me. Please create a new bug in Bugzilla
> (note that this is the proper way under Eclipse Foundation rules for you
> to contribute fixes and changes).
> Please apply this against the "bridge" component so I get notified.
I created a bugzilla account for myself and entered this as a bug.
thanks,
Jesse]]>Jesse Pangburn2007-10-09T20:09:31-00:00Re: PatientInfoType problem- patientSuffixName
https://www.eclipse.org/forums/index.php/mv/msg/11103/34607/#msg_34607
> Definitely looks like a bug to me. Please create a new bug in Bugzilla
> (note that this is the proper way under Eclipse Foundation rules for you
> to contribute fixes and changes).