On Fri, Apr 25, 2008 at 8:49 AM, ant elder <[EMAIL PROTECTED]> wrote:

> Which release of Tuscany are you using? Later releases should be outputting
> a log message for each service endpoint saying what the endpoint is, eg:
>
> INFO: Added Servlet mapping:
> /sample-helloworld-ws-service-webapp/HelloWorldComponent
>
> The actual endpoint used depends on the binding config, but in your example
> above i think it would be webappContextPath/componentName so
> /dcri-finance-composite/CreateTrialServiceComponent.
>
> We don't yet have a way to change the default port like you suggested, we
> did at one point talk about adding a feature like that but it hasn't
> happened yet...if you say you'd really like it it might encourage someone
> to
> get around to it :)
>
>   ...ant
>
> On Thu, Apr 24, 2008 at 9:48 PM, Abraham Washington <[EMAIL PROTECTED]>
> wrote:
>
> > hi all...
> >
> >   just a quick noobie question.  i have the composite below.  the war
> file
> > deploys fine in tomcat, but I can't figure out where the wsdl location
> would
> > be for the trial and create trial services.
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <composite xmlns="http://www.osoa.org/xmlns/sca/1.0";
> >        xmlns:t="http://tuscany.apache.org/xmlns/sca/1.0";
> >        xmlns:c="http://org.dcri.finance";
> >        name="DCRI-Finance-Composite">
> >    <component name="TrialServiceComponent">
> >        <implementation.java class="org.dcri.finance.TrialServiceImpl">
> >        </implementation.java>
> >        <reference name="createTrialService" >
> >        <interface.java interface="org.dcri.finance.CreateTrialService" />
> >        <binding.ws uri="
> > http://127.0.0.1:8087/dcri-finance-composite/CreateTrialServiceComponent
> > "/>
> >        </reference>
> >    </component>
> >    <component name="CreateTrialServiceComponent">
> >            <implementation.java
> > class="org.dcri.finance.CreateTrialServiceImpl"/>
> >            <service name="CreateTrialService">
> >                    <interface.java
> > interface="org.dcri.finance.CreateTrialService" />
> >                    <binding.ws/>
> >            </service>
> >    </component>
> > </composite>
> >
> > tomcat log:
> > INFO: Deploying web application archive dcri-finance-composite.war
> > Apr 24, 2008 2:35:05 PM
> > org.apache.tuscany.sca.host.webapp.WebAppServletHost initContextPath
> > INFO: initContextPath: /dcri-finance-composite
> >
> >
> > also, I'm curious to know if it's possible to change the port when
> running
> > within eclipse.  I'm testing within eclipse using:
> >
> > SCADomain scaDomain =
> > SCADomain.newInstance("DCRI-Finance-Composite.composite");
> >
> > and I'm wondering if it's possible to change the port 8080.
> >
> > thx - abe
> >
> >
> >
> >
>  
> ____________________________________________________________________________________
> > Be a better friend, newshound, and
> > know-it-all with Yahoo! Mobile.  Try it now.
> > http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> >
>

Hi

re. setting the port number. As ant say's we don't have a mechanism for
specifying a default port but you could set the port in the composite file
for when you are running in Eclipse. For example,

           <service name="CreateTrialService">
                   <interface.java
interface="org.dcri.financeCreateTrialService" />
                   <binding.ws uri=" <http://binding.ws/>
http://127.0.0.1:8087/dcri-finance-composite/CreateTrialServiceComponent"/<http://binding.ws/>
>
           </service>

Regards

Simon

Reply via email to