Hi Mahesh, Seems like you missing configuring the trustore when access the admin service. Please find [1] which will help you to complete your client.
[1] - http://hi-my-world.blogspot.com/2014/04/how-to-write-client-to-invoke-wso2.html Thanks, Harsha On Mon, Sep 22, 2014 at 5:02 PM, Mahesh Chinthaka <[email protected]> wrote: > Hi everyone, > > Currently I'm trying to invoke TenantMgtAdminService in API Manager using > my own java client. > Since its an admin service; I did the authentication part as well. But > when running the client i get following error > > INFO: Unable to sendViaPost to url[ > https://10.100.5.156:9443/services/TenantMgtAdminService.TenantMgtAdminServiceHttpsSoap11Endpoint > ] > org.apache.axis2.AxisFault: java.lang.RuntimeException: Unexpected error: > java.security.InvalidAlgorithmParameterException: the trustAnchors > parameter must be non-empty > > > I think its something wrong in my authorization part. What are " > trustAnchors"?? > > Any help please ?? > > Thanks. > -- > *Mahesh Chinthaka Vidanagama* | Software Engineer > WSO2, Inc | lean. enterprise. middleware. > #20, Palm Grove, Colombo 03, Sri Lanka > Mobile: +94 71 63 63 083 | Work: +94 112 145 345 > Email: [email protected] <[email protected]> | Web: www.wso2.com > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Harsha Kumara Software Engineer, WSO2 Inc. Mobile: +94775505618 Blog:harshcreationz.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
