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 Su...@ubs.com on 2007/03/09 03:10:48 UTC

SOAP Attachment not working

Hi Folks,


I am trying to create a service which servers files. Client is successfully making call to service and infact
service is executed successfully. But i am getting exception on server some where after service execution. 
Pls let me know what's the possible cause.

Env: Running Axis2-1.1.1 on tomcat.

Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
java.lang.NullPointerException
	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
	at java.lang.Thread.run(Unknown Source)
Exception in thread "Axis2 Task" java.lang.NullPointerException
	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
	at org.apache.coyote.Response.action(Response.java:182)
	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
	at java.io.BufferedOutputStream.flush(Unknown Source)
	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
	at java.lang.Thread.run(Unknown Source)



 <<server-output.txt>>  <<TermsheetFileService.java>>  <<TermSheetFileClient.java>>  <<services.xml>> 
Thanks all

cheers,
sigirisetti

RE: SOAP Attachment not working

Posted by Su...@ubs.com.
Hi Sumedha! 

I changed the package names of service class but forgot to change Namespace decl in Client. 
I realised that after posting. 

Thanks for clarifying, i will also use axis2 nightly build and try out. Please let me know the issue no
to track. Thanks alot.

Regards,
sigirisetti

-----Original Message-----
From: sumedha rubasinghe [mailto:sumedha@wso2.com]
Sent: Monday, March 12, 2007 1:15 PM
To: axis-user@ws.apache.org
Subject: Re: SOAP Attachment not working


Hi,
I tried out the scenario using service & client you provided. With the 
latest source from axis2 trunk & axiom I was able to run the program 
without any complains.

But I had to do following changes to your code.

Client:
//     Name bn = soapFactory.createName("getTermSheetFile", "ns1", 
"http://termsheet.ws.starr.ubs.com/xsd");
       Name bn = soapFactory.createName("getTermSheetFile", "ns1", 
"http://termsheet.ws.ssk.com/xsd");

//     Name p = soapFactory.createName("p1", "ns1", 
"http://termsheet.ws.starr.ubs.com/xsd");
        Name p = soapFactory.createName("p1", "ns1", 
"http://termsheet.ws.ssk.com/xsd");

service.xml:
        <messageReceiver  
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
<!--
        <messageReceiver  
class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
-->

But I did not get the attachment returned to the client end. Looks like 
there is some bug in the POJO implementation when returning a 
DataHandler. Will log a jira after further investigation.

/sumedha


Surya.Sigirisetty@ubs.com wrote:
> Hi Folks,
>
>
> I am trying to create a service which servers files. Client is successfully making call to service and infact
> service is executed successfully. But i am getting exception on server some where after service execution. 
> Pls let me know what's the possible cause.
>
> Env: Running Axis2-1.1.1 on tomcat.
>
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>
>
>
>  <<server-output.txt>>  <<TermsheetFileService.java>>  <<TermSheetFileClient.java>>  <<services.xml>> 
> Thanks all
>
> cheers,
> sigirisetti
>   
> ------------------------------------------------------------------------
>
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\WRQ\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Realplayer;C:\WINNT\System32\Wbem;C:\Program Files\sql11\DLL;C:\Program Files\sql11\BIN;C:\Program Files\jetform\5.2\;C:\Program Files\Oracle\ora92\bin;C:\Program Files\SimonTatham\Putty\;C:\Program Files\Sybase\shared\powerbuilder;C:\Program Files\rational\clearcase\bin;C:\Java\maven-2.0.4\bin;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Java\jad
> Mar 9, 2007 9:57:31 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:31 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 906 ms
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Mar 9, 2007 9:57:32 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : addressing-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : sandesha2-1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  RMSampleService.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  termsheet.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  version.aar
> Mar 9, 2007 9:57:33 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Mar 9, 2007 9:57:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/31  config=null
> Mar 9, 2007 9:57:34 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Mar 9, 2007 9:57:34 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3000 ms
> file:/C:/Documents and Settings/sigirsu/Desktop/termsheet/XS0271956954.pdf
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>   
> ------------------------------------------------------------------------
>
> <service name="TermsheetService">
> 	<description>Termsheet Service</description>
>
> 	<parameter name="ServiceClass" locked="false">
> 		com.ssk.ws.termsheet.TermsheetFileService
> 	</parameter>
>
> 	<operation name="getTermSheetFile">
> 		<messageReceiver
> 			class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
> 	</operation>
> </service>
>   
> ------------------------------------------------------------------------
>
>
> This message and any attachment are confidential and may be privileged 
> or otherwise protected from disclosure. If you are not the intended 
> recipient please telephone or e-mail the sender and delete this message 
> and all attachments from your system. If you are not the intended 
> recipient you must not copy this message or any attachment or disclose 
> the contents to any other person.
>
> Use of E-mails can involve substantial risks, including but not limited 
> to lack of confidentiality and potential manipulation of contents and/or 
> sender's address. E-mail transmission therefore cannot be guaranteed to 
> be secure, error-free or virus-free. UBS therefore does not accept 
> liability for any errors, omissions or consequences which arise as a 
> result of e-mail transmission. If you choose to send sensitive 
> information via e-mail, this will be done at your own risk.
>
> This message is provided for informational purposes and is not intended 
> to nor will it create any binding legal relations. If verification is 
> required please request a hard-copy version.
>
> This message should not be construed as a solicitation or offer to buy 
> or sell any securities or related financial instruments.
>
> UBS AG does not accept Instructions via e-mail unless specifically 
> authorised in writing and agreed to by UBS AG.
>   
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org


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


