NetTalk Central

Author Topic: web services parameters QUEUE - what changed from 8.41 to 8.44  (Read 3489 times)

JZL

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • Email
I have a web-services that is working fine in 8.41 after I compiling it to 8.44 something changed.

The input parameters is looking God! I am logging the input to disc in embed "prime parameters" se below

NOW - my input queue is empty in 8.44

Anyone have an ideas WHAT HAVE CHANGED since 8.41  

/Jesper


user-name              (string)
password               (string)    
WebOrderHeader    (group)
WebOrderDetail      (queue)
WebOrderMessage (queue)

imput description http://adm.sharks.dk:83/SMARTCASH?AddJournal


<?xml version="1.0" encoding="UTF-8"?>
-<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
-<soap:Body>
-<AddJournal>
<brugernavn>Mads</brugernavn>
<kodeord>sharks2014</kodeord>
-<WebOrderHead>
<WEBHEADER_WEBSUPPLIERID>SOFTdk</WEBHEADER_WEBSUPPLIERID>
<WEBHEADER_WAITERGUID>FIYKCYREFJFCCLXF</WEBHEADER_WAITERGUID>
<WEBHEADER_ORDERTODEPARTMENT>2</WEBHEADER_ORDERTODEPARTMENT>
<WEBHEADER_TABELGUID>YCUFIKFEUULIHPBU</WEBHEADER_TABELGUID>
</WebOrderHead>
<WebOrderDetail>
<WEBDETAILS_ITEMLINENO>0</WEBDETAILS_ITEMLINENO>
<WEBDETAILS_ITEMTYPE>4</WEBDETAILS_ITEMTYPE>
<WEBDETAILS_ITEMNO>6101</WEBDETAILS_ITEMNO>
<WEBDETAILS_ITEMTEXT>L.A. Prime</WEBDETAILS_ITEMTEXT>
<WEBDETAILS_ITEMQUANTITY>1</WEBDETAILS_ITEMQUANTITY>
<WEBDETAILS_ITEMPRICE>129</WEBDETAILS_ITEMPRICE>
<WEBDETAILS_ITEMDISCOUNT>0</WEBDETAILS_ITEMDISCOUNT>
<WEBDETAILS_ITEMTOTAL>129</WEBDETAILS_ITEMTOTAL>
<WEBDETAILS_ITEMNOTE/>
<WEBDETAILS_ITEMKITCHENORDER>0</WEBDETAILS_ITEMKITCHENORDER>
</WebOrderDetail>-
<WebOrderDetail>
<WEBDETAILS_ITEMLINENO>1</WEBDETAILS_ITEMLINENO>
<WEBDETAILS_ITEMTYPE>102</WEBDETAILS_ITEMTYPE>
<WEBDETAILS_ITEMNO>6203</WEBDETAILS_ITEMNO>
<WEBDETAILS_ITEMTEXT>Hakkebøf</WEBDETAILS_ITEMTEXT>
<WEBDETAILS_ITEMQUANTITY>1</WEBDETAILS_ITEMQUANTITY>
<WEBDETAILS_ITEMPRICE>0</WEBDETAILS_ITEMPRICE>
<WEBDETAILS_ITEMDISCOUNT>0</WEBDETAILS_ITEMDISCOUNT>
<WEBDETAILS_ITEMTOTAL>0</WEBDETAILS_ITEMTOTAL>
<WEBDETAILS_ITEMNOTE/>
<WEBDETAILS_ITEMKITCHENORDER>0</WEBDETAILS_ITEMKITCHENORDER>
</WebOrderDetail>
<WebOrderDetail>
><WEBDETAILS_ITEMLINENO>2</WEBDETAILS_ITEMLINEN>
<WEBDETAILS_ITEMTYPE>102</WEBDETAILS_ITEMTYPE>
<WEBDETAILS_ITEMNO>6205</WEBDETAILS_ITEMNO>
<WEBDETAILS_ITEMTEXT>Dip Mayonaise m/ Krydderurter</WEBDETAILS_ITEMTEXT>
<WEBDETAILS_ITEMQUANTITY>1</WEBDETAILS_ITEMQUANTITY>
<WEBDETAILS_ITEMPRICE>0</WEBDETAILS_ITEMPRICE>
<WEBDETAILS_ITEMDISCOUNT>0</WEBDETAILS_ITEMDISCOUNT>
<WEBDETAILS_ITEMTOTAL>0</WEBDETAILS_ITEMTOTAL>
<WEBDETAILS_ITEMNOTE/>
<WEBDETAILS_ITEMKITCHENORDER>0</WEBDETAILS_ITEMKITCHENORDER>
</WebOrderDetail>
<WebOrderDetail>
<WEBDETAILS_ITEMLINENO>3</WEBDETAILS_ITEMLINENO>
<WEBDETAILS_ITEMTYPE>102</WEBDETAILS_ITEMTYPE><WEBDETAILS_ITEMNO>6210</WEBDETAILS_ITEMNO>
<WEBDETAILS_ITEMTEXT>pommes frites </WEBDETAILS_ITEMTEXT>
<WEBDETAILS_ITEMQUANTITY>1</WEBDETAILS_ITEMQUANTITY>
<WEBDETAILS_ITEMPRICE>0</WEBDETAILS_ITEMPRICE>
<WEBDETAILS_ITEMDISCOUNT>0</WEBDETAILS_ITEMDISCOUNT>
<WEBDETAILS_ITEMTOTAL>0</WEBDETAILS_ITEMTOTAL>
<WEBDETAILS_ITEMNOTE/>
<WEBDETAILS_ITEMKITCHENORDER>0</WEBDETAILS_ITEMKITCHENORDER>
</WebOrderDetail>
</AddJournal>
</soap:Body>
</soap:Envelope>
« Last Edit: April 15, 2015, 04:14:08 AM by JZL »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: web services parameters QUEUE - what chenaged from 8.41 to 8.44
« Reply #1 on: April 14, 2015, 09:32:37 PM »
Hi Jesper,

a couple of questions;

>> NOW - my input queue is empty in 8.44

Which queue is empty? Specifically are the other parameters ok?

Also - you'll notice that the queues do not have a "wrapper" around them. ie you have

<WebOrderDetail>...</WebOrderDetail>
<WebOrderDetail>...</WebOrderDetail>


and not something like

<WebOrderDetails>
  <WebOrderDetail>...</WebOrderDetail>
  <WebOrderDetail>...</WebOrderDetail>
</WebOrderDetails>


that's ok , but NEtTalk recently got the ability to do it both ways. The new setting is "Generate List Boundary Tag".
If this is now on, and it was off before, then you might get the effect you are seeing, so check that.

cheers
Bruce


JZL

  • Newbie
  • *
  • Posts: 17
    • View Profile
    • Email
Re: web services parameters QUEUE - what chenaged from 8.41 to 8.44
« Reply #2 on: April 14, 2015, 11:21:07 PM »
Hi Bruce

Which queue is empty - my queue that receive the WeborderDetails
   
Yes the other parameters are OK  brugernavn,kodeord and WeborderHeader

"Generate List Boundary Tag"  is NOT checked  and the TAG <WebOrderDetail_list> is NOT generate according to you Web Service Documentation.

/Jesper
 

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: web services parameters QUEUE - what changed from 8.41 to 8.44
« Reply #3 on: May 06, 2015, 05:54:52 AM »
Hi Jesper,

I think it is fixed in 8.46, but if not please send me an example so I can duplicate....

cheers
Bruce