cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Message Mapping Namespaces in CPI

rene_kramp1
Participant
10,167

Hello Experts,

I'm trying to map an XML to an IDoc. I downloaded the wanted IDoc as WSDL
(SE38 SRT_IDOC_WSDL_NS) and uploaded it on CPI. The Message Mapping automatically assign the namespace ns1 on the right hand side.

I want to get rid of the ns1 in CPI. The out-of-the-box iflows don't have these namespaces.

Any idea?

WSDL Payload

<?xml version="1.0" encoding="utf-8"?>
<wsdl:definitions
	targetNamespace="urn:sap-com:document:sap:idoc:soap:messages"
	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
	xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/"
	xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
	xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
	xmlns:tns="urn:sap-com:document:sap:idoc:soap:messages">
 <wsdl:documentation>[...]

Best regards

René S

View Entire Topic
Sriprasadsbhat
Active Contributor

Hello Rene,

May be you can edit the WSDL using Notepad ++ and change the below highlighted value to "unqualified" it might work if you dont want to write XSLT.

Regards,

Sriprasad Shivaram Bhat

rene_kramp1
Participant
0 Likes

Thanks this helps me a lot! Is there any disadvantages I should mind?