When you deploy the SCA composite with services configured with web service binding, please make sure tuscany-host-webapp-*.jar (but not tuscany-host-jetty-*.jar) is packaged in the WEB-INF/lib folder.

Thanks,
Raymond

--------------------------------------------------
From: "Sandeep Raman" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2008 8:21 PM
To: <[email protected]>
Subject: Running component service on a running port.

Hi,

I want a component service run on an already running servlet container.

I have done the following:

1) Have created two web services and exposed them on port 8080 in tomcat
2) I create then a composite of the two services and create then a service
of the composite as follows:

   <component name="TwoWSService">
       <implementation.java class="eai.Compose" />
       <service name="Compose" requires = "integrity">
          <binding.ws uri="http://localhost:8080/TwoWSService"; />
       </service>
   </component>

3) Now if i try to run this composite , the tuscany prepares to start its
jettyserver and there is a conflict as the port is already in use. Now i
dont want to start it on a new port.

4) The only option as per the samples is to create a webapp with an
initial page (JSP/HTML) and go to the context path after deploying. The
JSP does open , but in my case i will require the wsdl to open as soon as
i touch the URL:
http://localhost:8080/TwoWSService?wsdl

How can it be done this way. Can you guide me.

Regards
Sandeep Raman.
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to