Hi Horst,<div><br></div><div>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 "<span style="background-color:white;font-family:'Times New Roman',serif;font-size:12pt">application/x-www-form-urlencoded</span>", which is incorrect for HTTP POST request with xml payload (see <a href="http://en.wikipedia.org/wiki/POST_(HTTP)">http://en.wikipedia.org/wiki/POST_(HTTP)</a>). The consequence is that some web server (e.g. Tomcat) may cut off the actual data payload when request pass through. </div>
<div><br></div><div>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?</div><div><br></div><div>Thanks.</div><div>Yingqi</div>
<div><br><div class="gmail_quote">On Wed, Feb 15, 2012 at 6:52 AM, Augusttown <span dir="ltr"><<a href="mailto:anakintang@gmail.com">anakintang@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Hi Horst,<div><br></div><div>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.</div>

<div><br></div><div>Is there a way to downgrade to 0.6.16?</div><div><br></div><div>Thanks,</div></div><div>Yingqi<br><br><div class="gmail_quote"><div class="im">On Wed, Feb 15, 2012 at 4:39 AM, Horst Düster [via OSGeo.org] <span dir="ltr"><<a href="http://user/SendEmail.jtp?type=node&node=4472440&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>></span> wrote:<br>

</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div>

        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. 
<br><br>Regards
<br>Horst 
<br><br></div></div>Augusttown <<a href="http://user/SendEmail.jtp?type=node&node=4471951&i=0" rel="nofollow" link="external" target="_blank">[hidden email]</a>> schrieb:
<br><div><div><div class="im"><div><div><div><br>>Hi all,
<br>>
<br>>I was using QGIS WPS plugin 0.6.16 for the past a few months against one
<br>>particular WPS process, and everything seems to be fine. But today I upgrade
<br>>to WPS client 0.75 and the Execute starts to fail on every process. 
<br>>
<br>>I captured the <Execute> POST request and the xml part seems to be the same.
<br>>So my question is whether there is any change in the way the plugin sends
<br>>out the POST request (content-type etc.?). 
<br>>
<br>>BTW, is there a way I switch back to QGIS WPS plugin 0.6.16 somehow?
<br>>
<br>>Thanks
<br>>
<br>>--
<br>>View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/QGIS-WPS-Plugin-0-75-fails-to-execute-while-0-6-16-worked-tp4470622p4470622.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1560.n6.nabble.com/QGIS-WPS-Plugin-0-75-fails-to-execute-while-0-6-16-worked-tp4470622p4470622.html</a></div>

>Sent from the Quantum GIS - User mailing list archive at Nabble.com.
<br>>_______________________________________________
<br>>Qgis-user mailing list
<br></div></div></div>><a href="http://user/SendEmail.jtp?type=node&node=4471951&i=1" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br>><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></div></div><div class="im"><div><br>_______________________________________________
<br>Qgis-user mailing list
<br><a href="http://user/SendEmail.jtp?type=node&node=4471951&i=2" rel="nofollow" link="external" target="_blank">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
        
        <br>
        <br>
        <hr noshade size="1" color="#cccccc">
        </div><div style="color:#444;font:12px tahoma,geneva,helvetica,arial,sans-serif"><div>
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                </div><a href="http://osgeo-org.1560.n6.nabble.com/QGIS-WPS-Plugin-0-75-fails-to-execute-while-0-6-16-worked-tp4470622p4471951.html" rel="nofollow" link="external" target="_blank">http://osgeo-org.1560.n6.nabble.com/QGIS-WPS-Plugin-0-75-fails-to-execute-while-0-6-16-worked-tp4470622p4471951.html</a>
        </div><div><div>
        <div style="color:#666;font:11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                
                To unsubscribe from QGIS WPS Plugin 0.75 fails to execute while 0.6.16 worked, <a rel="nofollow" link="external">click here</a>.<br>

                <a href="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" rel="nofollow" style="font:9px serif" link="external" target="_blank">NAML</a>
        </div></div></div></div></blockquote></div><br></div>

        
<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/QGIS-WPS-Plugin-0-75-fails-to-execute-while-0-6-16-worked-tp4470622p4472440.html" target="_blank">Re: QGIS WPS Plugin 0.75 fails to execute while 0.6.16 worked</a><div class="HOEnZb">
<div class="h5"><br>
Sent from the <a href="http://osgeo-org.1560.n6.nabble.com/Quantum-GIS-User-f4125267.html" target="_blank">Quantum GIS - User mailing list archive</a> at Nabble.com.<br></div></div><br>_______________________________________________<br>

Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br></blockquote></div><br></div>