This message and any attachment are confidential and may be privileged 
or otherwise protected from disclosure. If you are not the intended 
recipient please telephone or e-mail the sender and delete this message 
and all attachments from your system. If you are not the intended 
recipient you must not copy this message or any attachment or disclose 
the contents to any other person.

Use of E-mails can involve substantial risks, including but not limited 
to lack of confidentiality and potential manipulation of contents and/or 
sender's address. E-mail transmission therefore cannot be guaranteed to 
be secure, error-free or virus-free. UBS therefore does not accept 
liability for any errors, omissions or consequences which arise as a 
result of e-mail transmission. If you choose to send sensitive 
information via e-mail, this will be done at your own risk.

This message is provided for informational purposes and is not intended 
to nor will it create any binding legal relations. If verification is 
required please request a hard-copy version.

This message should not be construed as a solicitation or offer to buy 
or sell any securities or related financial instruments.

UBS AG does not accept Instructions via e-mail unless specifically 
authorised in writing and agreed to by UBS AG.

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


Re: SOAP Attachment not working

Posted by sumedha rubasinghe <su...@wso2.com>.
Hi,
I tried out the scenario using service & client you provided. With the 
latest source from axis2 trunk & axiom I was able to run the program 
without any complains.

But I had to do following changes to your code.

Client:
//     Name bn = soapFactory.createName("getTermSheetFile", "ns1", 
"http://termsheet.ws.starr.ubs.com/xsd");
       Name bn = soapFactory.createName("getTermSheetFile", "ns1", 
"http://termsheet.ws.ssk.com/xsd");

//     Name p = soapFactory.createName("p1", "ns1", 
"http://termsheet.ws.starr.ubs.com/xsd");
        Name p = soapFactory.createName("p1", "ns1", 
"http://termsheet.ws.ssk.com/xsd");

service.xml:
        <messageReceiver  
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
<!--
        <messageReceiver  
class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
-->

But I did not get the attachment returned to the client end. Looks like 
there is some bug in the POJO implementation when returning a 
DataHandler. Will log a jira after further investigation.

/sumedha


