[wsf-c-dev] [jira] Commented: (WSFPERL-5) echo_client doesn't
validate payload
Chintana Wilamuna (JIRA)
jira at wso2.org
Sun Apr 27 06:13:17 PDT 2008
[ https://wso2.org/jira/browse/WSFPERL-5?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16395#action_16395 ]
Chintana Wilamuna commented on WSFPERL-5:
-----------------------------------------
Hm.. Should it be done at the specific scripting layer or from the WSF/C layer? I just tried the same thing (without </ns1:echoString>) from WSF/PHP and it worked ok.
> 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