Hi Hasanthi, As Thusitha said this error occurs when you are using wrong username and password in scoutv3.properties file. Use admin for both username and password and try to run the sample.
Thanks! Best regards, On Tue, Feb 10, 2015 at 12:37 PM, Thusitha Thilina Dayaratne < thusit...@wso2.com> wrote: > Hi Hasanthi, > > Did you edit the scoutv3.properties file with username and password? > Thanks > > On Mon, Feb 9, 2015 at 2:15 PM, Hasanthi Purnima Dissanayake < > hasan...@wso2.com> wrote: > >> Hi, >> I tried to execute the jaxr sample according to the instructions of wso2 >> documentation. (https://docs.wso2.com/display/Governance453/JAXR+Sample) >> . But it throws following exception, >> >> [java] javax.xml.registry.JAXRException: >> org.apache.ws.scout.transport.TransportException: >> java.lang.reflect.InvocationTargetException >> [java] at >> org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.getAuthToken(BusinessLifeCycleManagerV3Impl.java:918) >> [java] at >> org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.executeOperation(BusinessLifeCycleManagerV3Impl.java:566) >> [java] at >> org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.saveOrganizations(BusinessLifeCycleManagerV3Impl.java:421) >> [java] at >> org.wso2.registry.jaxr.sample.JaxrServiceTest.createOrganization(JaxrServiceTest.java:166) >> [java] at >> org.wso2.registry.jaxr.sample.JaxrServiceTest.publishFindAndDeleteService(JaxrServiceTest.java:50) >> [java] at >> org.wso2.registry.jaxr.sample.RegistryJaxrClient.main(RegistryJaxrClient.java:49) >> [java] Caused by: org.apache.ws.scout.transport.TransportException: >> java.lang.reflect.InvocationTargetException >> [java] at >> org.apache.ws.scout.registry.RegistryV3Impl.execute(RegistryV3Impl.java:256) >> [java] at >> org.apache.ws.scout.registry.RegistryV3Impl.getAuthToken(RegistryV3Impl.java:857) >> [java] at >> org.apache.ws.scout.registry.BusinessLifeCycleManagerV3Impl.getAuthToken(BusinessLifeCycleManagerV3Impl.java:914) >> [java] ... 5 more >> [java] Caused by: org.apache.ws.scout.transport.TransportException: >> java.lang.reflect.InvocationTargetException >> [java] at >> org.apache.ws.scout.transport.LocalTransport.send(LocalTransport.java:83) >> [java] at >> org.apache.ws.scout.registry.RegistryV3Impl.execute(RegistryV3Impl.java:254) >> [java] ... 7 more >> [java] Caused by: java.lang.reflect.InvocationTargetException >> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >> Method) >> [java] at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> [java] at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> [java] at java.lang.reflect.Method.invoke(Method.java:597) >> [java] at >> org.apache.ws.scout.transport.LocalTransport.send(LocalTransport.java:74) >> [java] ... 8 more >> [java] Caused by: java.lang.reflect.InvocationTargetException >> [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native >> Method) >> [java] at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> [java] at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> [java] at java.lang.reflect.Method.invoke(Method.java:597) >> [java] at >> org.apache.juddi.v3.client.transport.wrapper.RequestHandler.invoke(RequestHandler.java:176) >> [java] at >> org.apache.juddi.v3.client.transport.wrapper.UDDISecurityService.secure(UDDISecurityService.java:91) >> [java] ... 13 more >> [java] Caused by: javax.xml.ws.soap.SOAPFaultException: Invalid >> credentials were passed >> [java] at >> com.sun.xml.internal.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:178) >> [java] at >> com.sun.xml.internal.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:119) >> [java] at >> com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:108) >> [java] at >> com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78) >> [java] at >> com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107) >> [java] at com.sun.proxy.$Proxy40.getAuthToken(Unknown Source) >> [java] ... 19 more >> >> Is there anything to configure, other than the instructions given? >> >> Thanks and regards, >> >> Hasanthi Dissanayake >> >> Software Engineer | WSO2 >> >> E: hasan...@wso2.com <nirosh...@wso2.com> >> M :0718407133| http://wso2.com <http://wso2.com/> >> >> _______________________________________________ >> Dev mailing list >> Dev@wso2.org >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Thusitha Dayaratne > Software Engineer | WSO2 Inc > > Email thusit...@wso2.com > Mobile +94712756809 > Blog alokayasoya.blogspot.com > > > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- Chathura Priyankara Software Engineer | WSO2 Inc. Mobile : +94718795340 Blog : www.codeoncloud.blogspot.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev