cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI 7.1 Integrated configuration - Missing namespace

iaki_vila
Active Contributor
0 Kudos

Hi,

I've noticed when i used the Integration Configuration and i review the Runtime Workbench-Message Monitoring-Adapter Engine-Database-Details-Message Content the payload has missed the namespace in the root element,

How could i solve this problem?

Regards.

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

I solved it by myself. The option in RWB where you could see the message content shows the message without namespaces, but it isn't true, you could see the correct message in NWA: SOA Managment->Monitoring->PI Message Monitoring, here the message has the namespaces.

My problem wasn't the namespace issue, i used the Message Mapping constan function "Sender" to generate a node. This function works correctly with the classical processing but with the integrated configuration don't works fine.

Thanks to try to help me.

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

do you have the namespace in Message Type ?

did it have the namespace in the old config ?

Regards,

Michal Krawczyk

iaki_vila
Active Contributor
0 Kudos

Hi Michal,

Im using a SOAP communication channel in the Integration configuration object.

I'm using an external definition schema for the sender:

 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://oesia.es/cursoPI" targetNamespace="http://oesia.es/cursoPI" elementFormDefault="qualified" version="1.0">
....

I send this message:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<SOAP-ENV:Body>
<ns0:IM_CURSOPI xmlns:ns0="http://oesia.es/cursoPI">
   <ns0:CIUDAD>
....

But in the payload message cotent in RWB i find this:


<ns0:IM_CURSOPI>
   <ns0:CIUDAD>
....

The namespace is missing, Why?

Regards.

former_member184681
Active Contributor
0 Kudos

Hi Iñaki,

There is an adapter module that allows you to anonymize the XML from namespaces. See details in this blog:

Make sure that you are NOT using it in your communication channel

Hope this helps,

Grzegorz

iaki_vila
Active Contributor
0 Kudos

Hi Grzegorz,

In the modules tab in SOAP sender adapter i only have the predefined module:

1 sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean

Regards.

Former Member
0 Kudos

Hi,

The namespace is probably defined at a higher level in the XI message that's why you don't see it there (remember xi messages are basically soap messages with attachments).

Have you checked the final message the one delivered to the end system if it contains it ?

Regards,

Horia