Skip to Content
0
Former Member
Jun 23, 2016 at 03:33 PM

Two Message Type Names with Same Name Different Schemas

59 Views

First, I'm relatively new to PI and I'm sure there is an easy way to deal with this. I have to interact with a web service and of course every message is wrapped in a namespace:Envelope. If I define a message type for both the request and the response they are both going to be Envelope but have different schemas. Since the message type has to have the name match the top element, this means I have to have two different Envelopes and that isn't allowed. How do I get around this? Seems like there should be a way to use a message type with a name different that what will be in the actual XML.