473,808 Members | 2,807 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

VBA (Acces2000): Basic Authentication SoapClient to SoapServer

Hi all,

I have a problem with accessing a webservice from Access2000 (=VBA).
I hope I can place this question in this group. If no, please give me an
better place it.

So, i'm try to connect to a webservice with an Soapcall to exchange info
with it.

I think that the problem is the Basic Authentication (an other call to an
other webserver, without Basic Authentication, works correct).

The working code is:

Private sc_BriefnrResol ver As SoapClient
Private Const c_WSDL_URL As String = _
"http://webdienstenxxxx xxxxxxxxxxxxxxx .asmx?WSDL"
Private Sub Class_Initializ e()
Set sc_BriefnrResol ver = New SoapClient
sc_BriefnrResol ver.mssoapinit c_WSDL_URL
End Sub
This works, and the rest of the code is here not important.

The call of the "problem" goes wrong at the statement:
"sc_BriefnrReso lver.mssoapinit c_WSDL_URL". The respons is that the "access
denied".

What must I have to do so that these call passes the Basic Authentication? ???

Thanks

Dec 6 '07 #1
0 1965

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
9293
by: Michael Foord | last post by:
#!/usr/bin/python -u # 15-09-04 # v1.0.0 # auth_example.py # A simple script manually demonstrating basic authentication. # Copyright Michael Foord # Free to use, modify and relicense. # No warranty express or implied for the accuracy, fitness to purpose
2
4105
by: RobertHillEDS | last post by:
While using the Soap generated ASP code, I would like to dump the raw contents of the request and response objects using Response.AppendToLog. I have tried using variations of the following code, but I may be barking up the wrong tree with this approach. Any expert help would greatly be appreciated. Dim objReader Set objReader = CreateObject("MSSOAP.SoapReader") objReader.Load Request
4
4842
by: Dave | last post by:
Hi, Is there anyway to mimic forms authentication's loginUrl and RedirectFromLoginPage functionality using Windows authentication? We are developing intranet sites using basic authentication and we want to always redirect a user to a default 'splash' or welcome page that is set to anonymous if they are not logged in. This page would have
0
2800
by: Det | last post by:
Hi there I am somewhat stuck with calling a WebService from out of a VB App. My Goal: - Get a WebService invoked under MS - Access 2002, not using the MS-SOAP-Toolkit but the .net - Framework My Restrictions: - The WebService is pure Java, running under WebSphere5.1 - The Request requires Basic Authentication and needs to be SSL
1
6039
by: Yolande | last post by:
Hi there, I try to use MSSOAPLib.soapClient to get the XML data produced by our web services. I have a web method call ReportExec(strID, strRequest). It takes two string arguments and returns a Xml.XmlNode object. When I test the web services using IE, I receive the XML data I want. But when I use MSSOAPLib.soapClient in MS Access, I got an error of “Wrong number of arguments or invalid property assignment.” I don't think this was...
0
1085
by: sherlockweb | last post by:
Hi there, Has anyone run into the problem of persistence not working when using classes & SOAP server lately? There was a thread last year with the same issue: http://groups.google.com.au/group/comp.lang.php/browse_thread/thread/5df2e0e714b207f5/78d16d5e7bf4b8c5?hl=en#78d16d5e7bf4b8c5 The suggestion was to use SoapServer::setPersistence. I have tried that
2
3431
by: jahu | last post by:
Hello! I'm unable to use a webservice exposed on a Sql Server 2005 by using the MSSOAP.SoapClient in Excel 2003 with VBA. The aim I'm focuced on, is to write a function for a Excel Sheet wich resolves some identifiers to strings by using a SQL Server 2005. I thougt to use web services but end up with errors, as you can read furthre down. If my approach to connect Excel 2003 to a Sql Server 2005 is totaly wrong, I would be very happy...
0
16022
by: =?Utf-8?B?S29uc3RhbnRpbg==?= | last post by:
I am currently working on the application that need to simulate basic authentication programmatically using user's credentials that are known. Basically, the need is for a single sign on with a third party application. The scenario is the following: a third party application (iChain I believe, from Novell) is used to authenticate the user against Novell eDirectory. Once authentication is complete a user is taken to a portal from which they...
0
1326
by: raol | last post by:
Hi I would like to connect to a webservice with ws-security- authentication. Is that possible with a php soap-client? I know that http-authentication is no problem, but is there an implementation of the ws-security (similar to wss4J for java) in php? Http-authentication: $client = new SoapClient("some.wsdl", array("login" ="some_name", "password" ="some_password"));
0
9721
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9600
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10373
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9195
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5547
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5685
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3859
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.