Welcome Guest, Not a member yet? Register   Sign In
XML Web Service
#1

[eluser]BaRzO[/eluser]
Hi All,

I have to create a web service my device requesting a xml request and needs a response how can I do this...
Thanks for any help...

Request XML:
----------------------------
Code:
<request type="1">
  <device_id>TERMINAL_ID</device_id>
</request>

Response XML:
----------------------------
Code:
<response type="1" menu_setpassword="1" ask_password="1">
  <Product Code="101" Name="Product 1" Price="23.5"/>
  <Product Code="102" Name="Product 2" Price="1.50"/>
  <Product Code="103" Name="Product 3" Price="15.75"/>
  <Product Code="104" Name="Product 4" Price="0.45"/>
  <Product Code="105" Name="Product 5" Price="1.35"/>
</response>
#2

[eluser]BaRzO[/eluser]
I have solved my problem with http post method do not waste your time to use soap Smile ask other side to use http post etc.




Theme © iAndrew 2016 - Forum software by © MyBB