cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jimma (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-351) exception with docment literal bare style opeartion with empty input
Date Thu, 04 Jan 2007 07:27:27 GMT
exception with docment literal bare style opeartion with empty input 
---------------------------------------------------------------------

                 Key: CXF-351
                 URL: https://issues.apache.org/jira/browse/CXF-351
             Project: CXF
          Issue Type: Bug
            Reporter: jimma


I'm testing cxf  with the attached hello_world.wsdl  and am seeing a strange exception (see
below). Any ideas on what might be happening?

1. Generated code using: wsdl2java.bat -client -server -impl -all -ant hello_world.wsdl
2. Ran ant to build 
3. Ran ant Greeter.Server
4. Ran ant Greeter.Client

Buildfile: build.xml

compile:

Greeter.Client:
     [java] Invoking sayHi...
     [java] Exception in thread "main" org.apache.cxf.binding.soap.SoapFault: Error reading
XMLStreamReader.
     [java]     at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:114)
     [java]     at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:45)
     [java]     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:147)
     [java]     at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:253)
     [java]     at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:489)
     [java]     at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose(HTTPConduit.java:451)
     [java]     at org.apache.cxf.io.AbstractCachedOutputStream.close(AbstractCachedOutputStream.java:113)
     [java]     at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:259)
     [java]     at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:58)
     [java]     at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:147)
     [java]     at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:130)
     [java]     at org.apache.cxf.jaxws.EndpointInvocationHandler.invokeSync(EndpointInvocationHandler.java:129)
     [java]     at org.apache.cxf.jaxws.EndpointInvocationHandler.invoke(EndpointInvocationHandler.java:115)
     [java]     at $Proxy35.sayHi(Unknown Source)
     [java]     at com.iona.hello_world_soap_http.GreeterClient.main(GreeterClient.java:69)
     [java] Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
     [java]  at [row,col {unknown-source}]: [1,0]
     [java]     at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:628)
     [java]     at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2021)
     [java]     at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:1927)
     [java]     at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1054)
     [java]     at com.ctc.wstx.sr.BasicStreamReader.nextTag(BasicStreamReader.java:1080)
     [java]     at org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.java:73)
     [java]     ... 14 more







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

        

Mime
View raw message