farrellr
Jul 26th, 2006, 11:01 AM
Does anyone have an example of the syntax for PayloadRootQNameEndpointMapping
if I don't want to use the defaultEndpoint syntax (or in addition to)?
My namespace for the request is http://my.com/topicWs
The below syntax doesn't seem to work for me:
<bean id="payloadMapping"
class="org.springframework.ws.soap.endpoint.PayloadRootQN ameEndpointMapping">
<description>
This endpoint mapping uses the qualified name of the payload (body contents) to determine the endpoint for
an incoming message.
</description>
<property name="mappings">
<props>
<prop key="{http://my.com/topicWs}retrieve">
topicRetrieveEndpoint</prop>
<prop key="{http://my.com/topicWs}update">
topicUpdateEndpoint</prop>
</props>
</property>
<property name="defaultEndpoint" ref="topicRetrieveEndpoint" />
<property name="interceptors">
<list>
<ref local="validatingInterceptor"/>
<ref local="loggingInterceptor"/>
</list>
</property>
</bean>
Thanks for any thoughts.
... Rich
if I don't want to use the defaultEndpoint syntax (or in addition to)?
My namespace for the request is http://my.com/topicWs
The below syntax doesn't seem to work for me:
<bean id="payloadMapping"
class="org.springframework.ws.soap.endpoint.PayloadRootQN ameEndpointMapping">
<description>
This endpoint mapping uses the qualified name of the payload (body contents) to determine the endpoint for
an incoming message.
</description>
<property name="mappings">
<props>
<prop key="{http://my.com/topicWs}retrieve">
topicRetrieveEndpoint</prop>
<prop key="{http://my.com/topicWs}update">
topicUpdateEndpoint</prop>
</props>
</property>
<property name="defaultEndpoint" ref="topicRetrieveEndpoint" />
<property name="interceptors">
<list>
<ref local="validatingInterceptor"/>
<ref local="loggingInterceptor"/>
</list>
</property>
</bean>
Thanks for any thoughts.
... Rich