Apache

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Axis2 1.0 getOutputStream() has already been called for this response

    9 answers - 520 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi,
    I want to generate a web service from a wsdl file with WSDL2Java.
    I'have tried adb data binding and jibx data binding.
    I successfully deploy my web service in tomcat (5.5.17)
    When I invoke the service, I'have an HTTP 500 server error " Stream() has already been called for this response"
    whith both adb and jibx databinding.
    The only code I have written is in generated skeleton and I only return the response object.
    Is something has similar problem ?
    thanks
  • No.1 | | 958 bytes | |

    This is stack trace
    MElementImpl.getNMSibling(MElementImpl.java:265)

    MChildrenQNameIterator.hasNext(MChildrenQNameItera tor.java:75)

    (MElementImpl.java:222)

    (SAPEnvelopeImpl.java:76)

    (AxisEngine.java:183)

    (AxisServlet.java:168)
    (AxisServlet.java:153)
    (HttpServlet.java:709)
    (HttpServlet.java:802)

    Arnaud MERGEY a :
    Hi,
    I want to generate a web service from a wsdl file with WSDL2Java.
    I'have tried adb data binding and jibx data binding.
    I successfully deploy my web service in tomcat (5.5.17)
    When I invoke the service, I'have an HTTP 500 server error
    " Stream() has already been
    called for this response"
    whith both adb and jibx databinding.
    The only code I have written is in generated skeleton and I only
    return the response object.

    Is something has similar problem ?

    thanks
    >
    >
    >
    >
  • No.2 | | 2660 bytes | |

    In tomcat logs I have:

    GRAVE: Exception Processing ErrorPage[errorCode=500,
    ]
    "Stream()" a
    pour cette
    at
    (JspServletWrapper.java:510)
    at
    (JspServletWrapper.java:387)
    at
    (JspServlet.java:314)
    at (JspServlet.java:264)
    at (HttpServlet.java:802)
    at
    ()
    at
    ()
    at
    (ApplicationDispatcher.java:672)
    at
    (ApplicationDispatcher.java:465)
    at
    (ApplicationDispatcher.java:398)
    at
    (ApplicationDispatcher.java:301)
    at
    (StandardHostValve.java:363)
    at
    (StandardHostValve.java:284)
    at
    (StandardHostValve.java:228)
    at
    (StandardHostValve.java:134)
    at
    (ErrorReportValve.java:105)
    at
    (StandardEngineValve.java:107)
    at
    (CoyoteAdapter.java:148)
    at
    (Http11Processor.java:869)
    at
    $(Http11BaseProtocol.java:664)
    at
    (PoolTcpEndpoint.java:527)
    at
    ()
    at
    $ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)

    Davanum Srinivas a :
    Can you please check the tomcat logs?

    thanks,
    dims

    5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >This is stack trace
    >MElementImpl.getNMSibling(MElementImpl.java:265)
    >>
    >>

    >MChildrenQNameIterator.hasNext(MChildrenQNameItera tor.java:75)
    >>
    >>

    >(MElementImpl.java:222)
    >>
    >>

    >(SAPEnvelopeImpl.java:76)
    >>
    >>

    >(AxisEngine.java:183)
    >>
    >>

    >(AxisServlet.java:168)
    >>

    >
    >(AxisServlet.java:153)
    >(HttpServlet.java:709)
    >(HttpServlet.java:802)
    >>

    >Arnaud MERGEY a :
    >Hi,
    >I want to generate a web service from a wsdl file with WSDL2Java.
    >I'have tried adb data binding and jibx data binding.
    >I successfully deploy my web service in tomcat (5.5.17)
    >When I invoke the service, I'have an HTTP 500 server error
    >" Stream() has already been
    >called for this response"
    >whith both adb and jibx databinding.
    >The only code I have written is in generated skeleton and I only
    >return the response object.
    >>

    >Is something has similar problem ?
    >>

    >thanks
    >>
    >>
    >>
    >>
    >>
    >>

    >
    >
  • No.3 | | 2879 bytes | |

    Hmmi think i can guess where the problem is. could u please try
    adding an empty soap header in the soapui (when u send the request
    message?)

    thanks,
    dims

    5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    In tomcat logs I have:

    GRAVE: Exception Processing ErrorPage[errorCode=500,
    ]
    "Stream()" a
    pour cette
    at
    (JspServletWrapper.java:510)
    at
    (JspServletWrapper.java:387)
    at
    (JspServlet.java:314)
    at (JspServlet.java:264)
    at (HttpServlet.java:802)
    at
    ()
    at
    ()
    at
    (ApplicationDispatcher.java:672)
    at
    (ApplicationDispatcher.java:465)
    at
    (ApplicationDispatcher.java:398)
    at
    (ApplicationDispatcher.java:301)
    at
    (StandardHostValve.java:363)
    at
    (StandardHostValve.java:284)
    at
    (StandardHostValve.java:228)
    at
    (StandardHostValve.java:134)
    at
    (ErrorReportValve.java:105)
    at
    (StandardEngineValve.java:107)
    at
    (CoyoteAdapter.java:148)
    at
    (Http11Processor.java:869)
    at
    $(Http11BaseProtocol.java:664)
    at
    (PoolTcpEndpoint.java:527)
    at
    ()
    at
    $ControlRunnable.run(ThreadPool.java:684)
    at java.lang.Thread.run(Thread.java:595)

    Davanum Srinivas a :
    Can you please check the tomcat logs?

    thanks,
    dims

    5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >This is stack trace
    >MElementImpl.getNMSibling(MElementImpl.java:265)
    >>
    >>

    >MChildrenQNameIterator.hasNext(MChildrenQNameItera tor.java:75)
    >>
    >>

    >(MElementImpl.java:222)
    >>
    >>

    >(SAPEnvelopeImpl.java:76)
    >>
    >>

    >(AxisEngine.java:183)
    >>
    >>

    >(AxisServlet.java:168)
    >>
    >>

    >(AxisServlet.java:153)
    >(HttpServlet.java:709)
    >(HttpServlet.java:802)
    >>

    >Arnaud MERGEY a :
    >Hi,
    >I want to generate a web service from a wsdl file with WSDL2Java.
    >I'have tried adb data binding and jibx data binding.
    >I successfully deploy my web service in tomcat (5.5.17)
    >When I invoke the service, I'have an HTTP 500 server error
    >" Stream() has already been
    >called for this response"
    >whith both adb and jibx databinding.
    >The only code I have written is in generated skeleton and I only
    >return the response object.
    >>

    >Is something has similar problem ?
    >>

    >thanks
    >>
    >>
    >>
    >>
    >>
    >>

    >
    >
  • No.4 | | 4853 bytes | |

    With empty soap header, invocation works !

    Arnaud

    Davanum Srinivas a :
    Hmmi think i can guess where the problem is. could u please try
    adding an empty soap header in the soapui (when u send the request
    message?)

    thanks,
    dims

    5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >In tomcat logs I have:
    >>

    >GRAVE: Exception Processing ErrorPage[errorCode=500,
    >]
    >"Stream()" a
    >pour cette
    >at
    >(JspServletWrapper.java:510)
    >>

    >at
    >(JspServletWrapper.java:387)
    >>

    >at
    >(JspServlet.java:314)
    >at (JspServlet.java:264)
    >at (HttpServlet.java:802)
    >at
    >()
    >>

    >at
    >()
    >>

    >at
    >(ApplicationDispatcher.java:672)
    >>

    >at
    >(ApplicationDispatcher.java:465)
    >>

    >at
    >(ApplicationDispatcher.java:398)
    >>

    >at
    >(ApplicationDispatcher.java:301)
    >>

    >at
    >(StandardHostValve.java:363)
    >>

    >at
    >(StandardHostValve.java:284)
    >>

    >at
    >(StandardHostValve.java:228)
    >>

    >at
    >(StandardHostValve.java:134)
    >>

    >at
    >(ErrorReportValve.java:105)
    >>

    >at
    >(StandardEngineValve.java:107)
    >>

    >at
    >(CoyoteAdapter.java:148)
    >>

    >at
    >(Http11Processor.java:869)
    >>

    >at
    >$(Http11BaseProtocol.java:664)
    >>

    >at
    >(PoolTcpEndpoint.java:527)
    >>

    >at
    >()
    >>

    >at
    >$ControlRunnable.run(ThreadPool.java:684)
    >>

    >at java.lang.Thread.run(Thread.java:595)
    >>

    >Davanum Srinivas a :
    >Can you please check the tomcat logs?
    >>

    >thanks,
    >dims
    >>

    >5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >>This is stack trace
    >>

    >MElementImpl.getNMSibling(MElementImpl.java:265)
    >>
    >>>
    >>>

    >>

    >MChildrenQNameIterator.hasNext(MChildrenQNameItera tor.java:75)
    >>
    >>>
    >>>

    >>

    >(MElementImpl.java:222)
    >>
    >>>
    >>>

    >>

    >(SAPEnvelopeImpl.java:76)
    >>
    >>>
    >>>

    >>

    >(AxisEngine.java:183)
    >>
    >>>
    >>>

    >>

    >(AxisServlet.java:168)
    >>
    >>>
    >>>

    >>

    >(AxisServlet.java:153)
    >>(HttpServlet.java:709)
    >>(HttpServlet.java:802)
    >>>

    >>Arnaud MERGEY a :
    >>Hi,
    >>I want to generate a web service from a wsdl file with WSDL2Java.
    >>I'have tried adb data binding and jibx data binding.
    >>I successfully deploy my web service in tomcat (5.5.17)
    >>When I invoke the service, I'have an HTTP 500 server error
    >>" Stream() has already

    >been
    >>called for this response"
    >>whith both adb and jibx databinding.
    >>The only code I have written is in generated skeleton and I only
    >>return the response object.
    >>>

    >>Is something has similar problem ?
    >>>

    >>thanks
    >>>
    >>>
    >>>
    >>>
    >>>
    >>>

    >>
    >>

    >--
    >Davanum Srinivas : http://wso2.com/blogs/
    >>
    >>
    >>

    >
    >
  • No.5 | | 5009 bytes | |

    Ahlet me see how to fix it.

    thanks,
    dims

    5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    With empty soap header, invocation works !

    Arnaud

    Davanum Srinivas a :
    Hmmi think i can guess where the problem is. could u please try
    adding an empty soap header in the soapui (when u send the request
    message?)

    thanks,
    dims

    5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >In tomcat logs I have:
    >>

    >GRAVE: Exception Processing ErrorPage[errorCode=500,
    >]
    >"Stream()" a
    >pour cette
    >at
    >(JspServletWrapper.java:510)
    >>

    >at
    >(JspServletWrapper.java:387)
    >>

    >at
    >(JspServlet.java:314)
    >at (JspServlet.java:264)
    >at (HttpServlet.java:802)
    >at
    >()
    >>

    >at
    >()
    >>

    >at
    >(ApplicationDispatcher.java:672)
    >>

    >at
    >(ApplicationDispatcher.java:465)
    >>

    >at
    >(ApplicationDispatcher.java:398)
    >>

    >at
    >(ApplicationDispatcher.java:301)
    >>

    >at
    >(StandardHostValve.java:363)
    >>

    >at
    >(StandardHostValve.java:284)
    >>

    >at
    >(StandardHostValvejava:228)
    >>

    >at
    >(StandardHostValve.java:134)
    >>

    >at
    >(ErrorReportValve.java:105)
    >>

    >at
    >(StandardEngineValve.java:107)
    >>

    >at
    >(CoyoteAdapter.java:148)
    >>

    >at
    >(Http11Processor.java:869)
    >>

    >at
    >$(Http11BaseProtocol.java:664)
    >>

    >at
    >(PoolTcpEndpoint.java:527)
    >>

    >at
    >()
    >>

    >at
    >$ControlRunnable.run(ThreadPool.java:684)
    >>

    >at java.lang.Thread.run(Thread.java:595)
    >>

    >Davanum Srinivas a :
    >Can you please check the tomcat logs?
    >>

    >thanks,
    >dims
    >>

    >5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >>This is stack trace
    >>>

    >MElementImpl.getNMSibling(MElementImpl.java:265)
    >>
    >>>
    >>>
    >>>

    >MChildrenQNameIterator.hasNext(MChildrenQNameItera tor.java:75)
    >>
    >>>
    >>>
    >>>

    >(MElementImpl.java:222)
    >>
    >>>
    >>>
    >>>

    >(SAPEnvelopeImpl.java:76)
    >>
    >>>
    >>>
    >>>

    >(AxisEngine.java:183)
    >>
    >>>
    >>>
    >>>

    >(AxisServlet.java:168)
    >>
    >>>
    >>>
    >>>

    >(AxisServlet.java:153)
    >>(HttpServlet.java:709)
    >>(HttpServlet.java:802)
    >>>

    >>Arnaud MERGEY a :
    >>Hi,
    >>I want to generate a web service from a wsdl file with WSDL2Java.
    >>I'have tried adb data binding and jibx data binding.
    >>I successfully deploy my web service in tomcat (5.5.17)
    >>When I invoke the service, I'have an HTTP 500 server error
    >>" Stream() has already

    >been
    >>called for this response"
    >>whith both adb and jibx databinding.
    >>The only code I have written is in generated skeleton and I only
    >>return the response object.
    >>>

    >>Is something has similar problem ?
    >>>

    >>thanks
    >>>
    >>>
    >>>
    >>>
    >>>
    >>>

    >>
    >>

    >--
    >Davanum Srinivas : http://wso2.com/blogs/
    >>
    >>
    >>

    >
    >
  • No.6 | | 1097 bytes | |

    Can you please check the tomcat logs?

    thanks,
    dims

    5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    This is stack trace
    MElementImpl.getNMSibling(MElementImpl.java:265)

    MChildrenQNameIterator.hasNext(MChildrenQNameItera tor.java:75)

    (MElementImpl.java:222)

    (SAPEnvelopeImpl.java:76)

    (AxisEngine.java:183)

    (AxisServlet.java:168)
    (AxisServlet.java:153)
    (HttpServlet.java:709)
    (HttpServlet.java:802)

    Arnaud MERGEY a :
    Hi,
    I want to generate a web service from a wsdl file with WSDL2Java.
    I'have tried adb data binding and jibx data binding.
    I successfully deploy my web service in tomcat (5.5.17)
    When I invoke the service, I'have an HTTP 500 server error
    " Stream() has already been
    called for this response"
    whith both adb and jibx databinding.
    The only code I have written is in generated skeleton and I only
    return the response object.

    Is something has similar problem ?

    thanks
    >
    >
    >
    >
    >
    >
  • No.7 | | 7285 bytes | |

    Just to inform you, with xmlbeans data binding I have the
    Stream() has already been called for this response error

    Davanum Srinivas a :
    Ahlet me see how to fix it.

    thanks,
    dims

    5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >With empty soap header, invocation works !
    >>

    >Arnaud
    >>

    >Davanum Srinivas a :
    >Hmmi think i can guess where the problem is. could u please try
    >adding an empty soap header in the soapui (when u send the request
    >message?)
    >>

    >thanks,
    >dims
    >>

    >5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >>In tomcat logs I have:
    >>>

    >>GRAVE: Exception Processing ErrorPage[errorCode=500,
    >>]
    >>"Stream()" a

    >
    >>pour cette
    >>at
    >>

    >(JspServletWrapper.java:510)
    >>
    >>>

    >>at
    >>

    >(JspServletWrapper.java:387)
    >>
    >>>

    >>at
    >>

    >(JspServlet.java:314)
    >>at

    >(JspServlet.java:264)
    >>at (HttpServlet.java:802)
    >>at
    >>

    >()
    >>
    >>>

    >>at
    >>

    >()
    >>
    >>>

    >>at
    >>

    >(ApplicationDispatcher.java:672)
    >>
    >>>

    >>at
    >>

    >(ApplicationDispatcher.java:465)
    >>
    >>>

    >>at
    >>

    >(ApplicationDispatcher.java:398)
    >>
    >>>

    >>at
    >>

    >(ApplicationDispatcher.java:301)
    >>
    >>>

    >>at
    >>

    >(StandardHostValve.java:363)
    >>
    >>>

    >>at
    >>

    >(StandardHostValve.java:284)
    >>
    >>>

    >>at
    >>

    >(StandardHostValve.java:228)
    >>
    >>>

    >>at
    >>

    >(StandardHostValve.java:134)
    >>
    >>>

    >>at
    >>

    >(ErrorReportValve.java:105)
    >>
    >>>

    >>at
    >>

    >(StandardEngineValve.java:107)
    >>
    >>>

    >>at
    >>

    >(CoyoteAdapter.java:148)
    >>
    >>>

    >>at
    >>

    >(Http11Processor.java:869)
    >>
    >>>

    >>at
    >>

    >$(Http11BaseProtocol.java:664)
    >>
    >>>

    >>at
    >>

    >(PoolTcpEndpoint.java:527)
    >>
    >>>

    >>at
    >>

    >()
    >>
    >>>

    >>at
    >>

    >$ControlRunnable.run(ThreadPool.java:684)
    >>
    >>>

    >>at java.lang.Thread.run(Thread.java:595)
    >>>

    >>Davanum Srinivas a :
    >>Can you please check the tomcat logs?
    >>>

    >>thanks,
    >>dims
    >>>

    >>5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >>>This is stack trace
    >>>>

    >>

    >MElementImpl.getNMSibling(MElementImpl.java:265)
    >>
    >>>
    >>>>
    >>>>
    >>>>

    >>

    >MChildrenQNameIterator.hasNext(MChildrenQNameItera tor.java:75)
    >>
    >>>
    >>>>
    >>>>
    >>>>

    >>

    >(MElementImpl.java:222)
    >>
    >>>
    >>>>
    >>>>
    >>>>

    >>

    >(SAPEnvelopeImpl.java:76)
    >>
    >>>
    >>>>
    >>>>
    >>>>

    >>

    >(AxisEngine.java:183)
    >>
    >>>
    >>>>
    >>>>
    >>>>

    >>

    >(AxisServlet.java:168)
    >>
    >>>
    >>>>
    >>>>
    >>>>

    >>

    >(AxisServlet.java:153)
    >>>(HttpServlet.java:709)
    >>>(HttpServlet.java:802)
    >>>>
    >>>Arnaud MERGEY a :
    >>>Hi,
    >>>I want to generate a web service from a wsdl file with

    >WSDL2Java.
    >>>I'have tried adb data binding and jibx data binding.
    >>>I successfully deploy my web service in tomcat (5.5.17)
    >>>When I invoke the service, I'have an HTTP 500 server error
    >>>" Stream() has already

    >>been
    >>>called for this response"
    >>>whith both adb and jibx databinding.
    >>>The only code I have written is in generated skeleton and I only
    >>>return the response object.
    >>>>
    >>>Is something has similar problem ?
    >>>>
    >>>thanks
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>
    >>>

    >>--
    >>Davanum Srinivas : http://wso2.com/blogs/
    >>>
    >>>
    >>>

    >>
    >>

    >--
    >Davanum Srinivas : http://wso2.com/blogs/
    >>
    >>
    >>

    >
    >
  • No.8 | | 8147 bytes | |

    Could u please open a new JIRA bug? with your wsdl and soap request?

    thanks,
    dims

    5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    Just to inform you, with xmlbeans data binding I have the
    Stream() has already been called for this response error
    --
    Davanum Srinivas a :
    Ahlet me see how to fix it.

    thanks,
    dims

    5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >With empty soap header, invocation works !
    >>

    >Arnaud
    >>

    >Davanum Srinivas a :
    >Hmmi think i can guess where the problem is. could u please try
    >adding an empty soap header in the soapui (when u send the request
    >message?)
    >>

    >thanks,
    >dims
    >>

    >5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >>In tomcat logs I have:
    >>>

    >>GRAVE: Exception Processing ErrorPage[errorCode=500,
    >>]
    >>"Stream()" a

    >
    >>pour cette
    >>at
    >>>

    >(JspServletWrapper.java:510)
    >>
    >>>

    >>at
    >>>

    >(JspServletWrapper.java:387)
    >>
    >>>

    >>at
    >>>

    >(JspServlet.java:314)
    >>at

    >(JspServlet.java:264)
    >>at (HttpServlet.java:802)
    >>at
    >>>

    >()
    >>
    >>>

    >>at
    >>>

    >()
    >>
    >>>

    >>at
    >>>

    >(ApplicationDispatcher.java:672)
    >>
    >>>

    >>at
    >>>

    >(ApplicationDispatcher.java:465)
    >>
    >>>

    >>at
    >>>

    >(ApplicationDispatcher.java:398)
    >>
    >>>

    >>at
    >>>

    >(ApplicationDispatcher.java:301)
    >>
    >>>

    >>at
    >>>

    >(StandardHostValve.java:363)
    >>
    >>>

    >>at
    >>>

    >(StandardHostValve.java:284)
    >>
    >>>

    >>at
    >>>

    >(StandardHostValvejava:228)
    >>
    >>>

    >>at
    >>>

    >(StandardHostValve.java:134)
    >>
    >>>

    >>at
    >>>

    >(ErrorReportValve.java:105)
    >>
    >>>

    >>at
    >>>

    >(StandardEngineValve.java:107)
    >>
    >>>

    >>at
    >>>

    >(CoyoteAdapter.java:148)
    >>
    >>>

    >>at
    >>>

    >(Http11Processor.java:869)
    >>
    >>>

    >>at
    >>>

    >$(Http11BaseProtocol.java:664)
    >>
    >>>

    >>at
    >>>

    >(PoolTcpEndpoint.java:527)
    >>
    >>>

    >>at
    >>>

    >()
    >>
    >>>

    >>at
    >>>

    >$ControlRunnable.run(ThreadPool.java:684)
    >>
    >>>

    >>at java.lang.Thread.run(Thread.java:595)
    >>>

    >>Davanum Srinivas a :
    >>Can you please check the tomcat logs?
    >>>

    >>thanks,
    >>dims
    >>>

    >>5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >>>This is stack trace
    >>>>
    >>>

    >MElementImpl.getNMSibling(MElementImpl.java:265)
    >>
    >>>
    >>>>
    >>>>
    >>>>
    >>>

    >MChildrenQNameIterator.hasNext(MChildrenQNameItera tor.java:75)
    >>
    >>>
    >>>>
    >>>>
    >>>>
    >>>

    >(MElementImpl.java:222)
    >>
    >>>
    >>>>
    >>>>
    >>>>
    >>>

    >(SAPEnvelopeImpl.java:76)
    >>
    >>>
    >>>>
    >>>>
    >>>>
    >>>

    >(AxisEngine.java:183)
    >>
    >>>
    >>>>
    >>>>
    >>>>
    >>>

    >(AxisServlet.java:168)
    >>
    >>>
    >>>>
    >>>>
    >>>>
    >>>

    >(AxisServlet.java:153)
    >>>(HttpServlet.java:709)
    >>>(HttpServlet.java:802)
    >>>>
    >>>Arnaud MERGEY a :
    >>>Hi,
    >>>I want to generate a web service from a wsdl file with

    >WSDL2Java.
    >>>I'have tried adb data binding and jibx data binding.
    >>>I successfully deploy my web service in tomcat (5.5.17)
    >>>When I invoke the service, I'have an HTTP 500 server error
    >>>" Stream() has already

    >>been
    >>>called for this response"
    >>>whith both adb and jibx databinding.
    >>>The only code I have written is in generated skeleton and I only
    >>>return the response object.
    >>>>
    >>>Is something has similar problem ?
    >>>>
    >>>thanks
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>>
    >>>
    >>>

    >>--
    >>Davanum Srinivas : http://wso2.com/blogs/
    >>>
    >>>
    >>>

    >>
    >>

    >--
    >Davanum Srinivas : http://wso2.com/blogs/
    >>
    >>
    >>

    >
    >
  • No.9 | | 9473 bytes | |


    thanks
    Davanum Srinivas a :
    Could u please open a new JIRA bug? with your wsdl and soap request?

    thanks,
    dims

    5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >Just to inform you, with xmlbeans data binding I have the
    >Stream() has already been called for this response error
    >>
    >>

    >Davanum Srinivas a :
    >Ahlet me see how to fix it.
    >>

    >thanks,
    >dims
    >>

    >5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >>With empty soap header, invocation works !
    >>>

    >>Arnaud
    >>>

    >>Davanum Srinivas a :
    >>Hmmi think i can guess where the problem is. could u please try
    >>adding an empty soap header in the soapui (when u send the request
    >>message?)
    >>>

    >>thanks,
    >>dims
    >>>

    >>5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >>>In tomcat logs I have:
    >>>>
    >>>GRAVE: Exception Processing ErrorPage[errorCode=500,
    >>>]
    >>>"Stream()" a

    >>
    >>>pour cette
    >>>at
    >>>>

    >>

    >(JspServletWrapper.java:510)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(JspServletWrapper.java:387)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(JspServlet.java:314)
    >>>at

    >>(JspServlet.java:264)
    >>>at

    >(HttpServlet.java:802)
    >>>at
    >>>>

    >>

    >()
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >()
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(ApplicationDispatcher.java:672)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(ApplicationDispatcher.java:465)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(ApplicationDispatcher.java:398)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(ApplicationDispatcher.java:301)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(StandardHostValve.java:363)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(StandardHostValve.java:284)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(StandardHostValve.java:228)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(StandardHostValve.java:134)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(ErrorReportValve.java:105)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(StandardEngineValve.java:107)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(CoyoteAdapter.java:148)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(Http11Processor.java:869)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >$(Http11BaseProtocol.java:664)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >(PoolTcpEndpoint.java:527)
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >()
    >>
    >>>
    >>>>
    >>>at
    >>>>

    >>

    >$ControlRunnable.run(ThreadPool.java:684)
    >>
    >>>
    >>>>
    >>>at java.lang.Thread.run(Thread.java:595)
    >>>>
    >>>Davanum Srinivas a :
    >>>Can you please check the tomcat logs?
    >>>>
    >>>thanks,
    >>>dims
    >>>>
    >>>5/10/06, Arnaud MERGEY <amergey (AT) sunopsis (DOT) comwrote:
    >>>>This is stack trace
    >>>>>
    >>>>

    >>

    >MElementImpl.getNMSibling(MElementImpl.java:265)
    >>
    >>>
    >>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>

    >>

    >MChildrenQNameIterator.hasNext(MChildrenQNameItera tor.java:75)
    >>
    >>>
    >>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>

    >>

    >(MElementImpl.java:222)
    >>
    >>>
    >>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>

    >>

    >(SAPEnvelopeImpl.java:76)
    >>
    >>>
    >>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>

    >>

    >(AxisEngine.java:183)
    >>
    >>>
    >>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>

    >>

    >(AxisServlet.java:168)
    >>
    >>>
    >>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>

    >>

    >(AxisServlet.java:153)
    >>>>

    >(HttpServlet.java:709)
    >>>>

    >(HttpServlet.java:802)
    >>>>>
    >>>>Arnaud MERGEY a :
    >>>>Hi,
    >>>>I want to generate a web service from a wsdl file with

    >>WSDL2Java.
    >>>>I'have tried adb data binding and jibx data binding.
    >>>>I successfully deploy my web service in tomcat (5.5.17)
    >>>>When I invoke the service, I'have an HTTP 500 server error
    >>>>" Stream() has

    >already
    >>>been
    >>>>called for this response"
    >>>>whith both adb and jibx databinding.
    >>>>The only code I have written is in generated skeleton and

    >I only
    >>>>return the response object.
    >>>>>
    >>>>Is something has similar problem ?
    >>>>>
    >>>>thanks
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>>
    >>>>
    >>>>
    >>>--
    >>>Davanum Srinivas : http://wso2.com/blogs/
    >>>>
    >>>>
    >>>>
    >>>
    >>>

    >>--
    >>Davanum Srinivas : http://wso2.com/blogs/
    >>>
    >>>
    >>>

    >>
    >>

    >--
    >Davanum Srinivas : http://wso2.com/blogs/
    >>
    >>
    >>

    >
    >

Re: Axis2 1.0 getOutputStream() has already been called for this response


max 4000 letters.
Your nickname that display:
In order to stop the spam: 1 + 0 =
QUESTION ON "Apache"

EMSDN.COM