You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Abhinav <ab...@iopsis.com> on 2002/06/03 16:22:43 UTC

hi attachment problem need solution

Hi,
     I am trying to run the samples attachment examples ,it deploys properly
but when I run it gives me Encoding unsupported exception.I am using
weblogic 5.1 and JDK 1.4. PLz help me urgently .
Abhinav Shrivastava
Software Engineer
Iopsis Softwares Pvt. Ltd.
Phone:6054191/92
Extn:105
Email:abhinav@iopsis.com



Re: hi attachment problem need solution

Posted by Miguel A Paraz <ma...@free.net.ph>.
On Mon, Jun 03, 2002 at 07:52:43PM +0530, Abhinav wrote:
>      I am trying to run the samples attachment examples ,it deploys properly
> but when I run it gives me Encoding unsupported exception.I am using
> weblogic 5.1 and JDK 1.4. PLz help me urgently .

My turn to try it... is this a parser problem?

$ java -cp $CP:. samples.attachments.EchoAttachment TODO.txt

- Mapping Exception to AxisFault
java.io.IOException: Cannot close the same input stream twice
	at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:134)
	at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:909)
	at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
	at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
	at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1204)
	at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
	at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:216)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:455)
	at org.apache.axis.Message.getSOAPEnvelope(Message.java:321)
	at org.apache.axis.client.Call.invoke(Call.java:1954)
	at org.apache.axis.client.Call.invoke(Call.java:1707)
	at org.apache.axis.client.Call.invoke(Call.java:1635)
	at org.apache.axis.client.Call.invoke(Call.java:1184)
	at samples.attachments.EchoAttachment.echo(EchoAttachment.java:138)
	at samples.attachments.EchoAttachment.main(EchoAttachment.java:310)
java.io.IOException: Cannot close the same input stream twice
java.io.IOException: Cannot close the same input stream twice
	at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:134)
	at org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:909)
	at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
	at org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1550)
	at org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1204)
	at org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
	at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
	at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
	at org.apache.axis.encoding.DeserializationContextImpl.parse(DeserializationContextImpl.java:216)
	at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:455)
	at org.apache.axis.Message.getSOAPEnvelope(Message.java:321)
	at org.apache.axis.client.Call.invoke(Call.java:1954)
	at org.apache.axis.client.Call.invoke(Call.java:1707)
	at org.apache.axis.client.Call.invoke(Call.java:1635)
	at org.apache.axis.client.Call.invoke(Call.java:1184)
	at samples.attachments.EchoAttachment.echo(EchoAttachment.java:138)
	at samples.attachments.EchoAttachment.main(EchoAttachment.java:310)


-- 
Miguel A Paraz             <http://mparaz.com>	Mobile: +63-916-423-7922
Imperium Technology, Inc.  <ma...@imperium.ph>	Office: +63-2-812-3155