You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2008/04/16 19:01:21 UTC

[jira] Commented: (CXF-1533) Clients generated with CXF from java using Aegis DataBinding and SimpleFrontEnd sends the header SoapAction empty. This prevent interaction with oracle soa products wich depends on this header to execute correctly.

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

Daniel Kulp commented on CXF-1533:
----------------------------------


This is working as designed.   The soapAction stuff is effective deprecated and by default, according to most specs like jaxws, should be the empty string.

However, we COULD create a new "MethodNameSoapActionConfiguration" class that subclasses the AbstractServiceConfiguration class to provide that functionality.  Would just need to configure it in.


> Clients generated with CXF from java using Aegis DataBinding and SimpleFrontEnd sends the header SoapAction empty. This prevent interaction with oracle soa products wich depends on this header to execute correctly.
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1533
>                 URL: https://issues.apache.org/jira/browse/CXF-1533
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.0.5
>            Reporter: Simon Paredes
>
> it could be added to org.apache.cxf.service.factory.DefaultServiceConfiguration this implementation of the function getAction():
> public String getAction(OperationInfo op, Method method) {
>         String action = op.getName().getLocalPart();
>         if(StringUtils.isEmpty(action)){
>         	action = method.getName();
>         }
>         return action;
> }
> Wich is a first aproach, of course, but for the simple case it works.
> Actually org.apache.cxf.service.factory.DefaultServiceConfiguration has no implementation for getAction and org.apache.cxf.service.factory.AbstractServiceConfiguration returns null.

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