Hi Chris,

It seems that "org.wso2.carbon.governance.api",
"org.wso2.carbon.registry.ws.client", etc are not included in the AS packs
since it does not require them. You could add the relevant jars to the
 WEB-INF/lib/
if it is an web app.

Regards,
Pulasthi


On Thu, Sep 5, 2013 at 7:19 PM, Chris Haddad <[email protected]> wrote:

> Hi Sam and Pulasthi,
>
> To run the sample, are the required packages distributed with WSO2
> Application Server 5.1?   What steps are required to run the code in WSO2
> App Server?   I am using the registry embedded within WSO2 App Server, and
> not the standalone registry product instance.
>
> I am obtaining import resolution errors when including the required
> classes in my JSP page:
>
> <%@ page 
> import="org.wso2.carbon.governance.api.generic.GenericArtifactManager"
> %>
>
> <%@ page import="org.wso2.carbon.governance
> .api.generic.dataobjects.GenericArtifact" %>
>
> <%@ page import="org.wso2.carbon.governance.api.util.GovernanceUtils"%>
>
>
> <%@ page import="org.wso2.carbon.registry.core.pagination
> .PaginationContext" %>
>
> <%@ page import="org.wso2.carbon.registry.ws
> .client.registry.WSRegistryServiceClient" %>
>
>
>
>
>
>
> /Chris
>
>
> On Wed, Sep 4, 2013 at 7:07 AM, Samuel Gnaniah <[email protected]> wrote:
>
>> Hi Chris,
>>
>> I mostly fixed up the descriptions and the code changes are mostly
>> cosmetic, so what Pulasthi shared should work. Anyway, here are the links:
>>
>>    - http://docs.wso2.org/display/Governance460/Advance+Search+Sample
>>    -
>>    
>> http://docs.wso2.org/display/Governance460/Governance+Artifact+Search+Sample
>>
>>
>> Thanks,
>> Sam
>>
>> *Samuel Gnaniah*
>> Senior Technical Writer
>>
>> WSO2 (pvt.) Ltd.
>> Colombo, Sri Lanka
>> (+94) 773131798
>>
>>
>> On Wed, Sep 4, 2013 at 4:28 PM, Chris Haddad <[email protected]> wrote:
>>
>>> Samuel,   please send me the revised source code via email.    I desire
>>> to review the code today, and incorporate the methodology into my sample
>>> app.   /Chris
>>>
>>>
>>> On Wed, Sep 4, 2013 at 6:52 AM, Samuel Gnaniah <[email protected]> wrote:
>>>
>>>> Checked this one as well and made a few minor fixes.
>>>>
>>>> Regards,
>>>> Sam
>>>>
>>>> *Samuel Gnaniah*
>>>> Senior Technical Writer
>>>>
>>>> WSO2 (pvt.) Ltd.
>>>> Colombo, Sri Lanka
>>>> (+94) 773131798
>>>>
>>>>
>>>> On Wed, Sep 4, 2013 at 4:10 PM, Samuel Gnaniah <[email protected]> wrote:
>>>>
>>>>> Hi Pulasthi,
>>>>>
>>>>> I checked the GenericArtifactManager one and made a few changes
>>>>> yesterday. Will look through this as well.
>>>>>
>>>>> Cheers,
>>>>> Sam
>>>>>
>>>>> *Samuel Gnaniah*
>>>>> Senior Technical Writer
>>>>>
>>>>> WSO2 (pvt.) Ltd.
>>>>> Colombo, Sri Lanka
>>>>> (+94) 773131798
>>>>>
>>>>>
>>>>> On Wed, Sep 4, 2013 at 3:54 PM, Pulasthi Supun <[email protected]>wrote:
>>>>>
>>>>>> Hi All,
>>>>>>
>>>>>> I finished the second sample which shows how search can be done using
>>>>>>  "SearchAdminService". The sample documentaion can be found at [1].
>>>>>>
>>>>>> @Samuel - Can you please go through the documentation and review it
>>>>>>
>>>>>> [1] http://docs.wso2.org/display/Governance460/Advance+Search+Sample
>>>>>>
>>>>>> Regards,
>>>>>> Pulasthi
>>>>>>
>>>>>>
>>>>>> On Tue, Sep 3, 2013 at 5:57 PM, Pulasthi Supun <[email protected]>wrote:
>>>>>>
>>>>>>> Hi Senaka/Chris
>>>>>>>
>>>>>>> I updated the document of an existing sample [1] to explain how
>>>>>>> search is done using the GenericArtifactManager which one of the two
>>>>>>> methods that can be used to search. The other method is to use the
>>>>>>> "SearchAdminService" i am writing a new sample for that will be able
>>>>>>> to finish it by within a day or so. will update the thread once get that
>>>>>>> done also.
>>>>>>>
>>>>>>> [1]
>>>>>>> http://docs.wso2.org/display/Governance460/Governance+Artifact+Search+Sample
>>>>>>>
>>>>>>> Regards,
>>>>>>> Pulasthi
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Aug 27, 2013 at 12:16 PM, Pulasthi Supun 
>>>>>>> <[email protected]>wrote:
>>>>>>>
>>>>>>>> Hi Senaka,
>>>>>>>>
>>>>>>>> Sure will take look at this and update the thread ASAP when i get a
>>>>>>>> small sample running.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Pulasthi
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Aug 27, 2013 at 12:09 PM, Senaka Fernando 
>>>>>>>> <[email protected]>wrote:
>>>>>>>>
>>>>>>>>> Hi Pulasthi,
>>>>>>>>>
>>>>>>>>> Can you get something sample/doc done with Samuel's help too, to
>>>>>>>>> cover this area. This is something much required for which we do not 
>>>>>>>>> have
>>>>>>>>> good documentation.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Senaka.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> * <http://us13.wso2con.com/>
>>>>>>>>> *
>>>>>>>>> *
>>>>>>>>> *
>>>>>>>>> *Senaka Fernando*
>>>>>>>>> Senior Technical Lead; WSO2 Inc.; http://wso2.com*
>>>>>>>>> Member; Apache Software Foundation; http://apache.org
>>>>>>>>>
>>>>>>>>> E-mail: senaka AT wso2.com
>>>>>>>>> **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
>>>>>>>>> Linked-In: http://linkedin.com/in/senakafernando
>>>>>>>>>
>>>>>>>>> *Lean . Enterprise . Middleware
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> --
>>>>>>>> Pulasthi Supun
>>>>>>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>>>>>>> Email: [email protected]
>>>>>>>> Mobile: +94 (71) 9258281
>>>>>>>> Blog : http://pulasthisupun.blogspot.com/
>>>>>>>> Git hub profile: https://github.com/pulasthi
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> --
>>>>>>> Pulasthi Supun
>>>>>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>>>>>> Email: [email protected]
>>>>>>> Mobile: +94 (71) 9258281
>>>>>>> Blog : http://pulasthisupun.blogspot.com/
>>>>>>> Git hub profile: https://github.com/pulasthi
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> --
>>>>>> Pulasthi Supun
>>>>>> Software Engineer; WSO2 Inc.; http://wso2.com,
>>>>>> Email: [email protected]
>>>>>> Mobile: +94 (71) 9258281
>>>>>> Blog : http://pulasthisupun.blogspot.com/
>>>>>> Git hub profile: https://github.com/pulasthi
>>>>>>
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> +1.678.431.1656
>>> mailto:[email protected]
>>> twitter @cobiacomm
>>> http://blog.cobia.net/cobiacomm (blog)
>>>
>>>
>>
>
>
> --
> +1.678.431.1656
> mailto:[email protected]
> twitter @cobiacomm
> http://blog.cobia.net/cobiacomm (blog)
>
>


-- 
--
Pulasthi Supun
Software Engineer; WSO2 Inc.; http://wso2.com,
Email: [email protected]
Mobile: +94 (71) 9258281
Blog : http://pulasthisupun.blogspot.com/
Git hub profile: https://github.com/pulasthi
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to