mibuso.com

Microsoft Business Solutions online community
It is currently Thu May 23, 2013 3:44 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Http request dummy - need help
PostPosted: Sat Aug 18, 2012 2:52 pm 
Offline

Joined: Sat Aug 18, 2012 2:40 pm
Posts: 7
Country: Belgium (be)
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>


Top
 Profile E-mail  
 
 Post subject: Re: Http request dummy - need help
PostPosted: Sun Aug 19, 2012 10:59 pm 
Offline

Joined: Wed Aug 15, 2012 2:41 pm
Posts: 3
Country: Serbia (rs)
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.


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Johannes Nielsen and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: