cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1471) HTTP GET support doesn't work with Aegis Databinding
Date Sat, 31 Oct 2009 19:16:59 GMT

    [ https://issues.apache.org/jira/browse/CXF-1471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12772275#action_12772275
] 

Benson Margulies commented on CXF-1471:
---------------------------------------

This doesn't work, but it has nothing to do with Aegis.

URIMappingInterceptor has:

 if (!Boolean.TRUE.equals(message.getContextualProperty(NO_VALIDATE_PARTS))) {
                throw new Fault(new org.apache.cxf.common.i18n.Message("NO_OPERATION_PATH",
LOG, opName,
                                                                       message.get(Message.PATH_INFO)));
            }

And NO_VALIDATE_PARTS is only on for a provider. So someone thinks that this is forbidden
for full JAX-WS services.

Is this correct?

I have a nice test case all set up.

> HTTP GET support doesn't work with Aegis Databinding
> ----------------------------------------------------
>
>                 Key: CXF-1471
>                 URL: https://issues.apache.org/jira/browse/CXF-1471
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding, JAX-WS Runtime
>    Affects Versions: 2.0.4
>            Reporter: Dan Diephouse
>            Assignee: Benson Margulies
>
> I get this error:
> INFO: Interceptor has thrown exception, unwinding now
> org.apache.cxf.interceptor.Fault: NO_MESSAGE_FOR_PART
> 	at org.apache.cxf.aegis.databinding.XMLStreamDataWriter.write(XMLStreamDataWriter.java:72)
> 	at org.apache.cxf.aegis.databinding.XMLStreamDataWriter.write(XMLStreamDataWriter.java:45)
> 	at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:93)
> 	at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208)
> 	at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:74)
> 	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:208)
> 	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:77)
> when calling this url:
> http://localhost/EchoService/echo/echo/hello
> On this service:
> public class EchoService {
>   public String echo(String string) { return string; }
> }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message