Thank you Guillaume,

Having do so with the following servicemix.xml modified, I've the same
incorrect behavior.
And when I use the URL http://localhost:8194/Service/?.wsdl from a browser,
I get 
the message "No wsdl is available for this service" and the URL is changed
to http://localhost:8194/Service/main.wsdl.

Have you any idea ?



<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns:sm="http://servicemix.apache.org/config/1.0";
xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0";
xmlns:http="http://servicemix.apache.org/http/1.0";
xmlns:test="http://servicemix.org/test/";>
        <!-- Le conteneur JBI -->
        <sm:container id="jbi">
                <!-- property name="useMBeanServer" value="true"/>
                <property name="createMBeanServer" value="true"/>
                <property name="dumpStats" value="true"/>
                <property name="statsInterval" value="10"/ -->
                <sm:activationSpecs>
                
                        <sm:activationSpec>
                                <sm:component>
                                        <jsr181:component>
                                                <jsr181:endpoints>
                                                        <jsr181:endpoint 
pojoClass="TestService" annotations="none"
service="test:Hello" endpoint="testService"/>
                                                </jsr181:endpoints>
                                        </jsr181:component>
                                </sm:component>
                        </sm:activationSpec>
                        
                        <sm:activationSpec>
                                <sm:component>
                                        <http:component>
                                                <http:endpoints>
                                                        <http:endpoint 
service="test:Hello" endpoint="testService"
role="consumer" defaultOperation="echo"
locationURI="http://localhost:8194/Service/";
defaultMep="http://www.w3.org/2004/08/wsdl/in-out"; soap="true"/>
                                                </http:endpoints>
                                        </http:component>
                                </sm:component>
                        </sm:activationSpec>
                        
                </sm:activationSpecs>
        </sm:container>
</beans>

--
View this message in context: 
http://www.nabble.com/Getting-WSDL-from-a-JSR181-POJO-Service-t1626322.html#a4408097
Sent from the ServiceMix - User forum at Nabble.com.

Reply via email to