Hi all ,

 

Sorry for the previous mail which has gone by accident.

I try to validate the incoming message soap content against a schema.

 

Each service has its own schema.

 

The schema is described within service's wsdl.

 

<proxy name="MyService">

            <target inSequence="in" outSequence="out" />

<publishWSDL uri="file:wsdl/myWSDL.wsdl" />

</proxy>

 

<sequence name="in" onError="faultHandler">

   <validate source="???">

    <schema key="???"/>

        <on-fail>

            <makefault>

                <code value="tns:Receiver"

 
xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>

                <reason expression="get-property('ERROR_MESSAGE')" />

            </makefault>

            <property name="RESPONSE" value="true"/>            

        </on-fail>

    </validate>

                        

.

</sequence>

 

 

I need some help to know how to configure my validate mediator in order to 

use as a schema a part of the wsdl document declared in the service's proxy

 

Thanks in advance,

 

Regards,

 

Jeremy

Reply via email to