[ 
http://jira.codehaus.org/browse/JIBX-259?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Sosnoski resolved JIBX-259.
----------------------------------

       Resolution: Fixed
    Fix Version/s: JiBX/WS 0.9

Fixed the code so that the XBIS reader and writer will be reset for each 
operation when using HTTP, while still keeping state as long as the connection 
is held for TCP.

> XBIS not working over HTTP
> --------------------------
>
>                 Key: JIBX-259
>                 URL: http://jira.codehaus.org/browse/JIBX-259
>             Project: JiBX
>          Issue Type: Bug
>          Components: JiBX/WS
>            Reporter: Nigel Charman
>            Assignee: Dennis Sosnoski
>             Fix For: JiBX/WS 0.9
>
>
> Seismic example fails when run with "ant run-xbis" and "ant run-pox-xbis".
> Server side error is:
> java.lang.IllegalArgumentException: Unknown node type 1
>      [java]   org.xbis.JibxReader.nextToken(JibxReader.java:609)
>      [java]   org.xbis.JibxReader.next(JibxReader.java:158)
>      [java]   
> org.jibx.runtime.impl.UnmarshallingContext.toStart(UnmarshallingContext.java:451)
>      [java]   
> org.jibx.ws.io.PayloadUnmarshaller.invoke(PayloadUnmarshaller.java:117)
>      [java]   
> org.jibx.ws.context.InContext.internalInvokeInHandlers(InContext.java:125)
>      [java]   
> org.jibx.ws.context.InContext.invokeInHandlers(InContext.java:87)
>      [java]   
> org.jibx.ws.pox.PoxProcessor.receiveMessage(PoxProcessor.java:140)
>      [java]   org.jibx.ws.server.Service.processRequest(Service.java:206)
>      [java]   
> org.jibx.ws.server.http.WsServletDelegate.doPost(WsServletDelegate.java:147)
>      [java]   org.jibx.ws.server.http.WsServlet.doPost(WsServlet.java:76)
>      [java]   javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
>      [java]   javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> When run with SOAP, this error is wrapped in a SOAP Fault.  The client also 
> receives a similar error since it cannot unmarshal the SOAP Fault.
> On subsequent requests, different exceptions are returned.  The exception 
> shown above is always returned on the first request after restarting Tomcat.
> It's best to try this with the latest code to pick up the exception handling 
> changes.
> XBIS over TCP works fine.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to