Surya.Sigirisetty@ubs.com wrote:
> Hi Folks,
>
>
> I am trying to create a service which servers files. Client is successfully making call to service and infact
> service is executed successfully. But i am getting exception on server some where after service execution. 
> Pls let me know what's the possible cause.
>
> Env: Running Axis2-1.1.1 on tomcat.
>
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>
>
>
>  <<server-output.txt>>  <<TermsheetFileService.java>>  <<TermSheetFileClient.java>>  <<services.xml>> 
> Thanks all
>
> cheers,
> sigirisetti
>   
> ------------------------------------------------------------------------
>
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.5.0_05\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program Files\WRQ\Reflection;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program Files\Real\Realplayer;C:\WINNT\System32\Wbem;C:\Program Files\sql11\DLL;C:\Program Files\sql11\BIN;C:\Program Files\jetform\5.2\;C:\Program Files\Oracle\ora92\bin;C:\Program Files\SimonTatham\Putty\;C:\Program Files\Sybase\shared\powerbuilder;C:\Program Files\rational\clearcase\bin;C:\Java\maven-2.0.4\bin;C:\Sun\SDK\bin;C:\Sun\jwsdp-2.0\jwsdp-shared\bin;C:\Java\jad
> Mar 9, 2007 9:57:31 AM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:31 AM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 906 ms
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardService start
> INFO: Starting service Catalina
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardEngine start
> INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
> Mar 9, 2007 9:57:31 AM org.apache.catalina.core.StandardHost start
> INFO: XML validation disabled
> Mar 9, 2007 9:57:32 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : addressing-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : sandesha2-1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying module : soapmonitor-1.1.1
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  RMSampleService.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  termsheet.aar
> Mar 9, 2007 9:57:33 AM org.apache.axis2.deployment.DeploymentEngine doDeploy
> INFO: Deploying Web service  version.aar
> Mar 9, 2007 9:57:33 AM org.apache.coyote.http11.Http11BaseProtocol start
> INFO: Starting Coyote HTTP/1.1 on http-8080
> Mar 9, 2007 9:57:34 AM org.apache.jk.common.ChannelSocket init
> INFO: JK: ajp13 listening on /0.0.0.0:8009
> Mar 9, 2007 9:57:34 AM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/31  config=null
> Mar 9, 2007 9:57:34 AM org.apache.catalina.storeconfig.StoreLoader load
> INFO: Find registry server-registry.xml at classpath resource
> Mar 9, 2007 9:57:34 AM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 3000 ms
> file:/C:/Documents and Settings/sigirsu/Desktop/termsheet/XS0271956954.pdf
> Mar 9, 2007 10:00:04 AM org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver invokeBusinessLogic
> SEVERE: Exception occurred while trying to invoke service method getTermSheetFile
> java.lang.NullPointerException
> 	at org.apache.axis2.databinding.utils.BeanUtil.getPullParser(BeanUtil.java:197)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:90)
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processResponse(RPCUtil.java:192)
> 	at org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver.invokeBusinessLogic(RPCInOutAsyncMessageReceiver.java:121)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:61)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
> Exception in thread "Axis2 Task" java.lang.NullPointerException
> 	at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:746)
> 	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:433)
> 	at org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:304)
> 	at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:991)
> 	at org.apache.coyote.Response.action(Response.java:182)
> 	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
> 	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
> 	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:97)
> 	at java.io.BufferedOutputStream.flush(Unknown Source)
> 	at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
> 	at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:184)
> 	at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
> 	at org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:115)
> 	at org.apache.axiom.om.impl.llom.OMNodeImpl.serializeAndConsume(OMNodeImpl.java:420)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.sendUsingOutputStream(CommonsHTTPTransportSender.java:276)
> 	at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:208)
> 	at org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:714)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$1.handleFault(AbstractInOutAsyncMessageReceiver.java:51)
> 	at org.apache.axis2.receivers.AbstractInOutAsyncMessageReceiver$2.run(AbstractInOutAsyncMessageReceiver.java:68)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665)
> 	at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690)
> 	at java.lang.Thread.run(Unknown Source)
>   
> ------------------------------------------------------------------------
>
> <service name="TermsheetService">
> 	<description>Termsheet Service</description>
>
> 	<parameter name="ServiceClass" locked="false">
> 		com.ssk.ws.termsheet.TermsheetFileService
> 	</parameter>
>
> 	<operation name="getTermSheetFile">
> 		<messageReceiver
> 			class="org.apache.axis2.rpc.receivers.RPCInOutAsyncMessageReceiver" />
> 	</operation>
> </service>
>   
> ------------------------------------------------------------------------
>
>
> This message and any attachment are confidential and may be privileged 
> or otherwise protected from disclosure. If you are not the intended 
> recipient please telephone or e-mail the sender and delete this message 
> and all attachments from your system. If you are not the intended 
> recipient you must not copy this message or any attachment or disclose 
> the contents to any other person.
>
> Use of E-mails can involve substantial risks, including but not limited 
> to lack of confidentiality and potential manipulation of contents and/or 
> sender's address. E-mail transmission therefore cannot be guaranteed to 
> be secure, error-free or virus-free. UBS therefore does not accept 
> liability for any errors, omissions or consequences which arise as a 
> result of e-mail transmission. If you choose to send sensitive 
> information via e-mail, this will be done at your own risk.
>
> This message is provided for informational purposes and is not intended 
> to nor will it create any binding legal relations. If verification is 
> required please request a hard-copy version.
>
> This message should not be construed as a solicitation or offer to buy 
> or sell any securities or related financial instruments.
>
> UBS AG does not accept Instructions via e-mail unless specifically 
> authorised in writing and agreed to by UBS AG.
>   
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org


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