You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Tony Dean (JIRA)" <ji...@apache.org> on 2006/10/31 05:23:27 UTC
[jira] Created: (AXIS2-1558) problem receiving escaped XML in
payload
problem receiving escaped XML in payload
----------------------------------------
Key: AXIS2-1558
URL: http://issues.apache.org/jira/browse/AXIS2-1558
Project: Apache Axis 2.0 (Axis2)
Issue Type: Bug
Components: om
Affects Versions: nightly
Environment: 32-bit Windows
Reporter: Tony Dean
The following SOAP is sent from .NET to a org.apache.axis2.receivers.RawXMLINOutMessageReceiver Axis2 endpoint:
POST /axis2/services/myService HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42)
VsDebuggerCausalityData: uIDPoy26NIt2oGVMu3AaAaVfY/EAAAAAtJkH+jUVSkSoJtku7vQ/4n/vP3Qd2/BFs7BqUl9s3GUACAAA
SOAPAction: ""
Host: d4639:8080
Content-Type: multipart/related; type="application/xop+xml"; boundary=--MIMEBoundary632978239375477793; start="<0....@example.org>"; start-info="text/xml; charset=utf-8"
Content-Length: 2018
Expect: 100-continue
Connection: Keep-Alive
----MIMEBoundary632978239375477793
content-id: <0....@example.org>
content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8"
content-transfer-encoding: binary
<soap:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action></wsa:Action><wsa:MessageID>urn:uuid:3190bf5b-4944-4d5f-8362-fed2fdaf294c</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>http://d4639:8080/axis2/services/myService</wsa:To><wsse:Security><wsu:Timestamp
wsu:Id="Timestamp-444822f9-5e62-401d-9537-85bff44e5248"><wsu:Created>2006-10-30T21:52:17Z</wsu:Created><wsu:Expires>2006-10-30T21:57:17Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><copyintoout xmlns="http://tempuri.org/myService"><parameters><parm1><String>hi</String></parm1><parm2><String>value1</String></parm2><parm3><Int>300</Int></parm3><parm4><Int>200</Int></parm4><parm5><Double>14.5</Double></parm5><parm6><Double>100</Double></parm6><parm7><Date>2006-10-13</Date></parm7><parm12><Date>13:30:00.0000000-05:00</Date></parm12><parm14><Color r="3" g="2" b="1" /></parm14><parm15><String>hi15</String></parm15><parm16><IntegerRange minValue="78" maxValue="89" /></parm16><parm17><Date>2006-10-30</Date></parm17></parameters><streams><instream><Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value></instream></streams></copyintoout></soap:Body></soap:Envelope>
----MIMEBoundary632978239375477793--
Notice that .NET escaped the contents of the <Value> element.
<Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
When I receive the contents of the <Value> element at runtime, I see that Axis2 has the following content:
<Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
Notice that < is still escaped, but the > are unescaped. When I ask the Axis2 engine for <Value> children, it thinks that it has none. <TABLE> should be its one and only child element.
Can someone explain what's going on here? Why < remains escaped as < and > are unescaped.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1558) problem receiving escaped XML in
payload
Posted by "Dennis Sosnoski (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1558?page=comments#action_12445886 ]
Dennis Sosnoski commented on AXIS2-1558:
----------------------------------------
I suspect this is not really a problem. If you read the text content of the <Value> element you should get the <TABLE> element text string you're expecting, with no replacements. When you print out the <Value> element as XML, on the other hand (which is what you appear to have done, since you're showing the actual <Value> start and end tags, along with attributes), you're seeing the proper replacement of '<' in content as required by XML. You don't see '>' replaced because that's not required in this case (though some frameworks do it anyway).
Please try reading the text *content* of the <Value> element and see what you get.
> problem receiving escaped XML in payload
> ----------------------------------------
>
> Key: AXIS2-1558
> URL: http://issues.apache.org/jira/browse/AXIS2-1558
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: om
> Affects Versions: nightly
> Environment: 32-bit Windows
> Reporter: Tony Dean
>
> The following SOAP is sent from .NET to a org.apache.axis2.receivers.RawXMLINOutMessageReceiver Axis2 endpoint:
> POST /axis2/services/myService HTTP/1.1
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42)
> VsDebuggerCausalityData: uIDPoy26NIt2oGVMu3AaAaVfY/EAAAAAtJkH+jUVSkSoJtku7vQ/4n/vP3Qd2/BFs7BqUl9s3GUACAAA
> SOAPAction: ""
> Host: d4639:8080
> Content-Type: multipart/related; type="application/xop+xml"; boundary=--MIMEBoundary632978239375477793; start="<0....@example.org>"; start-info="text/xml; charset=utf-8"
> Content-Length: 2018
> Expect: 100-continue
> Connection: Keep-Alive
> ----MIMEBoundary632978239375477793
> content-id: <0....@example.org>
> content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8"
> content-transfer-encoding: binary
> <soap:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action></wsa:Action><wsa:MessageID>urn:uuid:3190bf5b-4944-4d5f-8362-fed2fdaf294c</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>http://d4639:8080/axis2/services/myService</wsa:To><wsse:Security><wsu:Timestamp
> wsu:Id="Timestamp-444822f9-5e62-401d-9537-85bff44e5248"><wsu:Created>2006-10-30T21:52:17Z</wsu:Created><wsu:Expires>2006-10-30T21:57:17Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><copyintoout xmlns="http://tempuri.org/myService"><parameters><parm1><String>hi</String></parm1><parm2><String>value1</String></parm2><parm3><Int>300</Int></parm3><parm4><Int>200</Int></parm4><parm5><Double>14.5</Double></parm5><parm6><Double>100</Double></parm6><parm7><Date>2006-10-13</Date></parm7><parm12><Date>13:30:00.0000000-05:00</Date></parm12><parm14><Color r="3" g="2" b="1" /></parm14><parm15><String>hi15</String></parm15><parm16><IntegerRange minValue="78" maxValue="89" /></parm16><parm17><Date>2006-10-30</Date></parm17></parameters><streams><instream><Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value></instream></streams></copyintoout></soap:Body></soap:Envelope>
> ----MIMEBoundary632978239375477793--
> Notice that .NET escaped the contents of the <Value> element.
> <Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> When I receive the contents of the <Value> element at runtime, I see that Axis2 has the following content:
> <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> Notice that < is still escaped, but the > are unescaped. When I ask the Axis2 engine for <Value> children, it thinks that it has none. <TABLE> should be its one and only child element.
> Can someone explain what's going on here? Why < remains escaped as < and > are unescaped.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1558) problem receiving escaped XML in
payload
Posted by "Tony Dean (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1558?page=comments#action_12445993 ]
Tony Dean commented on AXIS2-1558:
----------------------------------
Upon further investigation I do not think this is an Axis2 bug. Sorry for the alarm.
> problem receiving escaped XML in payload
> ----------------------------------------
>
> Key: AXIS2-1558
> URL: http://issues.apache.org/jira/browse/AXIS2-1558
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: om
> Affects Versions: nightly
> Environment: 32-bit Windows
> Reporter: Tony Dean
>
> The following SOAP is sent from .NET to a org.apache.axis2.receivers.RawXMLINOutMessageReceiver Axis2 endpoint:
> POST /axis2/services/myService HTTP/1.1
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42)
> VsDebuggerCausalityData: uIDPoy26NIt2oGVMu3AaAaVfY/EAAAAAtJkH+jUVSkSoJtku7vQ/4n/vP3Qd2/BFs7BqUl9s3GUACAAA
> SOAPAction: ""
> Host: d4639:8080
> Content-Type: multipart/related; type="application/xop+xml"; boundary=--MIMEBoundary632978239375477793; start="<0....@example.org>"; start-info="text/xml; charset=utf-8"
> Content-Length: 2018
> Expect: 100-continue
> Connection: Keep-Alive
> ----MIMEBoundary632978239375477793
> content-id: <0....@example.org>
> content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8"
> content-transfer-encoding: binary
> <soap:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action></wsa:Action><wsa:MessageID>urn:uuid:3190bf5b-4944-4d5f-8362-fed2fdaf294c</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>http://d4639:8080/axis2/services/myService</wsa:To><wsse:Security><wsu:Timestamp
> wsu:Id="Timestamp-444822f9-5e62-401d-9537-85bff44e5248"><wsu:Created>2006-10-30T21:52:17Z</wsu:Created><wsu:Expires>2006-10-30T21:57:17Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><copyintoout xmlns="http://tempuri.org/myService"><parameters><parm1><String>hi</String></parm1><parm2><String>value1</String></parm2><parm3><Int>300</Int></parm3><parm4><Int>200</Int></parm4><parm5><Double>14.5</Double></parm5><parm6><Double>100</Double></parm6><parm7><Date>2006-10-13</Date></parm7><parm12><Date>13:30:00.0000000-05:00</Date></parm12><parm14><Color r="3" g="2" b="1" /></parm14><parm15><String>hi15</String></parm15><parm16><IntegerRange minValue="78" maxValue="89" /></parm16><parm17><Date>2006-10-30</Date></parm17></parameters><streams><instream><Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value></instream></streams></copyintoout></soap:Body></soap:Envelope>
> ----MIMEBoundary632978239375477793--
> Notice that .NET escaped the contents of the <Value> element.
> <Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> When I receive the contents of the <Value> element at runtime, I see that Axis2 has the following content:
> <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> Notice that < is still escaped, but the > are unescaped. When I ask the Axis2 engine for <Value> children, it thinks that it has none. <TABLE> should be its one and only child element.
> Can someone explain what's going on here? Why < remains escaped as < and > are unescaped.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1558) problem receiving escaped XML in
payload
Posted by "Eran Chinthaka (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/AXIS2-1558?page=comments#action_12445799 ]
Eran Chinthaka commented on AXIS2-1558:
---------------------------------------
When I look at it, I assume this is something to do with woodstox parser. Axiom just contains what it provides. As I said, this is a wild guess and need to look in to this a bit more.
> problem receiving escaped XML in payload
> ----------------------------------------
>
> Key: AXIS2-1558
> URL: http://issues.apache.org/jira/browse/AXIS2-1558
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: om
> Affects Versions: nightly
> Environment: 32-bit Windows
> Reporter: Tony Dean
>
> The following SOAP is sent from .NET to a org.apache.axis2.receivers.RawXMLINOutMessageReceiver Axis2 endpoint:
> POST /axis2/services/myService HTTP/1.1
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42)
> VsDebuggerCausalityData: uIDPoy26NIt2oGVMu3AaAaVfY/EAAAAAtJkH+jUVSkSoJtku7vQ/4n/vP3Qd2/BFs7BqUl9s3GUACAAA
> SOAPAction: ""
> Host: d4639:8080
> Content-Type: multipart/related; type="application/xop+xml"; boundary=--MIMEBoundary632978239375477793; start="<0....@example.org>"; start-info="text/xml; charset=utf-8"
> Content-Length: 2018
> Expect: 100-continue
> Connection: Keep-Alive
> ----MIMEBoundary632978239375477793
> content-id: <0....@example.org>
> content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8"
> content-transfer-encoding: binary
> <soap:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action></wsa:Action><wsa:MessageID>urn:uuid:3190bf5b-4944-4d5f-8362-fed2fdaf294c</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>http://d4639:8080/axis2/services/myService</wsa:To><wsse:Security><wsu:Timestamp
> wsu:Id="Timestamp-444822f9-5e62-401d-9537-85bff44e5248"><wsu:Created>2006-10-30T21:52:17Z</wsu:Created><wsu:Expires>2006-10-30T21:57:17Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><copyintoout xmlns="http://tempuri.org/myService"><parameters><parm1><String>hi</String></parm1><parm2><String>value1</String></parm2><parm3><Int>300</Int></parm3><parm4><Int>200</Int></parm4><parm5><Double>14.5</Double></parm5><parm6><Double>100</Double></parm6><parm7><Date>2006-10-13</Date></parm7><parm12><Date>13:30:00.0000000-05:00</Date></parm12><parm14><Color r="3" g="2" b="1" /></parm14><parm15><String>hi15</String></parm15><parm16><IntegerRange minValue="78" maxValue="89" /></parm16><parm17><Date>2006-10-30</Date></parm17></parameters><streams><instream><Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value></instream></streams></copyintoout></soap:Body></soap:Envelope>
> ----MIMEBoundary632978239375477793--
> Notice that .NET escaped the contents of the <Value> element.
> <Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> When I receive the contents of the <Value> element at runtime, I see that Axis2 has the following content:
> <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> Notice that < is still escaped, but the > are unescaped. When I ask the Axis2 engine for <Value> children, it thinks that it has none. <TABLE> should be its one and only child element.
> Can someone explain what's going on here? Why < remains escaped as < and > are unescaped.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1558) problem receiving escaped XML in
payload
Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12831009#action_12831009 ]
Andreas Veithen commented on AXIS2-1558:
----------------------------------------
Kirill,
There is no problem. Axis2 correctly parses the request. See Dennis' comment for more information.
> problem receiving escaped XML in payload
> ----------------------------------------
>
> Key: AXIS2-1558
> URL: https://issues.apache.org/jira/browse/AXIS2-1558
> Project: Axis2
> Issue Type: Bug
> Components: om
> Affects Versions: nightly
> Environment: 32-bit Windows
> Reporter: Tony Dean
> Assignee: Deepal Jayasinghe
>
> The following SOAP is sent from .NET to a org.apache.axis2.receivers.RawXMLINOutMessageReceiver Axis2 endpoint:
> POST /axis2/services/myService HTTP/1.1
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42)
> VsDebuggerCausalityData: uIDPoy26NIt2oGVMu3AaAaVfY/EAAAAAtJkH+jUVSkSoJtku7vQ/4n/vP3Qd2/BFs7BqUl9s3GUACAAA
> SOAPAction: ""
> Host: d4639:8080
> Content-Type: multipart/related; type="application/xop+xml"; boundary=--MIMEBoundary632978239375477793; start="<0....@example.org>"; start-info="text/xml; charset=utf-8"
> Content-Length: 2018
> Expect: 100-continue
> Connection: Keep-Alive
> ----MIMEBoundary632978239375477793
> content-id: <0....@example.org>
> content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8"
> content-transfer-encoding: binary
> <soap:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action></wsa:Action><wsa:MessageID>urn:uuid:3190bf5b-4944-4d5f-8362-fed2fdaf294c</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>http://d4639:8080/axis2/services/myService</wsa:To><wsse:Security><wsu:Timestamp
> wsu:Id="Timestamp-444822f9-5e62-401d-9537-85bff44e5248"><wsu:Created>2006-10-30T21:52:17Z</wsu:Created><wsu:Expires>2006-10-30T21:57:17Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><copyintoout xmlns="http://tempuri.org/myService"><parameters><parm1><String>hi</String></parm1><parm2><String>value1</String></parm2><parm3><Int>300</Int></parm3><parm4><Int>200</Int></parm4><parm5><Double>14.5</Double></parm5><parm6><Double>100</Double></parm6><parm7><Date>2006-10-13</Date></parm7><parm12><Date>13:30:00.0000000-05:00</Date></parm12><parm14><Color r="3" g="2" b="1" /></parm14><parm15><String>hi15</String></parm15><parm16><IntegerRange minValue="78" maxValue="89" /></parm16><parm17><Date>2006-10-30</Date></parm17></parameters><streams><instream><Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value></instream></streams></copyintoout></soap:Body></soap:Envelope>
> ----MIMEBoundary632978239375477793--
> Notice that .NET escaped the contents of the <Value> element.
> <Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> When I receive the contents of the <Value> element at runtime, I see that Axis2 has the following content:
> <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> Notice that < is still escaped, but the > are unescaped. When I ask the Axis2 engine for <Value> children, it thinks that it has none. <TABLE> should be its one and only child element.
> Can someone explain what's going on here? Why < remains escaped as < and > are unescaped.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (AXIS2-1558) problem receiving escaped XML in
payload
Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davanum Srinivas updated AXIS2-1558:
------------------------------------
Assignee: Deepal Jayasinghe
> problem receiving escaped XML in payload
> ----------------------------------------
>
> Key: AXIS2-1558
> URL: https://issues.apache.org/jira/browse/AXIS2-1558
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: om
> Affects Versions: nightly
> Environment: 32-bit Windows
> Reporter: Tony Dean
> Assigned To: Deepal Jayasinghe
>
> The following SOAP is sent from .NET to a org.apache.axis2.receivers.RawXMLINOutMessageReceiver Axis2 endpoint:
> POST /axis2/services/myService HTTP/1.1
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42)
> VsDebuggerCausalityData: uIDPoy26NIt2oGVMu3AaAaVfY/EAAAAAtJkH+jUVSkSoJtku7vQ/4n/vP3Qd2/BFs7BqUl9s3GUACAAA
> SOAPAction: ""
> Host: d4639:8080
> Content-Type: multipart/related; type="application/xop+xml"; boundary=--MIMEBoundary632978239375477793; start="<0....@example.org>"; start-info="text/xml; charset=utf-8"
> Content-Length: 2018
> Expect: 100-continue
> Connection: Keep-Alive
> ----MIMEBoundary632978239375477793
> content-id: <0....@example.org>
> content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8"
> content-transfer-encoding: binary
> <soap:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action></wsa:Action><wsa:MessageID>urn:uuid:3190bf5b-4944-4d5f-8362-fed2fdaf294c</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>http://d4639:8080/axis2/services/myService</wsa:To><wsse:Security><wsu:Timestamp
> wsu:Id="Timestamp-444822f9-5e62-401d-9537-85bff44e5248"><wsu:Created>2006-10-30T21:52:17Z</wsu:Created><wsu:Expires>2006-10-30T21:57:17Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><copyintoout xmlns="http://tempuri.org/myService"><parameters><parm1><String>hi</String></parm1><parm2><String>value1</String></parm2><parm3><Int>300</Int></parm3><parm4><Int>200</Int></parm4><parm5><Double>14.5</Double></parm5><parm6><Double>100</Double></parm6><parm7><Date>2006-10-13</Date></parm7><parm12><Date>13:30:00.0000000-05:00</Date></parm12><parm14><Color r="3" g="2" b="1" /></parm14><parm15><String>hi15</String></parm15><parm16><IntegerRange minValue="78" maxValue="89" /></parm16><parm17><Date>2006-10-30</Date></parm17></parameters><streams><instream><Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value></instream></streams></copyintoout></soap:Body></soap:Envelope>
> ----MIMEBoundary632978239375477793--
> Notice that .NET escaped the contents of the <Value> element.
> <Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> When I receive the contents of the <Value> element at runtime, I see that Axis2 has the following content:
> <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> Notice that < is still escaped, but the > are unescaped. When I ask the Axis2 engine for <Value> children, it thinks that it has none. <TABLE> should be its one and only child element.
> Can someone explain what's going on here? Why < remains escaped as < and > are unescaped.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-1558) problem receiving escaped XML in
payload
Posted by "Deepal Jayasinghe (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepal Jayasinghe resolved AXIS2-1558.
--------------------------------------
Resolution: Fixed
> problem receiving escaped XML in payload
> ----------------------------------------
>
> Key: AXIS2-1558
> URL: https://issues.apache.org/jira/browse/AXIS2-1558
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: om
> Affects Versions: nightly
> Environment: 32-bit Windows
> Reporter: Tony Dean
> Assigned To: Deepal Jayasinghe
>
> The following SOAP is sent from .NET to a org.apache.axis2.receivers.RawXMLINOutMessageReceiver Axis2 endpoint:
> POST /axis2/services/myService HTTP/1.1
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42)
> VsDebuggerCausalityData: uIDPoy26NIt2oGVMu3AaAaVfY/EAAAAAtJkH+jUVSkSoJtku7vQ/4n/vP3Qd2/BFs7BqUl9s3GUACAAA
> SOAPAction: ""
> Host: d4639:8080
> Content-Type: multipart/related; type="application/xop+xml"; boundary=--MIMEBoundary632978239375477793; start="<0....@example.org>"; start-info="text/xml; charset=utf-8"
> Content-Length: 2018
> Expect: 100-continue
> Connection: Keep-Alive
> ----MIMEBoundary632978239375477793
> content-id: <0....@example.org>
> content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8"
> content-transfer-encoding: binary
> <soap:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action></wsa:Action><wsa:MessageID>urn:uuid:3190bf5b-4944-4d5f-8362-fed2fdaf294c</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>http://d4639:8080/axis2/services/myService</wsa:To><wsse:Security><wsu:Timestamp
> wsu:Id="Timestamp-444822f9-5e62-401d-9537-85bff44e5248"><wsu:Created>2006-10-30T21:52:17Z</wsu:Created><wsu:Expires>2006-10-30T21:57:17Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><copyintoout xmlns="http://tempuri.org/myService"><parameters><parm1><String>hi</String></parm1><parm2><String>value1</String></parm2><parm3><Int>300</Int></parm3><parm4><Int>200</Int></parm4><parm5><Double>14.5</Double></parm5><parm6><Double>100</Double></parm6><parm7><Date>2006-10-13</Date></parm7><parm12><Date>13:30:00.0000000-05:00</Date></parm12><parm14><Color r="3" g="2" b="1" /></parm14><parm15><String>hi15</String></parm15><parm16><IntegerRange minValue="78" maxValue="89" /></parm16><parm17><Date>2006-10-30</Date></parm17></parameters><streams><instream><Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value></instream></streams></copyintoout></soap:Body></soap:Envelope>
> ----MIMEBoundary632978239375477793--
> Notice that .NET escaped the contents of the <Value> element.
> <Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> When I receive the contents of the <Value> element at runtime, I see that Axis2 has the following content:
> <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> Notice that < is still escaped, but the > are unescaped. When I ask the Axis2 engine for <Value> children, it thinks that it has none. <TABLE> should be its one and only child element.
> Can someone explain what's going on here? Why < remains escaped as < and > are unescaped.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Commented: (AXIS2-1558) problem receiving escaped XML in
payload
Posted by "Kirill Lastovirya (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12831005#action_12831005 ]
Kirill Lastovirya commented on AXIS2-1558:
------------------------------------------
What is the status of this problem - we are getting the same stuff. Which version of axiom should we use to get rid of it?
Here is the list of jar files we use
axiom-api-1.2.8.jar
axiom-dom-1.2.8.jar
axiom-impl-1.2.8.jar
axis-ant.jar
axis-schema.jar
axis2-adb-1.5.jar
axis2-adb-codegen-1.5.jar
axis2-ant-plugin-1.5.jar
axis2-clustering-1.5.jar
axis2-codegen-1.5.jar
axis2-corba-1.5.jar
axis2-fastinfoset-1.5.jar
axis2-java2wsdl-1.5.jar
axis2-jaxbri-1.5.jar
axis2-jaxws-1.5.jar
axis2-jibx-1.5.jar
axis2-json-1.5.jar
axis2-kernel-1.4.1.jar
axis2-kernel-1.5.jar
axis2-metadata-1.5.jar
axis2-mtompolicy-1.5.jar
axis2-saaj-1.5.jar
axis2-spring-1.5.jar
axis2-transport-http-1.5.jar
axis2-transport-local-1.5.jar
axis2-xmlbeans-1.5.jar
> problem receiving escaped XML in payload
> ----------------------------------------
>
> Key: AXIS2-1558
> URL: https://issues.apache.org/jira/browse/AXIS2-1558
> Project: Axis2
> Issue Type: Bug
> Components: om
> Affects Versions: nightly
> Environment: 32-bit Windows
> Reporter: Tony Dean
> Assignee: Deepal Jayasinghe
>
> The following SOAP is sent from .NET to a org.apache.axis2.receivers.RawXMLINOutMessageReceiver Axis2 endpoint:
> POST /axis2/services/myService HTTP/1.1
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42)
> VsDebuggerCausalityData: uIDPoy26NIt2oGVMu3AaAaVfY/EAAAAAtJkH+jUVSkSoJtku7vQ/4n/vP3Qd2/BFs7BqUl9s3GUACAAA
> SOAPAction: ""
> Host: d4639:8080
> Content-Type: multipart/related; type="application/xop+xml"; boundary=--MIMEBoundary632978239375477793; start="<0....@example.org>"; start-info="text/xml; charset=utf-8"
> Content-Length: 2018
> Expect: 100-continue
> Connection: Keep-Alive
> ----MIMEBoundary632978239375477793
> content-id: <0....@example.org>
> content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8"
> content-transfer-encoding: binary
> <soap:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action></wsa:Action><wsa:MessageID>urn:uuid:3190bf5b-4944-4d5f-8362-fed2fdaf294c</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>http://d4639:8080/axis2/services/myService</wsa:To><wsse:Security><wsu:Timestamp
> wsu:Id="Timestamp-444822f9-5e62-401d-9537-85bff44e5248"><wsu:Created>2006-10-30T21:52:17Z</wsu:Created><wsu:Expires>2006-10-30T21:57:17Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><copyintoout xmlns="http://tempuri.org/myService"><parameters><parm1><String>hi</String></parm1><parm2><String>value1</String></parm2><parm3><Int>300</Int></parm3><parm4><Int>200</Int></parm4><parm5><Double>14.5</Double></parm5><parm6><Double>100</Double></parm6><parm7><Date>2006-10-13</Date></parm7><parm12><Date>13:30:00.0000000-05:00</Date></parm12><parm14><Color r="3" g="2" b="1" /></parm14><parm15><String>hi15</String></parm15><parm16><IntegerRange minValue="78" maxValue="89" /></parm16><parm17><Date>2006-10-30</Date></parm17></parameters><streams><instream><Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value></instream></streams></copyintoout></soap:Body></soap:Envelope>
> ----MIMEBoundary632978239375477793--
> Notice that .NET escaped the contents of the <Value> element.
> <Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> When I receive the contents of the <Value> element at runtime, I see that Axis2 has the following content:
> <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> Notice that < is still escaped, but the > are unescaped. When I ask the Axis2 engine for <Value> children, it thinks that it has none. <TABLE> should be its one and only child element.
> Can someone explain what's going on here? Why < remains escaped as < and > are unescaped.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (AXIS2-1558) problem receiving escaped XML in
payload
Posted by "Kirill Lastovirya (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12831347#action_12831347 ]
Kirill Lastovirya commented on AXIS2-1558:
------------------------------------------
Just want to leave some sensible resume, at least for stupid guy like me. The idea is that in escaped XML only '<' character is to be escaped. '>' is ok to leave unescaped . This is taken from XML definition. So Axis2 does not want to do excessive work and leave > signs unescaped.
> problem receiving escaped XML in payload
> ----------------------------------------
>
> Key: AXIS2-1558
> URL: https://issues.apache.org/jira/browse/AXIS2-1558
> Project: Axis2
> Issue Type: Bug
> Components: om
> Affects Versions: nightly
> Environment: 32-bit Windows
> Reporter: Tony Dean
> Assignee: Deepal Jayasinghe
>
> The following SOAP is sent from .NET to a org.apache.axis2.receivers.RawXMLINOutMessageReceiver Axis2 endpoint:
> POST /axis2/services/myService HTTP/1.1
> User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 2.0.50727.42)
> VsDebuggerCausalityData: uIDPoy26NIt2oGVMu3AaAaVfY/EAAAAAtJkH+jUVSkSoJtku7vQ/4n/vP3Qd2/BFs7BqUl9s3GUACAAA
> SOAPAction: ""
> Host: d4639:8080
> Content-Type: multipart/related; type="application/xop+xml"; boundary=--MIMEBoundary632978239375477793; start="<0....@example.org>"; start-info="text/xml; charset=utf-8"
> Content-Length: 2018
> Expect: 100-continue
> Connection: Keep-Alive
> ----MIMEBoundary632978239375477793
> content-id: <0....@example.org>
> content-type: application/xop+xml; charset=utf-8; type="text/xml; charset=utf-8"
> content-transfer-encoding: binary
> <soap:Envelope xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><soap:Header><wsa:Action></wsa:Action><wsa:MessageID>urn:uuid:3190bf5b-4944-4d5f-8362-fed2fdaf294c</wsa:MessageID><wsa:ReplyTo><wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address></wsa:ReplyTo><wsa:To>http://d4639:8080/axis2/services/myService</wsa:To><wsse:Security><wsu:Timestamp
> wsu:Id="Timestamp-444822f9-5e62-401d-9537-85bff44e5248"><wsu:Created>2006-10-30T21:52:17Z</wsu:Created><wsu:Expires>2006-10-30T21:57:17Z</wsu:Expires></wsu:Timestamp></wsse:Security></soap:Header><soap:Body><copyintoout xmlns="http://tempuri.org/myService"><parameters><parm1><String>hi</String></parm1><parm2><String>value1</String></parm2><parm3><Int>300</Int></parm3><parm4><Int>200</Int></parm4><parm5><Double>14.5</Double></parm5><parm6><Double>100</Double></parm6><parm7><Date>2006-10-13</Date></parm7><parm12><Date>13:30:00.0000000-05:00</Date></parm12><parm14><Color r="3" g="2" b="1" /></parm14><parm15><String>hi15</String></parm15><parm16><IntegerRange minValue="78" maxValue="89" /></parm16><parm17><Date>2006-10-30</Date></parm17></parameters><streams><instream><Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value></instream></streams></copyintoout></soap:Body></soap:Envelope>
> ----MIMEBoundary632978239375477793--
> Notice that .NET escaped the contents of the <Value> element.
> <Value xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> When I receive the contents of the <Value> element at runtime, I see that Axis2 has the following content:
> <Value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xsd:string"><TABLE><InData><col1>1</col1><col2>2</col2></InData></TABLE></Value>
> Notice that < is still escaped, but the > are unescaped. When I ask the Axis2 engine for <Value> children, it thinks that it has none. <TABLE> should be its one and only child element.
> Can someone explain what's going on here? Why < remains escaped as < and > are unescaped.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.