XFireRuntimeException  - XFireFault: Index: 0, Size: 0 when dealing with HL7v3 
schemas
--------------------------------------------------------------------------------------

                 Key: XFIRE-735
                 URL: http://jira.codehaus.org/browse/XFIRE-735
             Project: XFire
          Issue Type: Bug
    Affects Versions: 1.2.2
         Environment: XFire 1.2.2, Windows XP Professional, Eclipse 3.2, Tomcat 
5.5.2, JVM 1.5.0_08

            Reporter: Constantin Ilea
         Assigned To: Dan Diephouse
            Priority: Critical
         Attachments: schemas.jar

I have created a service WSDL first approach from the attached 
NeCST_DentalAdministration.wsdl file and attached schemas. The service runs on 
Tomcat, I can see it and get the WSDL file. But when I call the service from a 
java client I get the following error: 

Exception in thread "main" org.codehaus.xfire.XFireRuntimeException: Could not 
invoke service.. Nested exception is org.codehaus.xfire.fault.XFireFault: 
Index: 0, Size: 0
org.codehaus.xfire.fault.XFireFault: Index: 0, Size: 0
        at 
org.codehaus.xfire.fault.Soap11FaultSerializer.readMessage(Soap11FaultSerializer.java:31)
        at 
org.codehaus.xfire.fault.SoapFaultSerializer.readMessage(SoapFaultSerializer.java:28)
        at 
org.codehaus.xfire.soap.handler.ReadHeadersHandler.checkForFault(ReadHeadersHandler.java:111)
        at 
org.codehaus.xfire.soap.handler.ReadHeadersHandler.invoke(ReadHeadersHandler.java:67)
        at 
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
        at org.codehaus.xfire.client.Client.onReceive(Client.java:382)
        at 
org.codehaus.xfire.transport.http.HttpChannel.sendViaClient(HttpChannel.java:139)
        at 
org.codehaus.xfire.transport.http.HttpChannel.send(HttpChannel.java:48)
        at 
org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
        at 
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
        at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75)
        at org.codehaus.xfire.client.Client.invoke(Client.java:335)
        at 
org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
        at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
        at $Proxy13.fICR_AR062005UV03_FICR_IN600105UV03(Unknown Source)
        at 
org.hl7.v3.client.impl.NeCSTDentalAdministrationClient.main(NeCSTDentalAdministrationClient.java:74)

I'm attaching the schemas and wsdl. The service was generated using jaxb2. The 
attached archive contains a sample request and a sample response.



-- 
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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to