Yep it should be possible.
On Fri, Jul 25, 2014 at 6:06 PM, Chamila De Alwis <[email protected]> wrote: > Hi Harsha, > > Shouldn't SoaUI be able to access the service with credentials? > > > On Fri, Jul 25, 2014 at 5:56 PM, Harsha Kumara <[email protected]> wrote: > >> Seems like your stub is not authenticated properly. Best thing you can do >> is to double check it with the tutorial. If you do as mention in the >> tutorial, it should be work. >> >> >> On Fri, Jul 25, 2014 at 5:42 PM, Chamila De Alwis <[email protected]> >> wrote: >> >>> Hi, >>> >>> I followed the tutorial[1] on creating a Carbon Component but after >>> deploying the artifacts the backend service is blocked from being accessed. >>> >>> When I click on the Students link on the Carbon server management >>> Console following stacktrace is shown. >>> >>> >>> >>> >>> *[2014-07-25 13:16:37,141] ERROR {java.lang.Class} - System failed to >>> authorize.nulljava.lang.NullPointerException at >>> org.wso2.carbon.server.admin.module.handler.AuthorizationHandler.doAuthorization(AuthorizationHandler.java:119) >>> * >>> >>> SoapUI displays the following response from the service. >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> *<soapenv:Envelope >>> xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope >>> <http://www.w3.org/2003/05/soap-envelope>"> <soapenv:Body> >>> <soapenv:Fault xmlns:axis2ns1="http://www.w3.org/2003/05/soap-envelope >>> <http://www.w3.org/2003/05/soap-envelope>"> <soapenv:Code> >>> <soapenv:Value>axis2ns1:50978</soapenv:Value> >>> </soapenv:Code> <soapenv:Reason> <soapenv:Text >>> xml:lang="en-US">System failed to authorize.</soapenv:Text> >>> </soapenv:Reason> <soapenv:Detail/> </soapenv:Fault> >>> </soapenv:Body></soapenv:Envelope>* >>> >>> >>> >>> What is the cause of this? >>> >>> [1] - >>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/ >>> >>> >>> -- >>> >>> Regards, >>> Chamila de Alwis >>> Software Engineer | WSO2 | +94772207163 >>> Blog: code.chamiladealwis.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 >> > > > > -- > > Regards, > Chamila de Alwis > Software Engineer | WSO2 | +94772207163 > Blog: code.chamiladealwis.com > > > -- 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
