i changed the code so and now i'm able to bring up the wsdl document when 
starting the SCADomain:SCADomain scaDomain = SCADomain.newInstance(
when i go to the page, 
http://127.0.0.1:8080/TrialServiceComponent/TrialService?wsdl, it comes up 
fine.  but, i tried to deploy the war within jboss and it's not coming up.
deployment from tomcat:
Apr 25, 2008 6:40:24 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive dcri-finance-composite.war
Apr 25, 2008 6:40:35 AM org.apache.tuscany.sca.host.webapp.WebAppServletHost ini
tContextPath
INFO: initContextPath: /dcri-finance-composite
Apr 25, 2008 6:40:38 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8087
here's my composite:<?
        <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://finance.dcri.org"                
name="DCRI-Finance-Composite">            <component 
name="TrialServiceComponent">                <implementation.java 
class="org.dcri.finance.TrialServiceImpl">                
</implementation.java>                <service name="TrialService" 
promote="TrialServiceComponent">                    <binding.ws 
uri="TrialService"/>                </service>                <reference 
name="createTrialService" >                    <interface.java 
interface="org.dcri.finance.CreateTrialService" />                
</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>
i tried going to 
http://127.0.0.1:8087/dcri-finance-composite/TrialServiceComponent/TrialService?wsdl but
 the page doesn't come up.  if i go to http://127.0.0.1:8087/ tomcat shows up 
and if i go to http://127.0.0.1:8087/dcri-finance-composite/ my index.jsp file 
comes up fine.  just can't find the wsdl ?...
thx abe


----- Original Message ----
From: Abraham Washington <[EMAIL PROTECTED]>
To: tuscany-user@ws.apache.org
Sent: Thursday, April 24, 2008 2:48:53 PM
Subject: noobie wsdl location question

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"DCRI-Finance-Composite.composite";);


      
____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ

Reply via email to