You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Chelliah Thirunavukkarasu (JIRA)" <ax...@ws.apache.org> on 2004/11/03 23:43:33 UTC

[jira] Updated: (AXIS-1638) Service.createCall(QName, QName) ignores the operationName's namespace

     [ http://nagoya.apache.org/jira/browse/AXIS-1638?page=history ]

Chelliah Thirunavukkarasu updated AXIS-1638:
--------------------------------------------

    Attachment: CallPatch.txt

createCall passes the QName to Call.java
Created a new method in Call.java to receive operation QName - setOperation(QName portName, QName opName)
Copied the logic from the existing setOperation to the new setOperation
Changed the existing setOperation(QName portName, String opName) to call the new setOperation
Removed some unnecessary code (the same code exists in setOperation(String opName) which is called by this method) from setOperation(QName portName, QName opName)
Changed setOperation to set the port type
Added additional field to save the port type (AXIS-1639)

> Service.createCall(QName, QName) ignores the operationName's namespace
> ----------------------------------------------------------------------
>
>          Key: AXIS-1638
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1638
>      Project: Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.2RC1
>     Reporter: Chelliah Thirunavukkarasu
>     Priority: Minor
>  Attachments: CallPatch.txt
>
> Service.createCall(QName portName, QName operationQName)
> turns around and calls the Call.setOperationName(String operationName) method
> instead of Call.setOperationName(QName operationName)
> 'cos of the namespace of the operation is lost and when the call is invoked, an empty namespace URI is used.
> The workaround is to call Call.setOperationName() after creating the call object.
> Related to this:
> When Service.createCall(QName portName, String operationName) is used by the caller,
> should axis use the namespace from the portName as the namespace for the operation?
> Or should it do the following:
> If operation has a namespace use it. Else, attempt to use port type's namespace. If port type is
> not specified, use port's namespace?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira