Re: [Dev] [G-Reg 5.0.0] Retrieving data related to governance artifacts

2015-01-06 Thread Sameera Kannangara
Hi Ajith, Above artifacts treating as content artifacts. Ok, point taken. So proper way is , take the resource from the governance artifact then check the media type from that resource. Problem is retrieved governance artifact does not contain a reference to the related registry resource.

Re: [Dev] [G-Reg 5.0.0] Retrieving data related to governance artifacts

2015-01-05 Thread Ajith Vitharana
Above artifacts treating as content artifacts. So proper way is , take the resource from the governance artifact then check the media type from that resource. -Ajith On Thu, Jan 1, 2015 at 5:05 AM, Sameera Kannangara samee...@wso2.com wrote: Hi all, When retrieving governance artifacts of

[Dev] [G-Reg 5.0.0] Retrieving data related to governance artifacts

2015-01-01 Thread Sameera Kannangara
Hi all, When retrieving governance artifacts of types, application/wsdl+xml application/x-xsd+xml application/policy+xml application/vnd.wso2.endpoint via governanceUtils.retrieveGovernanceArtifactByPath(), returned governance artifact does not contain the respective media type. All generic