Hello

I wonder what the above error message means and how I am supposed to do
further troubleshooting.

I've created a wsdl file, done the wsdl2java and am now trying to
synchronously return a document. 

If I return a new document without filling it with information:
public Document webService(Document document) {
                return Document.Factory.newInstance();
}

I get
          <faultstring>unknown</faultstring>
         <detail>
            <Exception>org.apache.axis2.AxisFault
                etc....

Which is probably quite a logical error.

But if I enter any information to this document or even just return the
exact same document that just has been received, like this:

public Document webService(Document document) {
                return document;
}

The following error occurs: 

java.lang.IllegalArgumentException: Null OutputStream specified
         <detail>
            <Exception>org.apache.axis2.AxisFault:
java.lang.IllegalArgumentException: Null OutputStream specified
        at 
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:182)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
        at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
        at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
        at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
        at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
        at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
        at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
        at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
        at java.lang.Thread.run(Thread.java:595)


Please, does anyone have an idea of how to attack this problem?
Using axis2 v1.4, apache-tomcat-5.5.26 on windows XP.
-- 
View this message in context: 
http://www.nabble.com/java.lang.IllegalArgumentException%3A-Null-OutputStream-specified-tp18587453p18587453.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to