I have a web service that doesn't do much more than translate a common api
into one of two different legacy api's.   I'd like to serve the WSDL's from
Mule (2.2.1)... When I startup the server it hangs and I see this in the log
file.

08/06/09
10:03:27:599|main|INFO|org.mule.component.DefaultJavaComponent|Starting:
org.mule.component.DefaultJavaComponent component for: SedaService{test}|
08/06/09 10:03:27:606|main|INFO|mule.transport.cxf.CxfConnector|Registering
listener: test on endpointUri: https://localhost:8448/spi/test|

Below is my configuration.  Any help would be greatly appreciated.

        <model name="spi">        
        <service name="test">
            <inbound>
                <cxf:inbound-endpoint
address="https://localhost:8448/spi/test"; 
                wsdlLocation="/spi/SingleProgrammingInterface_1_0.wsdl"
               
namespace="http://www.foo.com/single-programming-interface/SinglePaymentInterface_1_0";
                serviceName="SingleProgrammingInterfaceServicePorts"
                proxy="true"
                
                synchronous="true">
                </cxf:inbound-endpoint>
            </inbound>
            <component>
                        <spring-object bean="payCaptureDataLookupComponent"/>
            </component>
            <outbound>
                                <filtering-router>
                                        <jms:outbound-endpoint 
queue="paypalQueue" synchronous="false">
                                                <transformers>
                                                        
<mule-xml:xslt-transformer xsl-file="/spi/paypal.xsl">
                                                                
<mule-xml:context-property key="RandomUUID"
value="#[mule:message.header(RandomUUID)]"/>
                                                                
<mule-xml:context-property key="PayPalProperty"
value="#[mule:message.header(PayPalProperty)]"/>
                                                        
</mule-xml:xslt-transformer>
                                                        
<byte-array-to-object-transformer/>
                                                        
<jms:object-to-jmsmessage-transformer/>
                                                </transformers>
                                        </jms:outbound-endpoint>
                                        <expression-filter evaluator="xpath"
expression="//PaymentService[1]/text() = 'Paypal'"/>
                                </filtering-router>                  
                                <filtering-router>
                                        <jms:outbound-endpoint 
queue="paycaptureQueue" synchronous="false">
                                                <transformers>
                                                        
<mule-xml:xslt-transformer xsl-file="/spi/paycapture.xsl">
                                                                
<mule-xml:context-property key="RandomUUID"
value="#[mule:message.header(RandomUUID)]"/>
                                                                
<mule-xml:context-property key="FooProperty"
value="#[mule:message.header(BillMeLaterProperty)]"/>
                                                        
</mule-xml:xslt-transformer>
                                                        
<byte-array-to-object-transformer/>
                                                        
<jms:object-to-jmsmessage-transformer/>
                                                </transformers> 
                                        </jms:outbound-endpoint>
                                        <expression-filter evaluator="xpath"
expression="//PaymentService[1]/text() = 'Foo'"/>
                                </filtering-router>                  
            </outbound>         
        </service> 

Thanks,

John



-- 
View this message in context: 
http://www.nabble.com/Using-CXF-Endpoint-to-expose-WSDL-tp24847672p24847672.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to