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

Guillaume Sauthier updated AXIS-1868:
-------------------------------------

    Attachment: axis-uriholder-patch.txt

conditionnal compilation of holders/jaxrpc/URIHolder (only if JDK 1.4)

Warning : The Utils class don't know if the URIHolder class is available at 
runtime, so generated Stub may not be compilable if the Axis lib doesn't have 
the URIHolder class.

Should we try to load the jaxrpc.URIHolder class and throw an Exception if it 
is not available ?
Note that if the axis.jar used during runtime is different from the one used to 
generate the Stub, problems can still occurs.



> missing Holder for java.net.URI
> -------------------------------
>
>          Key: AXIS-1868
>          URL: http://issues.apache.org/jira/browse/AXIS-1868
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2RC3
>  Environment: JOnAS 4.4
>     Reporter: Guillaume Sauthier
>  Attachments: axis-uri-holder-patch.txt, axis-uri-holder-patch2.txt, 
> axis-uriholder-patch.txt
>
> I think JAX-RPC 1.1 is not clear :
> xsd:anyURI -> java.net.URI is optionnal but there is no Holder for URI( 
> should be 'javax.xml.rpc.holders.URIHolder')
> The problem is revealed when you compile classes generated with wsdl2java 
> using TM version="1.3". We see imports on java.net.holders.URIHolder. But 
> this class is never generated (because we don't generate either the 
> corresponding java Bean).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.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

Reply via email to