OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: [ebxml-dev] Problem in using ConnectionFactory


Hi Surity,

This question is related to the Open Source Implementation for a JAXR 
provider for ebXML Registry within the ebxmlrr project. Please post 
questions related to the ebxmlrr project at teh ebxmlrr-tech mailing 
list. YOu can subscribe to the ebxmlrr-tech list at:

    http://lists.sourceforge.net/mailman/listinfo/ebxmlrr-tech

-- 
Regards,
Farrukh



Surity Garg wrote:

> Hi,
> I am working to set up an ebxml registry client.
> But I guess I am missing some configuration.
>
> My test class for the client has a method like this
> ----------------------------------------------------------------
> public void setUp() throws Exception {
>
>           // Default registry URL
>         String qmUrl = "http://localhost:8080/ebxmlrr/registry";;
>
>          System.setProperty("javax.xml.registry.ConnectionFactoryClass",
>                            
> "com.sun.xml.registry.ebxml.ConnectionFactoryImpl");
>
>         ConnectionFactory connFactory = ConnectionFactory.newInstance();
>           Properties  props = new Properties();
>         props.put("javax.xml.registry.queryManagerURL", qmUrl);
>         connFactory.setProperties(props);
>         Connection connection = connFactory.createConnection();
>         RegistryService service = connection.getRegistryService();
>         bqm = service.getBusinessQueryManager();
>         lcm = service.getBusinessLifeCycleManager();
>         dqm = service.getDeclarativeQueryManager();
>     }
> ----------------------------------------------------------------
> But when i run this java class, it gives me the following error:
>
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> javax/xml/registry/ConnectionFactory
>         at 
> com.sun.ebxml.registry.interfaces.soap.testRep.setUp(testRep.java:94)
>         at 
> com.sun.ebxml.registry.interfaces.soap.testRep.main(testRep.java:68)
>
> What do I need to solve this?
>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Search: Match: Sort by:
Words: | Help


Powered by eList eXpress LLC