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: Current (Nightly)
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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]