[Users] EIP BC as router : condition does not work...?

cpipo petals-components at ebmwebsourcing.com
Wed Mar 16 10:26:05 CET 2011


Hi,
    
    I have a EIP router with the following condition : 

			<eip:router-condition>name(/*)='getSatellitePositions'</eip:router-condition>

  This condition is always evaluated to false even when the getSatellitePositions is called ! As the binding is in document mode, I think that the XML message root is 'getSatellitePositions"... May I wrong ? 

So my question is : what should be the condition so that the message shall be routed according to the operation called.

Thanks a lot.

The incoming message is described by : 

    <!-- WSDL MESSAGES -->
    <wsdl:message name="getSatellitePositionsRequest">
        <wsdl:part name="parameters" element="lava:scenario"/>
    </wsdl:message>
    <wsdl:message name="getSatellitePositionsResponse">
        <wsdl:part name="parameters" element="lava:swaths-results"/>
    </wsdl:message>    

    <wsdl:portType name="CmsCcsPortType">
        <wsdl:operation name="getSatellitePositions">
            <wsdl:input message="cmsccs:getSatellitePositionsRequest"/>
            <wsdl:output message="cmsccs:getSatellitePositionsResponse"/>
        </wsdl:operation>
        <wsdl:operation name="getTmsData">
            <wsdl:input message="cmsccs:getTmsDataRequest"/>
            <wsdl:output message="cmsccs:getTmsDataResponse"/>
        </wsdl:operation>
    </wsdl:portType>

    <wsdl:binding name="CmsCcsSoap12Binding" type="cmsccs:CmsCcsPortType">
        <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
        <wsdl:operation name="getSatellitePositions">
            <soap12:operation soapAction="getSatellitePositions"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>        
        <wsdl:operation name="getTmsData">
            <soap12:operation soapAction="getTmsData"/>
            <wsdl:input>
                <soap12:body use="literal"/>
            </wsdl:input>
            <wsdl:output>
                <soap12:body use="literal"/>
            </wsdl:output>
        </wsdl:operation>
    </wsdl:binding>




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=393#393

-------------------- m2f --------------------


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum-list.petalslink.org/pipermail/users/attachments/20110316/90392783/attachment.htm>


More information about the Users mailing list