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 "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/02/03 00:08:20 UTC

[jira] Resolved: (AXIS2-4596) Client unable to turn on addressing with UsingAddressing in the WSDL

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

Andreas Veithen resolved AXIS2-4596.
------------------------------------

    Resolution: Fixed

Fixed the build failure (see r905830).

Note that you should avoid building URLs (especially file: URLs) using string manipulations, since this in most cases results in non portable code or code that fails in some border cases. There are two good ways to get an URL to a test file:

a. If the test file is part of the resources, request an URL from the class loader. This has the additional advantage of making the test independent of the project layout (i.e. the folder that contains the test resources).

b. Construct a java.io.File object (in a portable way) and use toURI or toURL.

> Client unable to turn on addressing with UsingAddressing in the WSDL
> --------------------------------------------------------------------
>
>                 Key: AXIS2-4596
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4596
>             Project: Axis2
>          Issue Type: Bug
>          Components: jaxws
>            Reporter: Katherine Sanders
>            Assignee: Brian DePradine
>             Fix For: 1.6
>
>         Attachments: AXIS2-4596.patch
>
>
> Revision 702224 defaulted DISABLE_ADDRESSING_FOR_OUT_MESSAGES to true in BindingProvider, however it didn't add any code to turn addressing on if <wsaw:usingAddressing /> is present in the WSDL.  This means that addressing is always off on the client unless AddressingFeature is used to turn it on, and that's only available in JAX-WS 2.1 clients.

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