You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Glen Mazza (JIRA)" <ji...@apache.org> on 2007/08/22 06:46:30 UTC
[jira] Created: (CXF-930) XercesImpl.jar needs to be added to
CXF_HOME/lib directory
XercesImpl.jar needs to be added to CXF_HOME/lib directory
----------------------------------------------------------
Key: CXF-930
URL: https://issues.apache.org/jira/browse/CXF-930
Project: CXF
Issue Type: Improvement
Components: Tooling
Reporter: Glen Mazza
Priority: Minor
I was unable to run WSDL2JAVA using the classpath below, until I placed because XercesImpl.jar in the lib directory. I think it is important to add XercesImpl.jar there, so there can be a standardized way to activate the WSDL2Java class. See[1] for more info.
<path id="ws-stack.classpath">
<pathelement location="${build.classes.dir}"/>
<fileset dir="${env.CXF_HOME}/lib">
<include name="*.jar"/>
</fileset>
</path>
<target name="generateClientCode">
<java classname="org.apache.cxf.tools.wsdlto.WSDLToJava">
<arg value="-client"/>
<arg value="-d"/>
<arg value="src"/>
<arg value="ShoppingService.wsdl"/>
<classpath>
<path refid="ws-stack.classpath"/>
</classpath>
</java>
</target>
[1] http://www.nabble.com/Problem-generating-CXF-client-for-eBay-Shopping-API-WSDL-tf4291138.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-930) XercesImpl.jar needs to be added to
CXF_HOME/lib directory
Posted by "Glen Mazza (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521893 ]
Glen Mazza commented on CXF-930:
--------------------------------
Yes! That was it--thanks--I *knew* something was wrong. Please close this issue--it's invalid.
> XercesImpl.jar needs to be added to CXF_HOME/lib directory
> ----------------------------------------------------------
>
> Key: CXF-930
> URL: https://issues.apache.org/jira/browse/CXF-930
> Project: CXF
> Issue Type: Improvement
> Components: Tooling
> Reporter: Glen Mazza
> Priority: Minor
>
> I was unable to run WSDL2JAVA using the classpath below, until I placed because XercesImpl.jar in the lib directory. I think it is important to add XercesImpl.jar there, so there can be a standardized way to activate the WSDL2Java class. See[1] for more info.
> <path id="ws-stack.classpath">
> <pathelement location="${build.classes.dir}"/>
> <fileset dir="${env.CXF_HOME}/lib">
> <include name="*.jar"/>
> </fileset>
> </path>
>
> <target name="generateClientCode">
> <java classname="org.apache.cxf.tools.wsdlto.WSDLToJava">
> <arg value="-client"/>
> <arg value="-d"/>
> <arg value="src"/>
> <arg value="ShoppingService.wsdl"/>
> <classpath>
> <path refid="ws-stack.classpath"/>
> </classpath>
> </java>
> </target>
> [1] http://www.nabble.com/Problem-generating-CXF-client-for-eBay-Shopping-API-WSDL-tf4291138.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (CXF-930) XercesImpl.jar needs to be added to
CXF_HOME/lib directory
Posted by "maomaode (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
maomaode closed CXF-930.
------------------------
Resolution: Invalid
> XercesImpl.jar needs to be added to CXF_HOME/lib directory
> ----------------------------------------------------------
>
> Key: CXF-930
> URL: https://issues.apache.org/jira/browse/CXF-930
> Project: CXF
> Issue Type: Improvement
> Components: Tooling
> Reporter: Glen Mazza
> Priority: Minor
>
> I was unable to run WSDL2JAVA using the classpath below, until I placed because XercesImpl.jar in the lib directory. I think it is important to add XercesImpl.jar there, so there can be a standardized way to activate the WSDL2Java class. See[1] for more info.
> <path id="ws-stack.classpath">
> <pathelement location="${build.classes.dir}"/>
> <fileset dir="${env.CXF_HOME}/lib">
> <include name="*.jar"/>
> </fileset>
> </path>
>
> <target name="generateClientCode">
> <java classname="org.apache.cxf.tools.wsdlto.WSDLToJava">
> <arg value="-client"/>
> <arg value="-d"/>
> <arg value="src"/>
> <arg value="ShoppingService.wsdl"/>
> <classpath>
> <path refid="ws-stack.classpath"/>
> </classpath>
> </java>
> </target>
> [1] http://www.nabble.com/Problem-generating-CXF-client-for-eBay-Shopping-API-WSDL-tf4291138.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (CXF-930) XercesImpl.jar needs to be added to
CXF_HOME/lib directory
Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12521794 ]
Daniel Kulp commented on CXF-930:
---------------------------------
This really should NOT be necessary. Everything should work fine with the stuff built into the JDK.
Most likely, your <java> task above should add the fork="true" flag to not get the classpath and system properties that have been polluted by ant.
> XercesImpl.jar needs to be added to CXF_HOME/lib directory
> ----------------------------------------------------------
>
> Key: CXF-930
> URL: https://issues.apache.org/jira/browse/CXF-930
> Project: CXF
> Issue Type: Improvement
> Components: Tooling
> Reporter: Glen Mazza
> Priority: Minor
>
> I was unable to run WSDL2JAVA using the classpath below, until I placed because XercesImpl.jar in the lib directory. I think it is important to add XercesImpl.jar there, so there can be a standardized way to activate the WSDL2Java class. See[1] for more info.
> <path id="ws-stack.classpath">
> <pathelement location="${build.classes.dir}"/>
> <fileset dir="${env.CXF_HOME}/lib">
> <include name="*.jar"/>
> </fileset>
> </path>
>
> <target name="generateClientCode">
> <java classname="org.apache.cxf.tools.wsdlto.WSDLToJava">
> <arg value="-client"/>
> <arg value="-d"/>
> <arg value="src"/>
> <arg value="ShoppingService.wsdl"/>
> <classpath>
> <path refid="ws-stack.classpath"/>
> </classpath>
> </java>
> </target>
> [1] http://www.nabble.com/Problem-generating-CXF-client-for-eBay-Shopping-API-WSDL-tf4291138.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.