Jira issue XFIRE-907 has been created.

Chris Hodges
Information Services
Horry Telephone Cooperative
Office: (843) 369-8676
Fax: (843) 369-8715

-----Original Message-----
From: Hodges, Chris [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 12, 2007 10:25 AM
To: [email protected]
Subject: RE: [xfire-user] WSDL Generation Error

It looks like class XFireServletTransport is calling
req.getServerPort()in the getServiceURL(Service service) method which
may not always return the correct port. I have done some additional
testing with req.getLocalPort() and so far it appears to be working as
expected.

See the following for more information.

S1AS7 Java Servlet: getServerPort() returns port 80 if the Host header
does not contain port number.

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6275091


Chris Hodges
Information Services
Horry Telephone Cooperative
Office: (843) 369-8676
Fax: (843) 369-8715


-----Original Message-----
From: Tomek Sztelak [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 06, 2007 3:10 AM
To: [email protected]
Subject: Re: [xfire-user] WSDL Generation Error

Hi
I'm not sure if there is a way to overwrite this value  :( But if you
don't find anything, create jira issue for this, so we will add this
feature.

On 3/5/07, Hodges, Chris <[EMAIL PROTECTED]> wrote:
>
>
>
>
> 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.
>
> **********************************************************************
>
>


-- 
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to