[wsf-c-dev] [jira] Updated: (WSFPERL-5) echo_client doesn't
validate payload
Dinesh Premalal (JIRA)
jira at wso2.org
Sat Apr 26 22:49:20 PDT 2008
[ https://wso2.org/jira/browse/WSFPERL-5?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dinesh Premalal updated WSFPERL-5:
----------------------------------
Description:
I tried to send a invalid payload with echo_client.pl
<ns1:echoString xmlns:ns1="http://perl.axis2.org/samples">
<text>Listing Rubbish</text>
with missing </ns1:echoString> , However in wire it has that end tag. I think this occasion should be a fail case though it is working.
wire request
------------------
POST /axis2/services/echo HTTP/1.1
User-Agent: Axis2C/1.3.1
Content-Length: 260
Content-Type: application/soap+xml;charset=UTF-8
Host: 127.0.0.1:9090
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Header></soapenv:Header>
<soapenv:Body>
<ns1:echoString xmlns:ns1="http://perl.axis2.org/samples">
<text>Listing Rubbish</text>
</ns1:echoString>
</soapenv:Body></soapenv:Envelope>
was:
I tried to send a invalid payload with echo_client.pl
<ns1:echoString xmlns:ns1="http://perl.axis2.org/samples">
<text>Listing Rubbish</text>
with missing </ns1:echoString> , However in wire it has that end stream. I think this occasion should be a fail case though it is working.
wire request
------------------
POST /axis2/services/echo HTTP/1.1
User-Agent: Axis2C/1.3.1
Content-Length: 260
Content-Type: application/soap+xml;charset=UTF-8
Host: 127.0.0.1:9090
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Header></soapenv:Header>
<soapenv:Body>
<ns1:echoString xmlns:ns1="http://perl.axis2.org/samples">
<text>Listing Rubbish</text>
</ns1:echoString>
</soapenv:Body></soapenv:Envelope>
> echo_client doesn't validate payload
> ------------------------------------
>
> Key: WSFPERL-5
> URL: https://wso2.org/jira/browse/WSFPERL-5
> Project: WSO2 WSF/Perl
> Issue Type: Bug
> Reporter: Dinesh Premalal
> Assignee: Chintana Wilamuna
>
> I tried to send a invalid payload with echo_client.pl
> <ns1:echoString xmlns:ns1="http://perl.axis2.org/samples">
> <text>Listing Rubbish</text>
> with missing </ns1:echoString> , However in wire it has that end tag. I think this occasion should be a fail case though it is working.
> wire request
> ------------------
> POST /axis2/services/echo HTTP/1.1
> User-Agent: Axis2C/1.3.1
> Content-Length: 260
> Content-Type: application/soap+xml;charset=UTF-8
> Host: 127.0.0.1:9090
> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
> <soapenv:Header></soapenv:Header>
> <soapenv:Body>
> <ns1:echoString xmlns:ns1="http://perl.axis2.org/samples">
> <text>Listing Rubbish</text>
> </ns1:echoString>
> </soapenv:Body></soapenv:Envelope>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Wsf-c-dev
mailing list