Hi,
When you deploy cxf bc into servlet server, you need modify
locationURI as follows
locationURI="/whateveryouwant"
then you can access the wsdl from
http://localhost:8080/apache-servicemix-web-3.3.1/services/whateveryouwant?wsdl
I assume your servlet container use 8080 port and you need use smx 3.3.1
Freeman
On 2009-9-29, at 上午12:44, angel.ortiz wrote:
Hi,
I want to install a Service Assembly in a physical server using the
ServiceMix Console (war) deployed in JBoss.
My SA receives SOAP requests, does some tasks and in the end sends
an Email.
CXF BC (consumer) ---> [other SUs] ---> Mail SU
The problem I have is when I deploy the SA I cannot find the WSDL of
my CXF
BC. I tested my SA locally using this configuration and works just
fine:
CXF BC:
<cxfbc:consumer wsdl="classpath:SMXMailSender.wsdl"
service="ge:SMXMailSender"
useJBIWrapper="true"
synchronous="true"
useSOAPEnvelope="true"
targetService="ge:MailSenderServiceEngine"
timeout="10000" />
WSDL:
<wsdl:service name="SMXMailSender">
<wsdl:port binding="tns:SMXMailSenderSOAP"
name="SMXMailSenderSOAP">
<soap:address
location="http://localhost:8192/SMXMailSender/" />
</wsdl:port>
</wsdl:service>
When I try to deploy this to my server I have to change the
localhost value
with something else, right? I first tried with the server IP
address, then
with localhost and finally with 0.0.0.0, these didn't seem to work
because I
can't find the wsdl file anywhere... it seems like jetty is not
exposing the
WSDL in the address specified in the WSDL.
Do you know what is the right way to do this?
Thanks and regards,
A noob
--
View this message in context:
http://www.nabble.com/Installing-a-CXF-BC-in-a-server-with-fixed-IP-address-tp25648807p25648807.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.
--
Freeman Fang
------------------------
Open Source SOA: http://fusesource.com