You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2018/10/17 13:03:00 UTC

[jira] [Updated] (KARAF-5977) how to see the wsdl of a soap web service which is been deployed in karaf and build using camel-archetype-spring

     [ https://issues.apache.org/jira/browse/KARAF-5977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Freeman Fang updated KARAF-5977:
--------------------------------
    Attachment: org.soap.example.spring.tar

> how to see the wsdl of a soap web service which is been deployed in karaf and build using camel-archetype-spring 
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-5977
>                 URL: https://issues.apache.org/jira/browse/KARAF-5977
>             Project: Karaf
>          Issue Type: Question
>          Components: karaf
>    Affects Versions: 4.2.1
>         Environment: jdk 1.8
> windows 10
>            Reporter: Kavita Sharma
>            Assignee: Freeman Fang
>            Priority: Major
>              Labels: beginner, maven
>         Attachments: org.soap.example.spring.tar
>
>
> I have built a soap web service using camel (camel-archetype-spring ) to deploy in karaf. it is deployed successfully in container and showing the status as active but i am unable to see the wsdl of the service. This is my camel-context.xml :
>  
> {{<beans xmlns="http://www.springframework.org/schema/beans" xmlns:camel="http://camel.apache.org/schema/spring" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:cxf="http://camel.apache.org/schema/cxf" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> <camelContext xmlns="http://camel.apache.org/schema/spring" > <route> <from uri="cxf:bean:serviceExample" /> <log message="in the service"> </log> <setBody> <simple>kavitas</simple> </setBody> </route> </camelContext> <cxf:cxfEndpoint id="serviceExample" address="http://localhost:8181/cxf/service" serviceClass="karaf_soap_example_spring.Service"> </cxf:cxfEndpoint> </beans>}}
>  
> And the service interface is :
> {{@WebService @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) public interface Service { @WebMethod @WebResult String processService (String body); }}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)