Http request dummy - need help

WarazzWarazz Member Posts: 15
edited 2012-08-19 in NAV Three Tier
Hi,

Apart from the .net interop possibility, which works, I do need to send a http POST request.
I have been trying hours and hours now, but I don't succeed...

Could anyone be so kind to provide the code for following info:

Request:

POST /Perfion/GetData.asmx/ExecuteQuery HTTP/1.1
Host: my.perfion
Content-Type: application/x-www-form-urlencoded
Content-Length: length

query=string


Reponse:

HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://perfion.com/">string</string&gt;

Comments

  • kopijakopija Member Posts: 4
    You can adapt my code in following post regarding problems with connecting to remote web service:
    http://www.mibuso.com/forum/viewtopic.php?f=32&t=54407&start=0

    I Still haven't been able to pass through error 415 calling even simplest web service from within NAV with .NET interoperability so I presume you'll bump into same problem.
    If you resolve this issue please post answer.
Sign In or Register to comment.