[Qgis-user] Re: QGIS WPS Plugin 0.75 fails to execute while 0.6.16 worked
Yingqi Tang
anakintang at gmail.com
Wed Feb 15 16:03:18 PST 2012
Hi Horst,
I think I find out the difference. After the upgrade (to 0.74/0.75), when
WPS plugin sends <Execute> request with xml in the data payload, it sets
the HTTP POST request content-type header to be "
application/x-www-form-urlencoded", which is incorrect for HTTP POST
request with xml payload (see http://en.wikipedia.org/wiki/POST_(HTTP)).
The consequence is that some web server (e.g. Tomcat) may cut off the
actual data payload when request pass through.
I understand that may be a behavior of core QGIS library, but do you think
it's something you can control in your code? Or does it make sense to you?
Thanks.
Yingqi
On Wed, Feb 15, 2012 at 6:52 AM, Augusttown <anakintang at gmail.com> wrote:
> Hi Horst,
>
> Thanks for the response. So far I can't really tell what exactly was wrong
> because I was able to capture POST <Execute> request sent by the plugin ,
> which looks fine. But the same WPS server just wasn't able to see the xml
> body of the POST request. So that was why I asked for 0.6.16 to figure out
> what has been changed in the request.
>
> Is there a way to downgrade to 0.6.16?
>
> Thanks,
> Yingqi
>
> On Wed, Feb 15, 2012 at 4:39 AM, Horst Düster [via OSGeo.org] <[hidden
> email] <http://user/SendEmail.jtp?type=node&node=4472440&i=0>> wrote:
>
>> The plugin has changed in the way that it uses the
>> QgsNetworkAccessManager to connect to the Internet instead of QHttp. Please
>> send the error message and the version of QT.
>>
>> Regards
>> Horst
>>
>> Augusttown <[hidden email]<http://user/SendEmail.jtp?type=node&node=4471951&i=0>>
>> schrieb:
>>
>> >Hi all,
>> >
>> >I was using QGIS WPS plugin 0.6.16 for the past a few months against one
>> >particular WPS process, and everything seems to be fine. But today I
>> upgrade
>> >to WPS client 0.75 and the Execute starts to fail on every process.
>> >
>> >I captured the <Execute> POST request and the xml part seems to be the
>> same.
>> >So my question is whether there is any change in the way the plugin
>> sends
>> >out the POST request (content-type etc.?).
>> >
>> >BTW, is there a way I switch back to QGIS WPS plugin 0.6.16 somehow?
>> >
>> >Thanks
>> >
>> >--
>> >View this message in context:
>> http://osgeo-org.1560.n6.nabble.com/QGIS-WPS-Plugin-0-75-fails-to-execute-while-0-6-16-worked-tp4470622p4470622.html
>> >Sent from the Quantum GIS - User mailing list archive at Nabble.com.
>> >_______________________________________________
>> >Qgis-user mailing list
>> >[hidden email] <http://user/SendEmail.jtp?type=node&node=4471951&i=1>
>> >http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> _______________________________________________
>> Qgis-user mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=4471951&i=2>
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>> ------------------------------
>> If you reply to this email, your message will be added to the
>> discussion below:
>>
>> http://osgeo-org.1560.n6.nabble.com/QGIS-WPS-Plugin-0-75-fails-to-execute-while-0-6-16-worked-tp4470622p4471951.html
>> To unsubscribe from QGIS WPS Plugin 0.75 fails to execute while 0.6.16
>> worked, click here.
>> NAML<http://osgeo-org.1560.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>>
>
>
> ------------------------------
> View this message in context: Re: QGIS WPS Plugin 0.75 fails to execute
> while 0.6.16 worked<http://osgeo-org.1560.n6.nabble.com/QGIS-WPS-Plugin-0-75-fails-to-execute-while-0-6-16-worked-tp4470622p4472440.html>
>
> Sent from the Quantum GIS - User mailing list archive<http://osgeo-org.1560.n6.nabble.com/Quantum-GIS-User-f4125267.html>at Nabble.com.
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120215/94b266c4/attachment.html>
More information about the Qgis-user
mailing list