axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas McKiernan (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-3521) Expose isMakeConnectionAnonymous on EPR
Date Tue, 19 Feb 2008 15:20:48 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-3521?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570264#action_12570264
] 

Thomas McKiernan commented on AXIS2-3521:
-----------------------------------------

I think that there are two points:

1. At the moment, Axis2 is not makeConnection independent, since you have the makeConnection
URI hard coded as a special case of anonymous. However, neither is this special casing documented
in the hasAnonymous method javadoc. 

2. The current implementation is also not flexible. What if there is a new makeConnection
specification version with a new URI - this specific point in Axis would need to be changed.

I propose Axis2 is made independent of the makeConnection URI, and that a static means of
configuring axis2 is introduced that enables Axis to maintain a list of "anonymous equivalent"
URIs.
Here is the new API I am proposing to EndpointReference:

/**
 * Adds the String to the list of URIs that are conceptually equivalent to WS-A anonymous
URI
 */
static void addAnonymousEquivalentURIString(String anonymousEquivalentURIString)

/**
 * return true if this URI is the specific WS-A anonymous URI 
 */
boolean isWSAAddressingAnonymous();

/**
 * return true if this URI is either WS-A anonymous URI or
 * any of the equivalent anonymous URIs
 */
boolean hasAnonymous();

> Expose isMakeConnectionAnonymous on EPR
> ---------------------------------------
>
>                 Key: AXIS2-3521
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3521
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Improvement
>          Components: Addressing
>            Reporter: Thomas McKiernan
>         Attachments: hasMC.patch
>
>
> At the moment the Axis2 EPR has a method hasAnonymous that returns true if the address
is either WSA anonymous or using makeConnection annonymous.
> I propose that this method continues to work as before, but a new method is exposed called
isMakeConnectionAnonymous.
> The hasAnonymous can be changed to use that new method.
> The isMakeConnectionAnonymous might be useful to Sandesha

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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message