Hi Experts,
We have given a WSDL for SIebel team, when they post a record, Namespace is embedded for all the fields(Marked as red)
They tried to post using SOAP UI and got the below error: , Is there any way to handle this type of message with namespace for all fields.
Request from Siebel / SOAP UI to PI :
===================
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<MT_ContractPaymentSumamry_Req_out xmlns="http://contractpaymentsummary">
<ContractPaymentSummary xmlns="http://contractpaymentsummary">
<AccountNum xmlns="http://contractpaymentsummary">224122</AccountNum>
</ContractPaymentSummary></MT_ContractPaymentSumamry_Req_out>
</SOAP-ENV:Body></SOAP-ENV:Envelope>
Response:
========
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
<text>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Application:EXCEPTION_DURING_EXECUTE:
at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:663)
PI XML file from Test Message in Message Mapping:(works fine)
======================================
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_ContractPaymentSumamry_Req_out xmlns:ns0="http://contractpaymentsummary">
<ContractPaymentSummary>
<AccountNum>2013</AccountNum>
</ContractPaymentSummary>
</ns0:MT_ContractPaymentSumamry_Req_out>
Thanks,
Baskar