I realised my mistake in the beans file. I have now only one bean and the
xbean file looks like this:

<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0";
xmlns:second="http://servicemix.apache.org/samples/wsdl_first";>

    <cxfse:endpoint>
        <cxfse:pojo>
            <bean
class="org.apache.servicemix.samples.wsdl_first.PersonImpl">
                <property name="second">
                    <cxfse:proxy context="#context"
service="http://servicemix.apache.org/samples/wsdl_first/SecondService";
type="org.apache.servicemix.samples.wsdl_first.Second" />
                </property>
            </bean>
            
        </cxfse:pojo>
    </cxfse:endpoint>

</beans>


What I am getting now is a "cannot find wsdl:binding operation info for
getSecond method". 

I think it has to do with me reimplementing the Second interface in the
first service package. Should I provide the interface by just the wsdl, and
is this possible?

Thank you.




larjohn wrote:
> 
> 
> and the corresponding xbean :
> 
> <beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0";
> xmlns:second="http://servicemix.apache.org/samples/wsdl_first";>
> 
> 
> <bean class="org.apache.servicemix.samples.wsdl_first.PersonImpl">
>        <property name="second">
>           <cxfse:proxy service="second:SecondService"
> type="org.apache.servicemix.samples.wsdl_first.Second" />
>        </property>
>      </bean>
> 
> 
>     <cxfse:endpoint>
>         <cxfse:pojo>
>           <bean
> class="org.apache.servicemix.samples.wsdl_first.PersonImpl" />
>         </cxfse:pojo>
>     </cxfse:endpoint>
> 
> </beans>
> 

-- 
View this message in context: 
http://www.nabble.com/CXF-BC-response-tp21587850p21626546.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to