Defender
15 years agoContributor
SoapUI does excess request
Hi! I'm using SoapUI 3.6.1 Pro version but I have no rights to create topics on Pro board so try to describe it here, besides this defect concerns both Pro & free version.
The situation is following:
I create the PUT request for Soap service
PUT http://<site>/client_01/ HTTP/1.1
Accept-Encoding: gzip,deflate
Accept: application/xml
Content-Type: application/vnd.digitalriver.shopper+xml;version=1.0
User-Agent: Jakarta Commons-HttpClient/3.1
Host: shpappdev001.c010.digitalriverws.net:8080
Content-Length: 0
The response returned is
HTTP/1.1 409 Conflict
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Length: 1028
Date: Tue, 19 Apr 2011 14:04:48 GMT
<html><head><title>Apache Tomcat/6.0.20 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 409 - Conflict</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Conflict</u></p><p><b>description</b> <u>The request could not be completed due to a conflict with the current state of the resource (Conflict).</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.20</h3></body></html>
which is normal. But additionally SaveDialog opens. After I save the data, the Open URL dialog appears proposing to open the link:
jar:file:///C:/User/<current_user>/JxBrowser/xulrunner-windows-version-1.9.2/chrome/toolkit.jar!/content/mozapps/downloads/downloads.xul
The data saved to file looks like follows:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:client xmlns:ns2="http://www.digitalriver.com/resource/schema/shopper/v1.0"><links><link rel="self" uri="<site>/client_01/"/><link rel="create-segment" uri="<site>/client_01/"/></links></ns2:client>
<site> is site name where the service is located;
<current_user> is current logged user name.
The problem partially fixes in such manner: we need to insert something into a request body. But this fix works for PUT request only. The GET request for the same service also returns OpenFileDialog together with correct response. But I cannot add a body into a GET request.
SoapUI (free & Pro) 3.5.1 does not have this problem.
Could you please help me with this?
The situation is following:
I create the PUT request for Soap service
PUT http://<site>/client_01/ HTTP/1.1
Accept-Encoding: gzip,deflate
Accept: application/xml
Content-Type: application/vnd.digitalriver.shopper+xml;version=1.0
User-Agent: Jakarta Commons-HttpClient/3.1
Host: shpappdev001.c010.digitalriverws.net:8080
Content-Length: 0
The response returned is
HTTP/1.1 409 Conflict
Server: Apache-Coyote/1.1
Content-Type: text/html;charset=utf-8
Content-Length: 1028
Date: Tue, 19 Apr 2011 14:04:48 GMT
<html><head><title>Apache Tomcat/6.0.20 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 409 - Conflict</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>Conflict</u></p><p><b>description</b> <u>The request could not be completed due to a conflict with the current state of the resource (Conflict).</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.20</h3></body></html>
which is normal. But additionally SaveDialog opens. After I save the data, the Open URL dialog appears proposing to open the link:
jar:file:///C:/User/<current_user>/JxBrowser/xulrunner-windows-version-1.9.2/chrome/toolkit.jar!/content/mozapps/downloads/downloads.xul
The data saved to file looks like follows:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ns2:client xmlns:ns2="http://www.digitalriver.com/resource/schema/shopper/v1.0"><links><link rel="self" uri="<site>/client_01/"/><link rel="create-segment" uri="<site>/client_01/"/></links></ns2:client>
<site> is site name where the service is located;
<current_user> is current logged user name.
The problem partially fixes in such manner: we need to insert something into a request body. But this fix works for PUT request only. The GET request for the same service also returns OpenFileDialog together with correct response. But I cannot add a body into a GET request.
SoapUI (free & Pro) 3.5.1 does not have this problem.
Could you please help me with this?