Skip to Content
0
Former Member
Jul 18, 2011 at 06:58 AM

SOAP Fault <text> gets truncated

169 Views

Dear all,

i have a custom java mapping, in which i thorw a StreamTransformationException when an error

occurs.

However, whereas in SXMB_MONI i trace the exception like this:

cvc-maxLength-valid: Value 'fewfwffewfewfwefewfwefw' with length = '23' is not facet-valid with respect to maxLength '15' for type 'null'

in SOAPUI i only get this truncated message:

<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP:Body>
      <SOAP:Fault>
         <faultcode>SOAP:Server</faultcode>
         <faultstring>System Error</faultstring>
         <detail>
            <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
               <context></context>
               <code>MAPPING.STREAM_TRANSFORMATION_EX</code>
               <text>*Vom Anwendungs-Mappingprogramm com/xxx/pi/mapping/validation/CustomValida~ wurde eine StreamTransformationException ausgelöst. cvc-maxLength-valid: Value '22307555555' with len~</*text>
            </s:SystemError>
         </detail>
      </SOAP:Fault>
   </SOAP:Body>
</SOAP:Envelope>

Is there a trick to get the whole message ? What length has the field ?