<wsdlGen> XFire Ant Task using WsdlGenTask
------------------------------------------
Key: XFIRE-1097
URL: http://jira.codehaus.org/browse/XFIRE-1097
Project: XFire
Issue Type: Task
Components: JAX-WS
Affects Versions: 1.2.6
Environment: XFire, Ant
Reporter: Devendra Vezendla
Assignee: Dan Diephouse
Hi There,
Best greetings for the day.
I am trying to generate wsdl files and save them to my hard disk. For that I am
using xfire ant task <wsdlGen> as shown below.
ANT TASK:-
<target name="wsdl.generate" >
<taskdef name="wsdlGen" classname="org.codehaus.xfire.gen.WsdlGenTask">
<classpath refid="MyXFireServices.classpath" />
</taskdef>
<wsdlGen configUrl="${xfire.config}" outputDirectory="${wsdl.dir}" />
</target>
services.xml:-
<beans xmlns="http://xfire.codehaus.org/config/1.0">
<service>
<name>AllergiesService</name>
<namespace>ECISServices</namespace>
<serviceClass>org.intermountain.help2.webservice.ecisservices.AllergiesWebService</serviceClass>
<implementationClass>org.intermountain.help2.webservice.ecisservices.impl.AllergiesWebServiceImpl</implementationClass>
</service>
</beans>
WSDL Generated:-
<wsdl:service name="AllergiesService">
<wsdl:port name="AllergiesServiceHttpPort"
binding="tns:AllergiesServiceHttpBinding">
<wsdlsoap:address location="http://localhost/services/AllergiesService"/>
</wsdl:port>
</wsdl:service>
Expected WSDL:-
http://localhost:PORTNUM/ContextPath/services/AllergiesService
Solution Expected:-
Where to mention the details like hostname,Portnumber and Context Path to
WsdlGenTask
What is the properties file the WsdlGenTask is looking for these details and
where to place that .
Thanks & Regards
Devendra.V
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email