Nope Luciano, My composite file is not located inside the webapp. The requirement is to be able to load it from an external url.
I can read the the contents from the url just fine. (BTW - Is there are method there to just pass the contents of the composite file...?) Thanks, Radu Marian CRM Services Architecture Team Bank of America, Charlotte NC (980) 387-6233 [EMAIL PROTECTED] -----Original Message----- From: Luciano Resende [mailto:[EMAIL PROTECTED] Sent: Monday, April 21, 2008 4:01 PM To: [email protected] Subject: Re: loading composite from url Is your composite file actually available inside your webapp ? How about if you initialize the SCADomain like : SCADomain.newInstance("Test.composite"); On Mon, Apr 21, 2008 at 12:40 PM, Marian, Radu <[EMAIL PROTECTED]> wrote: > Adriano, > > The initial post was corrupted by the Outlook html behavior. So now > using plain text instead... > > In my code I am saying: > > > > > SCADomain.newInstance("http://localhost:7001/some-web-app/Test.composi > te > "); > > And it produces the ServiceRuntimeException error (listed below). > > Thanks for your prompt reply. > > > Radu Marian > CRM Services Architecture Team > Bank of America, Charlotte NC > (980) 387-6233 > [EMAIL PROTECTED] > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Adriano Crestani > Sent: Monday, April 21, 2008 3:32 PM > To: [email protected] > Subject: Re: loading composite from url > > Hi Marian, > > Shouldn`t be > > > SCADomain.newInstance("http://localhost:7001/some-web-app/Test.composi > te > "); > > instead of > > > SCADomain.newInstance("http://localhost:7001/some-web-app/Test.composi > te <http://localhost:7001/some-web-app/Test.composite> "); > > ? > > On Mon, Apr 21, 2008 at 3:03 PM, Marian, Radu > <[EMAIL PROTECTED]> > wrote: > > > Hello, > > > > How do I achieve the following: > > scaDomain = > > > SCADomain.newInstance("http://localhost:7001/some-web-app/Test.composi > > te <http://localhost:7001/some-web-app/Test.composite> "); > > > > > I am getting the following error: > > > > org.osoa.sca.ServiceRuntimeException: > > org.osoa.sca.ServiceRuntimeException: > > java.lang.IllegalArgumentException: Composite not found: > > > http://localhost:7001/crms-domain/metadata/transformation.service/cons > > um er.facade/v001/ConsumerFacade.composite > > > <http://localhost:7001/crms-domain/metadata/transformation.service/c > > on > > su mer.facade/v001/ConsumerFacade.composite> > > > at > > > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADo > > ma > > in.java:264) > > at > > > org.apache.tuscany.sca.host.embedded.SCADomain.newInstance(SCADomain.j > > av > > a:69) > > at DomainTestCase.setUp(DomainTestCase.java:41) > > ... > > Caused by: org.osoa.sca.ServiceRuntimeException: > > java.lang.IllegalArgumentException: Composite not found: > > > http://localhost:7001/crms-domain/metadata/transformation.service/cons > > um er.facade/v001/ConsumerFacade.composite > > > <http://localhost:7001/crms-domain/metadata/transformation.service/c > > on > > su mer.facade/v001/ConsumerFacade.composite> > > > at > > > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(Defa > > ul > > tSCADomain.java:117) > > at > > > org.apache.tuscany.sca.host.embedded.SCADomain.createNewInstance(SCADo > > ma > > in.java:230) > > ... 16 more > > Caused by: java.lang.IllegalArgumentException: Composite not found: > > > http://localhost:7001/crms-domain/metadata/transformation.service/cons > > um er.facade/v001/ConsumerFacade.composite > > > <http://localhost:7001/crms-domain/metadata/transformation.service/c > > on > > su mer.facade/v001/ConsumerFacade.composite> > > at > > > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.getContribu > > > ti > > onLocation(DefaultSCADomain.java:299) > > at > > > org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.<init>(Defa > > ul > > tSCADomain.java:111) > > ... 17 more > > > > Regards, > > Radu Marian > > CRM Services Architecture Team > > Bank of America, Charlotte NC > > (980) 387-6233 > > [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
