You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by jlbarrera <jl...@sadiel.es> on 2007/03/08 12:12:23 UTC
servicemix-http auth-basic support
Is basic authentication supported by servicemix-htt PROVIDER ?
I have seen that in the
http://incubator.apache.org/servicemix/servicemix-http.html servicemix's
documentation the consumer endpoint support basic authentication, but i
don't know if the provider support it.
Thanks!
--
View this message in context: http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9372262
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: servicemix-http auth-basic support
Posted by jlbarrera <jl...@sadiel.es>.
Ok, thanks! problem solved!
gnodet wrote:
>
> Authentication will not work for retrieving the wsdl.
> You should grab it yourself and copy it in the SU instead
> of using the remote url.
>
> On 3/19/07, jlbarrera <jl...@sadiel.es> wrote:
>>
>>
>> Thanks, by your response
>>
>> Becasuse i have problems with it, i always received the next error:
>>
>> WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document
>> at
>> 'https://vmw2000/axis/services/VerificarFirmas?wsdl'.: Server returned
>> HTTP
>> response code: 401 for URL:
>> https://vmw2000/axis/services/VerificarFirmas?wsdl: java.io.IOException:
>> Server returned HTTP response code: 401 for URL:
>> https://vmw2000/axis/services/VerificarFirmas?wsdl
>> ....
>>
>> The error code 401 is unauthorized.. I will try to debugging the code to
>> know what it's the problem.
>>
>> Thanks.
>>
>>
>> gnodet wrote:
>> >
>> > Yeah.
>> > Sorry about this unanswered question.
>> >
>> > On 3/19/07, jlbarrera <jl...@sadiel.es> wrote:
>> >>
>> >>
>> >> I view the source code of
>> >> org.apache.servicemix.http.processors.ProviderProcessor.java:
>> >>
>> >> // Set authentication
>> >> if (endpoint.getBasicAuthentication() != null) {
>> >> endpoint.getBasicAuthentication().applyCredentials(
>> >> getClient() );
>> >> }
>> >>
>> >> I think that basic authentication is supported, it's right?
>> >>
>> >> Thanks
>> >>
>> >>
>> >> jlbarrera wrote:
>> >> >
>> >> > Is basic authentication supported by servicemix-htt PROVIDER ?
>> >> >
>> >> > I have seen that in the
>> >> > http://incubator.apache.org/servicemix/servicemix-http.html
>> >> servicemix's
>> >> > documentation the consumer endpoint support basic authentication,
>> but
>> >> i
>> >> > don't know if the provider support it.
>> >> >
>> >> > Thanks!
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9553945
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> > ------------------------
>> > Architect, LogicBlaze (http://www.logicblaze.com/)
>> > Blog: http://gnodet.blogspot.com/
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9555207
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9557409
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: servicemix-http auth-basic support
Posted by jlbarrera <jl...@sadiel.es>.
OK. I copy the wsdl in conf directory (for test) and in the configuration
xbean file:
wsdlResource="conf/main.wsdl"
(in the provider)
But now i received:
HTTP ERROR: 404
Unable to find requested resource
RequestURI=/test/VerificarFirmas/main.wsdl
Powered by Jetty://
gnodet wrote:
>
> Authentication will not work for retrieving the wsdl.
> You should grab it yourself and copy it in the SU instead
> of using the remote url.
>
> On 3/19/07, jlbarrera <jl...@sadiel.es> wrote:
>>
>>
>> Thanks, by your response
>>
>> Becasuse i have problems with it, i always received the next error:
>>
>> WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document
>> at
>> 'https://vmw2000/axis/services/VerificarFirmas?wsdl'.: Server returned
>> HTTP
>> response code: 401 for URL:
>> https://vmw2000/axis/services/VerificarFirmas?wsdl: java.io.IOException:
>> Server returned HTTP response code: 401 for URL:
>> https://vmw2000/axis/services/VerificarFirmas?wsdl
>> ....
>>
>> The error code 401 is unauthorized.. I will try to debugging the code to
>> know what it's the problem.
>>
>> Thanks.
>>
>>
>> gnodet wrote:
>> >
>> > Yeah.
>> > Sorry about this unanswered question.
>> >
>> > On 3/19/07, jlbarrera <jl...@sadiel.es> wrote:
>> >>
>> >>
>> >> I view the source code of
>> >> org.apache.servicemix.http.processors.ProviderProcessor.java:
>> >>
>> >> // Set authentication
>> >> if (endpoint.getBasicAuthentication() != null) {
>> >> endpoint.getBasicAuthentication().applyCredentials(
>> >> getClient() );
>> >> }
>> >>
>> >> I think that basic authentication is supported, it's right?
>> >>
>> >> Thanks
>> >>
>> >>
>> >> jlbarrera wrote:
>> >> >
>> >> > Is basic authentication supported by servicemix-htt PROVIDER ?
>> >> >
>> >> > I have seen that in the
>> >> > http://incubator.apache.org/servicemix/servicemix-http.html
>> >> servicemix's
>> >> > documentation the consumer endpoint support basic authentication,
>> but
>> >> i
>> >> > don't know if the provider support it.
>> >> >
>> >> > Thanks!
>> >> >
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9553945
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >
>> >
>> > --
>> > Cheers,
>> > Guillaume Nodet
>> > ------------------------
>> > Architect, LogicBlaze (http://www.logicblaze.com/)
>> > Blog: http://gnodet.blogspot.com/
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9555207
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9556363
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: servicemix-http auth-basic support
Posted by Guillaume Nodet <gn...@gmail.com>.
Authentication will not work for retrieving the wsdl.
You should grab it yourself and copy it in the SU instead
of using the remote url.
On 3/19/07, jlbarrera <jl...@sadiel.es> wrote:
>
>
> Thanks, by your response
>
> Becasuse i have problems with it, i always received the next error:
>
> WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document
> at
> 'https://vmw2000/axis/services/VerificarFirmas?wsdl'.: Server returned
> HTTP
> response code: 401 for URL:
> https://vmw2000/axis/services/VerificarFirmas?wsdl: java.io.IOException:
> Server returned HTTP response code: 401 for URL:
> https://vmw2000/axis/services/VerificarFirmas?wsdl
> ....
>
> The error code 401 is unauthorized.. I will try to debugging the code to
> know what it's the problem.
>
> Thanks.
>
>
> gnodet wrote:
> >
> > Yeah.
> > Sorry about this unanswered question.
> >
> > On 3/19/07, jlbarrera <jl...@sadiel.es> wrote:
> >>
> >>
> >> I view the source code of
> >> org.apache.servicemix.http.processors.ProviderProcessor.java:
> >>
> >> // Set authentication
> >> if (endpoint.getBasicAuthentication() != null) {
> >> endpoint.getBasicAuthentication().applyCredentials(
> >> getClient() );
> >> }
> >>
> >> I think that basic authentication is supported, it's right?
> >>
> >> Thanks
> >>
> >>
> >> jlbarrera wrote:
> >> >
> >> > Is basic authentication supported by servicemix-htt PROVIDER ?
> >> >
> >> > I have seen that in the
> >> > http://incubator.apache.org/servicemix/servicemix-http.html
> >> servicemix's
> >> > documentation the consumer endpoint support basic authentication,
> but
> >> i
> >> > don't know if the provider support it.
> >> >
> >> > Thanks!
> >> >
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9553945
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >>
> >>
> >
> >
> > --
> > Cheers,
> > Guillaume Nodet
> > ------------------------
> > Architect, LogicBlaze (http://www.logicblaze.com/)
> > Blog: http://gnodet.blogspot.com/
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9555207
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/
Re: servicemix-http auth-basic support
Posted by jlbarrera <jl...@sadiel.es>.
Thanks, by your response
Becasuse i have problems with it, i always received the next error:
WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at
'https://vmw2000/axis/services/VerificarFirmas?wsdl'.: Server returned HTTP
response code: 401 for URL:
https://vmw2000/axis/services/VerificarFirmas?wsdl: java.io.IOException:
Server returned HTTP response code: 401 for URL:
https://vmw2000/axis/services/VerificarFirmas?wsdl
....
The error code 401 is unauthorized.. I will try to debugging the code to
know what it's the problem.
Thanks.
gnodet wrote:
>
> Yeah.
> Sorry about this unanswered question.
>
> On 3/19/07, jlbarrera <jl...@sadiel.es> wrote:
>>
>>
>> I view the source code of
>> org.apache.servicemix.http.processors.ProviderProcessor.java:
>>
>> // Set authentication
>> if (endpoint.getBasicAuthentication() != null) {
>> endpoint.getBasicAuthentication().applyCredentials(
>> getClient() );
>> }
>>
>> I think that basic authentication is supported, it's right?
>>
>> Thanks
>>
>>
>> jlbarrera wrote:
>> >
>> > Is basic authentication supported by servicemix-htt PROVIDER ?
>> >
>> > I have seen that in the
>> > http://incubator.apache.org/servicemix/servicemix-http.html
>> servicemix's
>> > documentation the consumer endpoint support basic authentication, but
>> i
>> > don't know if the provider support it.
>> >
>> > Thanks!
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9553945
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Architect, LogicBlaze (http://www.logicblaze.com/)
> Blog: http://gnodet.blogspot.com/
>
>
--
View this message in context: http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9555207
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: servicemix-http auth-basic support
Posted by Guillaume Nodet <gn...@gmail.com>.
Yeah.
Sorry about this unanswered question.
On 3/19/07, jlbarrera <jl...@sadiel.es> wrote:
>
>
> I view the source code of
> org.apache.servicemix.http.processors.ProviderProcessor.java:
>
> // Set authentication
> if (endpoint.getBasicAuthentication() != null) {
> endpoint.getBasicAuthentication().applyCredentials(
> getClient() );
> }
>
> I think that basic authentication is supported, it's right?
>
> Thanks
>
>
> jlbarrera wrote:
> >
> > Is basic authentication supported by servicemix-htt PROVIDER ?
> >
> > I have seen that in the
> > http://incubator.apache.org/servicemix/servicemix-http.html servicemix's
> > documentation the consumer endpoint support basic authentication, but i
> > don't know if the provider support it.
> >
> > Thanks!
> >
>
> --
> View this message in context:
> http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9553945
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>
--
Cheers,
Guillaume Nodet
------------------------
Architect, LogicBlaze (http://www.logicblaze.com/)
Blog: http://gnodet.blogspot.com/
Re: servicemix-http auth-basic support
Posted by jlbarrera <jl...@sadiel.es>.
I view the source code of
org.apache.servicemix.http.processors.ProviderProcessor.java:
// Set authentication
if (endpoint.getBasicAuthentication() != null) {
endpoint.getBasicAuthentication().applyCredentials(
getClient() );
}
I think that basic authentication is supported, it's right?
Thanks
jlbarrera wrote:
>
> Is basic authentication supported by servicemix-htt PROVIDER ?
>
> I have seen that in the
> http://incubator.apache.org/servicemix/servicemix-http.html servicemix's
> documentation the consumer endpoint support basic authentication, but i
> don't know if the provider support it.
>
> Thanks!
>
--
View this message in context: http://www.nabble.com/servicemix-http-auth-basic-support-tf3368485s12049.html#a9553945
Sent from the ServiceMix - User mailing list archive at Nabble.com.