We are running xfire version 1.2.2 on Tomcat 5.5.17 and configuring
XFire via Spring. Tomcat is running on port 7070 but whenever we view
the WSDL for any of our web services the http port information is
missing. This has not been an issue when we use xfire as the client
because we specify the full url of the web service but now we are
accessing one of our web services using Remedy and there does not appear
to be a way to override this default address.
<wsdl:service name="ReportTroubleWebService">
<wsdl:port name="ReportTroubleWebServiceHttpPort"
binding="tns:ReportTroubleWebServiceHttpBinding">
<wsdlsoap:address
location="http://webservicesdev.htc.com/xfire/services/ReportTroubleWebS
ervice"/>
</wsdl:port>
</wsdl:service>
I tried using the urlPrefix property in our Spring config but that did
not appear to make a difference.
<bean id="handlerMapping"
class="org.codehaus.xfire.spring.remoting.Jsr181HandlerMapping">
<property name="typeMappingRegistry"
ref="xfire.typeMappingRegistry" />
<property name="xfire" ref="xfire" />
<property name="webAnnotations"
ref="webAnnotations" />
<property name="urlPrefix"
value=":7070/services/" />
</bean>
Is their an annotation or some other method where I can force the
correct url including port to show up in the wsdl?
Chris Hodges
Information Services
Horry Telephone Cooperative
Office: (843) 369-8676
Fax: (843) 369-8715
**********************************************************************
HTC Disclaimer: The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of this message
is not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified that
any dissemination, distribution or copying of this communication is strictly
prohibited. If you have received this communication in error, please notify us
immediately by replying to the message and deleting it from your computer.
Thank you.
**********************************************************************