Usually, the session cookie obtained by calling the AuthenticationAdmin ,
admin service's login method.

Regards
Nandika

On Mon, May 20, 2013 at 5:27 PM, Jeewantha Dharmaparakrama <
[email protected]> wrote:

> Hi all,
>
> I'm trying to write an Integration test for this issue[1] for BPS. The
> scenario is : a process is deployed with its deploy.xml referring to an
> endpoint reference stored in governance registry. I believe I can deploy
> the process in BPS as in [2] where the BPEL  should be in
> /repository/samples/bpel. But how would I deploy the .epr file in GREG
> programatically?
> I was told to look at this[3] implementation. If this the right way to do
> this, how would I initialize *ResourceAdminServiceClient(serverBackEndUrl,
> serverSessionCookie) *?
>
> I would need the server backend url and session cookie.? Please advice.
>
> [1] https://wso2.org/jira/browse/BPS-239
> [2]
> https://svn.wso2.com/wso2/custom/projects/projects/carbon/4.0.0/platform/trunk/products/bps/3.0.0/modules/integration/org.wso2.bps.integration.tests/src/test/java/org/wso2/bps/integration/tests/management/bpel/DeploymentTestCase.java
> [3]
> https://svn.wso2.com/wso2/custom/projects/projects/carbon/4.0.0/platform/trunk/products/esb/4.5.1/modules/integration/tests/src/test/java/org/wso2/carbon/esb/mediator/test/payload/factory/ESB1666TestCase.java
>
>
> Thanks,
> Jeewantha.
>
> --
> Jeewantha Dharmaparakrama
> Software Engineer; WSO2, Inc.; http://wso2.com/
> Phone : (+94) 774726790
> Skype : prasad.jeewantha
> LinkedIn : http://www.linkedin.com/in/jeewanthad
> Twitter: https://twitter.com/jeewamp
> Blog: http://jeewanthad.blogspot.com/
>



-- 
Nandika Jayawardana
Senior Technical Lead
WSO2 Inc ; http://wso2.com
lean.enterprise.middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to