Allow users to use jaxws-tools.bat/sh when SUN SAAJ impl is not provided in the 
assembly
----------------------------------------------------------------------------------------

                 Key: GERONIMO-4100
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4100
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: webservices
    Affects Versions: 2.1.1
            Reporter: Lin Sun
            Priority: Minor
             Fix For: 2.2


In JAXWSToolsCLI.java, the code default to always use SUN's Saaj impl 
(tools.setUseSunSAAJ()).   This can be an issue for  vendors who brand geronimo 
and choose to not include the SUN's saaj impl in the assembly, as the code 
would just throw an exception like below when "jaxws-tools.bat wsgen " is 
issued:

Exception in thread "main" java.lang.Exception: Missing
artifact in repositories
: com.sun.xml.messaging.saaj/saaj-impl//jar
        at org.apache.geronimo.jaxws.builder.JAXWSTools.getLocati
on(JAXWSTools.java:141)
        at org.apache.geronimo.jaxws.builder.JAXWSTools.getClassp
ath(JAXWSTools.java:116)
        at org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.run(JA
XWSToolsCLI.java:75)
        at org.apache.geronimo.jaxws.builder.JAXWSToolsCLI.main(J
AXWSToolsCLI.java:61)

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

Reply via email to