cancel
Showing results for 
Search instead for 
Did you mean: 

Incorrect namespace coming in Messages

Former Member
0 Kudos

I have outbound and inbound scenarios in my PI.

The namespaces of the outbound interfaces are like this urn:XYZ/OUT/I012 like that

However suddenly I see the names of some outbound interfaces from ECC to third party change like this urn:XYZ/IN/I012

How can it change like that?

When I check the message mapping tab, click test and check source message type structure, I see the same mismatch again. The namespace name says OUT but it is IN in Message mapping

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Radhika,

This may have happened because you have copied object message type .

Check the XML Namespace in the Message Type that you are using.

Note: Namespace enterd over here may be coming in the Test Tab of Message Mapping.

Pradeep

Answers (4)

Answers (4)

Former Member
0 Kudos

Please check the message type and look whats there under XML Namespace. It should be same as your desired namespace if not then change it.

iaki_vila
Active Contributor
0 Kudos

Hi Radhika,

Have you create your services interfaces according that namespaces?, could recheck the schemas associated to the output and input message in the outbound and inbound messages?

Are you using a message mapping?, if you use a mapping a mismatch namespace can raise a exception if you can generate the root element.

If you can’t find why the namespace are no changing you can use an XSLT or a bean to change it:

XSL: http://wiki.scn.sap.com/wiki/display/XI/Changing+Namespaces+and+the+encoding+format+of+XML

Bean: http://scn.sap.com/community/pi-and-soa-middleware/blog/2014/10/10/replace-namespace-in-pi-by-xmlano...

Hope this helps

Regards.

azharshaikh
Active Contributor
0 Kudos

Hi Radhika,

Maybe the changes are not reflecting.....Did you try to re-generate your Outbound Proxy and check if it helps?

Regards,
Azhar

former_member191435
Contributor
0 Kudos

hi,

Can you please share your message type screenshot...

check ur xmlnamespace as per suggested by pradeep

Thanks,

Sreenivas