Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WebService and Credentials
Message
De
21/07/2005 10:32:32
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Web Services
Titre:
WebService and Credentials
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows XP
Divers
Thread ID:
01034656
Message ID:
01034656
Vues:
107
Hi,
I have problem with external webservice.
I create .NET project and add WebReference to WSDL file. VS.NET(2003) generate proxy class.
But for use webservice I must send Login/Password to server. Its works over HTTPS, port 443.

Well .. my code is

Dim myCache As New CredentialCache
myCache.Add(New Uri(Actebis.Url), "basic", New NetworkCredential(Me.txtLogin.Text, Me.txtPassword.Text))
Actebis.Credentials = myCache.GetCredential(New Uri(Actebis.Url), "basic")

I send request. Soap message is good.. but I always got "Access Denied" error from server.
When I try to use "SOAP ToolKit3" Trace Utility.. and send my message to http://localhost:8080.. I got next result
xml is ok.. but seems HTTPHeader has not enought info. Where is login/password and how it passed to server? soapaction is empty too.

Any help!

Here is message header

AwAAA_someskipped_AAAAAA
Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.573)
text/xml; charset=utf-8
""
1172
100-continue
Keep-Alive
localhost:8080
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform