[
https://issues.apache.org/jira/browse/CXF-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637201#action_12637201
]
Daniel Kulp commented on CXF-1843:
----------------------------------
This is actually slightly different than I expected. The problem has to do
with the policy reference in the binding. If that is removed or moved to
AFTER the soap12:binding element, the annotations are generated correctly.
Working on a fix.
> wsdl2java: failed to create "action" attribute under annotation @WebMethod
> --------------------------------------------------------------------------
>
> Key: CXF-1843
> URL: https://issues.apache.org/jira/browse/CXF-1843
> Project: CXF
> Issue Type: Bug
> Components: Tooling
> Affects Versions: 2.0.5
> Environment: Apache CXF-2.0.5-Incubator
> Reporter: Ryan Chee
> Attachments: sampleservice.zip
>
>
> A client is invoking a soap 1.2 .NET webservice. The issue we're having is
> that the remote service requires soap action headers and cxf's wsdl2java is
> not generating action parameters for each WebMethod annotation automatically.
> For example, wsdl2java will generate this annotation:
> @WebMethod(operationName = "GetCustomerData")
> but we need it to generate this one:
> @WebMethod(operationName = "GetCustomerData",action =
> "http://tempuri.org/IAceRewardsService/GetCustomerData")
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.