Hi everybody,
This is my scenario: ABAP proxy -> PI -> SOAP
It's a synchronous web service call.
The SOAP call reaches the 3rd party system, but the response causes an issue in PI.
In the WSDL the response is defined like that:
<xsd:complexType name="Response">
<xsd:sequence>
<xsd:element name="errmsg" type="xsd:string"/>
<xsd:element name="return" type="xsd:short"/>
</xsd:sequence>
</xsd:complexType>
But the web service is sending me the following response:
<NS1:Response xmlns:NS1='urn:SapCrew2AimsIntf-ISapCrew2Aims'>
<return xsi:type='xsd:short'>0</return>
<errmsg xsi:type='xsd:string'/>
</NS1:Response>
This leads to the following error in PI:
The prefix "xsi" for attribute "xsi:type" associated with an element type "return" is not bound.
So PI expects "xsd:type" instead of "xsi:type", right?
How can I now solve that issue?
Can I somehow modify the WSDL, so that 'xsi:type' is also accepted?
I've tried to add
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
to the WSDL (in <xsd:schema> </xsd:schema> section), but it doesn't work.
Another solution would be to change the web service, but as it comes from a 3rd party that's not the preferred solution.
Thanks in advance!