SOAP webservices - question on headers

27 views
Skip to first unread message

Nicolas Micoud

unread,
Aug 2, 2022, 7:26:54 AMAug 2
to iDempiere
Hi,

I was having a meeting this morning with a customer which is using WS and he points me to something strange/not consistent in headers of responses.

nb: maybe is correct - I'm not a WS expert, just asking with my own words.

Each line of responses is starting with a prefix which is reused in the namespace <xxx:yyy xmlns:xxx="http://...">
Those prefixes can be 'soap', 'ns1'


But on queryData / WindowTabData, is missing :

2022-08-02 13_20_59-SoapUI 5.6.0.png

Line is
 <WindowTabData NumRows="56" TotalRows="56" StartRow="0" xmlns="http://idempiere.org/ADInterface/1_0">

Shouldn't it be:
 <xxx:WindowTabData NumRows="56" TotalRows="56" StartRow="0" xmlns:xxx="http://idempiere.org/ADInterface/1_0">
 

Same with createData/StandardResponse

2022-08-02 13_19_52-SoapUI 5.6.0.png

Is
<StandardResponse IsError="true" xmlns="http://idempiere.org/ADInterface/1_0">

Shouldn't it be:
<xxx:StandardResponse IsError="true" xmlns:xxx="http://idempiere.org/ADInterface/1_0">


As I said, maybe is normal, just asking why the syntax is different.

Thanks,

Nicolas
Reply all
Reply to author
Forward
0 new messages