Mike_R
(Mike R)
October 31, 2014, 11:57am
1
Hi all,
I’ve a SOAP-MSG Document Literal interface.
I create a mock in SOAP-UI
Here’s my problem :
With SOAP-UI, i send a SOAP Request directly to the mocked-interface. It works. I get the SOAP Reponse.
Now, i send the same request by a wM flow service and it fails. I get this error : [ISS.0088.9135] A WMDocument Exception was thrown in the server, usually because an XML block was not well-formed
In SOAP-UI, I delete the SOAP framework from my mock response : same error
Then, I set the mock response in an XML file and it works.
I really don’t understand what is the problem…
That’s the first time I get this issue. Usually, I don’t get any issue…
lance_k
(lance k)
October 31, 2014, 12:23pm
2
Hi Mike,
Please provide the sample soap request format that you are trying.
Mike_R
(Mike R)
October 31, 2014, 1:57pm
3
Here’s the sample request :
<soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/ ” xmlns:s0=“urn:sap-com:document:sap:rfc:functions”>
soapenv:Header/
soapenv:Body
s0:Z_SD_CONSULT_PARC_COMM
<I_ENTETE>
</I_ENTETE>
<I_MSG>
000
</I_MSG>
<I_PARC>
0000-00-00
0000-00-00
0000-00-00
0000-00-00
0000-00-00
0000-00-00
<ZZNUM_EXTA></ZZNUM_EXTA>
<ZZNOM_EXTA></ZZNOM_EXTA>
<ZZRUE_EXTA></ZZRUE_EXTA>
<ZZCDPOST_EXTA></ZZCDPOST_EXTA>
<ZZLOC_EXTA></ZZLOC_EXTA>
<ZZNUM_EXTB></ZZNUM_EXTB>
<ZZNOM_EXTB></ZZNOM_EXTB>
<ZZRUE_EXTB></ZZRUE_EXTB>
<ZZCDPOST_EXTB></ZZCDPOST_EXTB>
<ZZLOC_EXTB></ZZLOC_EXTB>
<NUMPREST_OPT01></NUMPREST_OPT01>
<CDART_OPT01></CDART_OPT01>
<LIBART_OPT01></LIBART_OPT01>
<NUMPREST_OPT02></NUMPREST_OPT02>
<CDART_OPT02></CDART_OPT02>
<LIBART_OPT02></LIBART_OPT02>
<NUMPREST_OPT03></NUMPREST_OPT03>
<CDART_OPT03></CDART_OPT03>
<LIBART_OPT03></LIBART_OPT03>
<NUMPREST_OPT04></NUMPREST_OPT04>
<CDART_OPT04></CDART_OPT04>
<LIBART_OPT04></LIBART_OPT04>
<NUMPREST_OPT05></NUMPREST_OPT05>
<CDART_OPT05></CDART_OPT05>
<LIBART_OPT05></LIBART_OPT05>
<NUMPREST_OPT06></NUMPREST_OPT06>
<CDART_OPT06></CDART_OPT06>
<LIBART_OPT06></LIBART_OPT06>
<NUMPREST_OPT07></NUMPREST_OPT07>
<CDART_OPT07></CDART_OPT07>
<LIBART_OPT07></LIBART_OPT07>
<NUMPREST_OPT08></NUMPREST_OPT08>
<CDART_OPT08></CDART_OPT08>
<LIBART_OPT08></LIBART_OPT08>
<NUMPREST_OPT09></NUMPREST_OPT09>
<CDART_OPT09></CDART_OPT09>
<LIBART_OPT09></LIBART_OPT09>
<NUMPREST_OPT10></NUMPREST_OPT10>
<CDART_OPT10></CDART_OPT10>
<LIBART_OPT10></LIBART_OPT10>
<ZZCODE_SAV></ZZCODE_SAV>
<ZZNOM_SAV></ZZNOM_SAV>
0000-00-00
</I_PARC>
<S_PARC>
<ZZKUNNR_EXTA></ZZKUNNR_EXTA>
0000-00-00
</S_PARC>
</s0:Z_SD_CONSULT_PARC_COMM>
</soapenv:Body>
</soapenv:Envelope>