You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alison (JIRA)" <ji...@apache.org> on 2008/07/24 09:01:32 UTC
[jira] Commented: (CXF-1721) Generated WS-Addressing action uses
wrong separator for urns
[ https://issues.apache.org/jira/browse/CXF-1721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12616360#action_12616360 ]
Alison commented on CXF-1721:
-----------------------------
Ah hah!
File: rt/ws/addr/src/main/java/org/apache/cxf/ws/addressing/MAPAggregator.java
private String getDelimiter(String uri) {
if (uri.startsWith("urn")) {
return ".";
}
return "/";
}
That "." should be a ":" (or configurable or something).
> Generated WS-Addressing action uses wrong separator for urns
> ------------------------------------------------------------
>
> Key: CXF-1721
> URL: https://issues.apache.org/jira/browse/CXF-1721
> Project: CXF
> Issue Type: Bug
> Components: WS-* Components
> Affects Versions: 2.1.2
> Environment: java version "1.6.0_05"
> cxf 2.1.2-SNAPSHOT
> Reporter: Alison
>
> According to the Web Services Addressing 1.0 specification the format for an Action is (non-fault case):
> [target namespace][delimiter][port type name][delimiter][input|output name]
> The following definition of delimiter is supplied:
> "is ":" when the [target namespace] is a URN, otherwise "/"."
> Source: http://www.w3.org/TR/2006/CR-ws-addr-wsdl-20060529/#defactionwsdl11
> I have a WSDL with the following relevant values:
> target namespace - urn:xyz/BLAH
> port type name - BlahServicePortType
> input name - CountStuffRequest
> I would expect CXF to generate the action:
> urn:xyz/BLAH:BlahServicePortType:CountStuffRequest
> However it appears to use a dot ('.') to delimit the fields:
> urn:xyz/BLAH.BlahServicePortType.CountStuffRequest
> I will dig around the cxf-rt-ws-addr module to see if I can narrow this down further...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.