G
Guest
Hello all
I've a problem, I need to develop a component to connect a web
service for
sending SMS. The web service it's not implemented in .NET.I need to use basic
authentication (at least that is what I've been told). The most strange thing
is that when I add the web reference in Visual Studio .NET I'm not asked for
authentication. Apart from this, it's the web service who tells me I'm not
authenticated
instead of the server.
I've monitored the HTTP packets, sent and received, of a correct execution.
The
only significant difference is that the header of the first HTTP packet is
the following line:
"Authorization: Basic cGlhj2dsOmcfswnNzcGgg7e="
When it's me who runs the service I can't get that line to be sent.
On the other hand, I've created a test web service in other machine using
..NET
and using basic authentication. When developing a client, at the point that
the web reference
is added, i'm requested to type a user and passwd. When running the client,
I monitor the net and
that line ("...Authorization....") is present.
does anyone know why this line would not be included in the HTTP header when
using an apache server??
Thanks a lot.
I've a problem, I need to develop a component to connect a web
service for
sending SMS. The web service it's not implemented in .NET.I need to use basic
authentication (at least that is what I've been told). The most strange thing
is that when I add the web reference in Visual Studio .NET I'm not asked for
authentication. Apart from this, it's the web service who tells me I'm not
authenticated
instead of the server.
I've monitored the HTTP packets, sent and received, of a correct execution.
The
only significant difference is that the header of the first HTTP packet is
the following line:
"Authorization: Basic cGlhj2dsOmcfswnNzcGgg7e="
When it's me who runs the service I can't get that line to be sent.
On the other hand, I've created a test web service in other machine using
..NET
and using basic authentication. When developing a client, at the point that
the web reference
is added, i'm requested to type a user and passwd. When running the client,
I monitor the net and
that line ("...Authorization....") is present.
does anyone know why this line would not be included in the HTTP header when
using an apache server??
Thanks a lot.