Debugging a Protocol Network Error
General and Desktop
4
Posts
3
Posters
4.1k
Views
1
Watching
-
Hi, I'm trying to write a simple test app to post a SOAP request.
I'm using the example code from the QNetworkAccessManagerDoc.
http://doc.qt.nokia.com/latest/qnetworkaccessmanager.html#detailsI set the header's content type to text/html and utf-8. I set accept to application/soap+xml
I call manager->post(request, xmlQString.toUtf8())The error I keep getting back is 301: "the Network Access API cannot honor the request because the protocol is not known"
http://doc.qt.nokia.com/latest/qnetworkreply.html#NetworkError-enumCan anyone give me hints about what could be causing that type of error? For example, header, content or connection?
-
Thanks for suggestion reactive!
I had the same issue and adding @http://@ helped me.