axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepal Jayasinghe (JIRA)" <j...@apache.org>
Subject [jira] Closed: (AXIS2-777) Getting Invalid XML character in AXIS SOA webservice response
Date Mon, 29 May 2006 09:31:32 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-777?page=all ]
     
Deepal Jayasinghe closed AXIS2-777:
-----------------------------------

    Resolution: Invalid

Hi Nilesh
This not Axis2 issue can u pls creat the issue in Axis 1 jira list

> Getting Invalid XML character  in AXIS SOA webservice response
> --------------------------------------------------------------
>
>          Key: AXIS2-777
>          URL: http://issues.apache.org/jira/browse/AXIS2-777
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>  Environment: AIX , WAS 5 
>     Reporter: nilesh

>
> Hi Everyone,
> I am facing an encoding issue with Axis while returning the response. The web service
is deployed in  WAS 5 application server. Here is the exception that i get. It looks like
it happens due to some special characters present in the data being returned. But i do not
see any special charactor in the response XML. Any help to resolve this would be greatly appriciated.
> java.lang.IllegalArgumentException: The char '0x0' in 'java.lang.IllegalArgumentException:
The char
> '0x0'
> ' is not a valid XML character.' is not a valid XML character.
>         at org.apache.axis.components.encoding.UTF8Encoder.writeEncoded(UTF8Encoder.java(Compiled
Co
> de))
>         at org.apache.axis.encoding.SerializationContext.writeSafeString(SerializationContext.java(C
> ompiled Code))
>         at org.apache.axis.message.SOAPFault.outputImpl(SOAPFault.java:123)
>         at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
>         at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
>         at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java(Compiled
Code))
>         at org.apache.axis.message.MessageElement.output(MessageElement.java:1208)
>         at org.apache.axis.AxisFault.output(AxisFault.java:755)
>         at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:301)
>         at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
>         at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)
>         at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:519)
>         at org.apache.axis.Message.getContentType(Message.java:475)
>         at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java(Compiled
Code))
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
>         at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>         at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.jav
> a:110)
>         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.ja
> va:174)
>         at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
>         at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.jav
> a:116)
>         at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
>         at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReference
> State.java:42)
>         at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReferenc
> e.java:40)
>         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequest
> Dispatcher.java:1171)
>         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.j
> ava(Compiled Code))
>         at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.ja
> va:203)
>         at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:125)
>         at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:294)
>         at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocati
> on.java:71)
>         at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvoc
> ationContext.java:116)
>         at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor
> .java:186)
>         at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
>         at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
>         at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:652)
>         at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:458)
>         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
> Thanks
> Nilesh

-- 
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


Mime
View raw message