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


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

        

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to