on 11-06-2009 1:10 PM
Hello,
I just tried the Enterprise Service "Read Project Activity" (ProjectProcessingManageProjectIn) from ESM ERP 604 in the ES workplace. The field LagDuration in the NetworkRelationship consists of only a number, but no unit of measure. I changed the unit from Hours to Seconds via the Web Portal and watched the results of the Service: the number did not change although one hour should result in different lag time than one second. IMHO the unit of measure is missing in the service definition. Or am I getting something wrong?
Regards,
Uwe.
Sorry, I was mistaken by another issue.
In fact our recently upgraded system still only accepts "naked" numbers for the BaseDuration of a network activity in ecc_projactyupdrc and interprets it as days. If you give it a valid duration like P0Y0M2DT0H0M0S you get a CX_SXML_PARSE_ERROR. This seems to be a bug in the implementation of the service!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Again, I found out by myself: You have to supply the whole pattern P0Y0M0DT0H0M0S, not only parts of it. Then it works!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is even worse: There are several duration fields in the "Manage Project In" Service Interface (e.g. Activity BaseDuration). In the responses these fields always contain a naked number (no unit of measure). In the WSDL these fields are of type "Duration" which has a pattern restriction of "PnYnMnDTnHnMnS" - not an int type! In a request if you pass e.g. "PT20M" (which is a valid Duration according to the samples) you will get a nasty parse error. Can anybody explain? Has anybody worked around this issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
9 | |
9 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.