Hi,
Thanks it worked
cheers, Håkon
2008/5/22 Freeman Fang <[EMAIL PROTECTED]>:
> Hi,
> You can configure it for your cxf bc consumer since the consumer play the
> role as a server for external client to validate the incoming soap message
> against the schema defined in the wsdl
> To do it, you need write a spring configuration, let's say
> schema-validation.xml for cxf bus, something like
> <jaxws:endpoint name="{your_endpoint_namespace}your_endpoint"
> wsdlLocation="wsdl/hello_world.wsdl"
> createdFromAPI="true">
> <jaxws:properties>
> <entry key="schema-validation-enabled" value="true" />
> </jaxws:properties>
> </jaxws:endpoint>
> Then add busCfg="schema-validation.xml" for your cxf bc consumer
>
> Regards
> Freeman
>
>
>
> Håkon Sagehaug wrote:
>
>> hi
>>
>> I've got a cxf provider and a cxf consumer, that calls an external ws, and
>> was wondering if there is a possibility to set either the consumer or
>> provider to validate the incoming soap message against a provided schema.
>>
>> Looked at the cxf page and servicemix, but could not find anything.
>>
>> cheers, Håkon
>>
>>
>>
>
>
--
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)