axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <axis-...@ws.apache.org>
Subject [jira] [Updated] (AXIS-1006) Service.getPort(URL, Class) loses WSDL metadata
Date Sun, 21 Oct 2012 16:44:12 GMT

     [ https://issues.apache.org/jira/browse/AXIS-1006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen updated AXIS-1006:
----------------------------------

    Labels: javax.xml.rpc.Service  (was: )
    
> Service.getPort(URL, Class) loses WSDL metadata
> -----------------------------------------------
>
>                 Key: AXIS-1006
>                 URL: https://issues.apache.org/jira/browse/AXIS-1006
>             Project: Axis
>          Issue Type: Bug
>          Components: Basic Architecture
>         Environment: Operating System: Other
> Platform: Other
>            Reporter: Mike Perham
>              Labels: javax.xml.rpc.Service
>         Attachments: ASF.LICENSE.NOT.GRANTED--patch.txt
>
>
> When a client calls Service.getPort(URL, Class), it actually calls
> Service.getPort(URL, null, Class) where null is the Port name.  Since portName
> is null, it cannot associate the Call with the WSDL metadata needed to correctly
> format the SOAP message.  The message always reverts back to encoded formatting.
> This patch changes getPort(URL, QName, Class) to check for a null portName.  If
> it is null, it pulls the first port out of the wsdlService and uses that as its
> port.
> Note that getPort(Class) does the same thing already.  I think this was just an
> oversight when the three parameter version was being developed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message