Hi,
I’m testing this wsdl attributes to control some fields :
<xsd:simpleType name="montantPrelevement">
<xsd:restriction base="xsd:double">
<xsd:minExclusive value="0.0"/>
</xsd:restriction>
</xsd:simpleType>
and if I test the associated web service with a wrong value (-5), I obtain this normal message :
<detail>
<webM:exception xmlns:webM="http://www.webMethods.com/2001/10/soap/encoding">
<webM:className>com.wm.app.b2b.server.ServiceException</webM:className>
<webM:message xml:lang="">[ISC.0049.9005] Input validation for service 'mifMetier.synchrone.work.sunshine:createPrelevementImmediat' failed: '/prelevementImmediat/montantPrelevement DT-009 [ISC.0082.9492] Value is less than or equal to minExclusive'</webM:message>
</webM:exception>
</detail>
Is this any way to map this error with a customized error (like below), to avoid these technical informations shared to third party ?
<error>
<code>1</code>
<msg>The prelevementImmediat/montantPrelevement value is incorrect (positive numeric value required)</msg>
</error>
Maybe the Content Type can be me mapped to user messages somewhere in webMethods ?
Regards