[ http://issues.apache.org/jira/browse/CXF-248?page=comments#action_12450624 ] maomaode commented on CXF-248: ------------------------------
I can not reproduce your problem, i use the wsdl you provided, and use wsdl2java included in the latest kit to generate the artifacts, and run > ant BpelService.Server > ant BpelService.Client The testcase runs fine, i did not get the error message, instead i get the correct response from the server. I'm runing on Windows2000, can you try the testcase with the latest kit? If it's still fail, please let us know which platform you are running. also check the version of your cxf kit. > SOAPHeader exception > -------------------- > > Key: CXF-248 > URL: http://issues.apache.org/jira/browse/CXF-248 > Project: CXF > Issue Type: Bug > Components: Soap Binding > Affects Versions: 2.0-M1 > Reporter: Bozhong Lin > Fix For: 2.0-M1 > > Attachments: bpel_process.wsdl, Client.java > > > Hello, > When I try to run a client application, I get the following exception: > C:\Tools\2006_11_15_inferno\samples\client>ant client > Buildfile: build.xml > client: > [java] Invoking process... > [java] Exception in thread "main" org.apache.cxf.binding.soap.SoapFault: > no SOAPAction header! > [java] at > org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInIntercept > or.java:70) > [java] at > org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInIntercept > or.java:36) > [java] at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:147) > [java] at > org.apache.cxf.interceptor.AbstractFaultChainIntiatorObserver.onMessage(AbstractFaultChainIntiatorObs > erver.java:75) > [java] at > org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.j > ava:105) > [java] at > org.apache.cxf.binding.soap.interceptor.ReadHeadersInterceptor.handleMessage(ReadHeadersInterceptor.j > ava:45) > [java] at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:147) > [java] at > org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:244) > [java] at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:478) > [java] at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose(HTTPConduit.java:443) > [java] at > org.apache.cxf.io.AbstractCachedOutputStream.close(AbstractCachedOutputStream.java:80) > [java] at > org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:251) > [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:128) > [java] at > org.apache.cxf.jaxws.EndpointInvocationHandler.invokeSync(EndpointInvocationHandler.java:128) > [java] at > org.apache.cxf.jaxws.EndpointInvocationHandler.invoke(EndpointInvocationHandler.java:114) > [java] at $Proxy35.process(Unknown Source) > [java] at client.Client.main(Client.java:43) > This application worked with Celtix well. I use the current inferno Snapshot. > I attached my wsdl file and the Client apllication. > > Thanks, > Tobias -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
