You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by rs...@imolinfo.it on 2006/08/23 14:05:21 UTC
http 302 with wsdlsoap:addres generated by http component
I have an http component proxying an internal endpoint. The wsdlport:address
generated is the following: http://localhost:8192/Service/VinciService.
If I try this url I get the following response by the servelt container:
14:48:30 : DEBUG : << "HTTP/1.1 302 Found[\r][\n]"
14:48:30 : DEBUG : << "Location:
http://localhost:8192/Service/VinciService/[\r][\n]"
the 302 response code means resource temporarily moved, which to me sound a bit
weird. The new location is also given and is the same url with / at the and.
However the point is that come http client like web browser can automaticaly
handle this condition requering the web server, other clients do not (typically
those used for test automation, I use soapui).
I believe that the wsdlport:address should contain the exact location of the web
service so for me this is a bug, what do you think?
PS: I'm using the 3.0-M2-incubating version
bye
Raffaele
Re: http 302 with wsdlsoap:addres generated by http component
Posted by Guillaume Nodet <gn...@gmail.com>.
Agreed.
Could you raise a JIRA and i will fix this asap.
On 8/23/06, rspazzoli@imolinfo.it <rs...@imolinfo.it> wrote:
>
> I have an http component proxying an internal endpoint. The
> wsdlport:address
> generated is the following: http://localhost:8192/Service/VinciService.
> If I try this url I get the following response by the servelt container:
> 14:48:30 : DEBUG : << "HTTP/1.1 302 Found[\r][\n]"
>
> 14:48:30 : DEBUG : << "Location:
> http://localhost:8192/Service/VinciService/[\r][\n]"
>
>
> the 302 response code means resource temporarily moved, which to me sound
> a bit
> weird. The new location is also given and is the same url with / at the
> and.
> However the point is that come http client like web browser can
> automaticaly
> handle this condition requering the web server, other clients do not
> (typically
> those used for test automation, I use soapui).
> I believe that the wsdlport:address should contain the exact location of
> the web
> service so for me this is a bug, what do you think?
>
> PS: I'm using the 3.0-M2-incubating version
>
> bye
> Raffaele
>
>
>
--
Cheers,
Guillaume Nodet