generating WSDL files RunTime using <wsdlGen> ant task and storing them in hard
disk
-------------------------------------------------------------------------------------
Key: XFIRE-1096
URL: http://jira.codehaus.org/browse/XFIRE-1096
Project: XFire
Issue Type: Improvement
Components: Generator
Affects Versions: 1.2.6
Environment: ANT task <wsdlGen> and XFire
Reporter: Devendra Vezendla
Assignee: Dan Diephouse
Hi There,
I am trying to generate WSDL files while build (my ant tasks ) is running. I am
able to generate and store the WSDL files on disk. See below for Ant task used
<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>
PROBLEM : The generated wsdl file doesn't contain proper values for Host,Port
and Context Path and etc....!
..................................................................
..................................................................
<wsdl:service name="AllergiesService">
<wsdl:port name="AllergiesServiceHttpPort"
binding="tns:AllergiesServiceHttpBinding">
Actual . . . . . . . . . . . . <wsdlsoap:address
location="http://localhost/services/AllergiesService"/>
</wsdl:port>
</wsdl:service>
Expected URL: <wsdlsoap:address location="http://localhost:PORT/MyProject<ctxt
path>/services/AllergiesService"/>
Solution Expected: Please let me know how to feed XFire with the
required values so as to get the expected values. Where it is looking to
generate the HOST NAME and PORT
and Context Path of the WebService
--
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