Skip to Content
avatar image
Former Member

Incorrect namespace coming in Messages

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 08, 2015 at 07:05 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 08, 2015 at 07:16 AM

    hi,

    Can you please share your message type screenshot...

    check ur xmlnamespace as per suggested by pradeep

    Thanks,

    Sreenivas

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 08, 2015 at 07:22 AM

    Hi Radhika,

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

    Regards,
    Azhar

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 08, 2015 at 07:25 AM

    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-xmlanonymizer-bean-in-communication-channel-example-step-by-step

    Hope this helps

    Regards.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08, 2015 at 07:55 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded