cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ajay Paibir (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-293) Defining a XML Binding with a rootNode results in Fault Response at the Client end.
Date Wed, 06 Dec 2006 17:30:24 GMT
     [ http://issues.apache.org/jira/browse/CXF-293?page=all ]

Ajay Paibir updated CXF-293:
----------------------------

    Attachment: soap_header1.txt

> Defining a XML Binding with a rootNode results in Fault Response at the Client end.
> -----------------------------------------------------------------------------------
>
>                 Key: CXF-293
>                 URL: http://issues.apache.org/jira/browse/CXF-293
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.0-M1
>            Reporter: Ajay Paibir
>         Attachments: soap_header1.txt
>
>
> I have defined a XML Binding with the attached wsdl The wsdl is along the lines of soapheader.wsdl
in testutils.
> While invoking on the inoutHeader Operation. The Client fails with the following exception

> org.apache.cxf.interceptor.Fault: Could not read request. Operation {http://apache.org/headers}inoutHeaderNode
is unknown.
>         at org.apache.cxf.binding.xml.interceptor.XMLMessageInInterceptor.handleMessage(XMLMessageInInterceptor.java:134)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:147)
>         at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:253)
>         at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:489)
>         at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.doClose(HTTPConduit.java:451)
>         at org.apache.cxf.io.AbstractCachedOutputStream.close(AbstractCachedOutputStream.java:113)
>         at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:259)
>         at org.apache.cxf.interceptor.MessageSenderInterceptor.handleMessage(MessageSenderInterceptor.java:58)
>         at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:147)
>         at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:130)
>         at org.apache.cxf.jaxws.EndpointInvocationHandler.invokeSync(EndpointInvocationHandler.java:129)
>         at org.apache.cxf.jaxws.EndpointInvocationHandler.invoke(EndpointInvocationHandler.java:115)
>         at $Proxy37.inoutHeader(Unknown Source)
> The reason being it does not process the xmlformat:rootNode element defined in the binding.
> The XMLMessageInInterceptor needs to be fixed.
> The xml message for which the client fails is as follows.
> <tns:inoutHeaderNode xmlns:tns="http://apache.org/headers">
>            <ns2:inoutHeaderResponse xmlns="http://www.w3.org/2005/08/addressing/wsdl"
xmlns:ns2="http://apache.org/headers/types">
>                  <ns2:responseType xmlns:ns2="http://apache.org/headers/types">inout
request type out</ns2:responseType>
>            </ns2:inoutHeaderResponse>
>           <ns2:SOAPHeaderInfo xmlns="http://www.w3.org/2005/08/addressing/wsdl" xmlns:ns2="http://apache.org/headers/types">
>                    <ns2:originator xmlns:ns2="http://apache.org/headers/types">inout
orginator out</ns2:originator>
>                    <ns2:message xmlns:ns2="http://apache.org/headers/types">inout
message out</ns2:message>
>            </ns2:SOAPHeaderInfo>
> </tns:inoutHeaderNode>

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

        

Mime
View raw message