You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Robert Lazarski (Jira)" <ji...@apache.org> on 2026/01/13 19:26:00 UTC

[jira] [Resolved] (AXIS2C-1520) Unknown Error when using diacritic marks in XML request element value.

     [ https://issues.apache.org/jira/browse/AXIS2C-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Lazarski resolved AXIS2C-1520.
-------------------------------------
    Fix Version/s: 2.0.0
       Resolution: Cannot Reproduce

 All tests pass - UTF-8 diacritics are correctly parsed, preserved, and serialized in the current codebase.

  Conclusion: The bug is either:
  1. Already fixed in previous commits
  2. Was environment-specific (locale, HTTP client configuration)
  3. Was a client-side issue (incorrect Content-Length for multi-byte characters)

  Committed as f287609d3 with regression test to prevent future issues.



> Unknown Error when using diacritic marks in XML request element value.
> ----------------------------------------------------------------------
>
>                 Key: AXIS2C-1520
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-1520
>             Project: Axis2-C
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>         Environment: Client: Windows XP - oXygen XML Editor WSDL SOAP Analyzer
> Server: Linux CentOS 64bit axis2_http_server - echo sample
>            Reporter: Daniel Gorodowienko
>            Priority: Critical
>             Fix For: 2.0.0
>
>
> When sending text with diacritic marks like æøåÆØÅ, unknown error returned by the service.
> Sample request used:
> <SOAP-ENV:Envelope
> 	xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope">
> 	<SOAP-ENV:Header/>
> 	<SOAP-ENV:Body>
> 		<echoString>
> 			<text>a</text>
> 		</echoString>
> 	</SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> Response:
> <soapenv:Envelope
>     xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
>     <soapenv:Body>
>         <soapenv:Fault>
>             <soapenv:Code>
>                 <soapenv:Value>soapenv:Sender</soapenv:Value>
>             </soapenv:Code>
>             <soapenv:Reason>
>                 <soapenv:Text
>                     xmlns:xml="http://www.w3.org/XML/1998/namespace"
>                     xml:lang="en">Unknown Error :(</soapenv:Text>
>             </soapenv:Reason>
>             <soapenv:Detail>
>                 <EchoServiceError>Echo service failed
>                 </EchoServiceError>
>             </soapenv:Detail>
>         </soapenv:Fault>
>     </soapenv:Body>
> </soapenv:Envelope>
> Axis log:
> [Mon Jan  3 15:29:26 2011] [debug] http_worker.c(200) Client HTTP version HTTP/1.1
> [Mon Jan  3 15:29:26 2011] [debug] soap_builder.c(945) identified soap version is soap12
> [Mon Jan  3 15:29:26 2011] [debug] phase.c(210) Invoke the handler request_uri_based_dispatcher within the phase Transport
> [Mon Jan  3 15:29:26 2011] [debug] req_uri_disp.c(100) Checking for service using target endpoint address : http://192.168.67.118:11000/services/echo
> [Mon Jan  3 15:29:26 2011] [debug] req_uri_disp.c(121) Service found using target endpoint address
> [Mon Jan  3 15:29:26 2011] [debug] phase.c(210) Invoke the handler AddressingInHandler within the phase Transport
> [Mon Jan  3 15:29:26 2011] [info]  Starting addressing in handler
> [Mon Jan  3 15:29:26 2011] [info]  addr_in_handler.c
> [Mon Jan  3 15:29:26 2011] [debug] phase.c(210) Invoke the handler addressing_based_dispatcher within the phase Transport
> [Mon Jan  3 15:29:26 2011] [debug] phase.c(210) Invoke the handler rest_dispatcher within the phase Dispatch
> [Mon Jan  3 15:29:26 2011] [debug] phase.c(210) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch
> [Mon Jan  3 15:29:26 2011] [debug] soap_body_disp.c(231) Checking for operation using SOAP messagebody's first child's local name : echoString
> [Mon Jan  3 15:29:26 2011] [debug] soap_body_disp.c(240) Operation found using SOAP message body's first child's local name
> [Mon Jan  3 15:29:26 2011] [debug] phase.c(210) Invoke the handler soap_action_based_dispatcher within the phase Dispatch
> [Mon Jan  3 15:29:26 2011] [debug] phase.c(210) Invoke the handler dispatch_post_conditions_evaluator within the phase PostDispatch
> [Mon Jan  3 15:29:26 2011] [debug] phase.c(210) Invoke the handler context_handler within the phase PostDispatch
> [Mon Jan  3 15:29:26 2011] [debug] phase.c(210) Invoke the handler AddressingOutHandler within the phase MessageOut
> [Mon Jan  3 15:29:26 2011] [info]  Starting addressing out handler
> [Mon Jan  3 15:29:26 2011] [debug] addr_out_handler.c(133) No action present. Stop processing addressing
> [Mon Jan  3 15:29:26 2011] [info]  Request served in 0.004 seconds



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: c-dev-help@axis.apache.org