473,394 Members | 1,769 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

.NET/COM Interop with Web Services (WSE) & app.config?

(note: orginally posted to the dotnet.framework.webservices.enhancements
folks - thought this group may have more experience in this area. Ta, Laura.)

Hi,

I have created a secure Web Service via WSE with the use of WS-Policy. The
Web Service has been tested using a .NET client Console Application and
everything works.

However, the Web Service needs to be called from a VB6 application (running
on Win2K/XP). I re-created the client console application as a .NET dll.
Using .NET/COM Interop I installed the class library in the GAC and executed
regasm.exe with the /tlb and /codebase options (registered the type libraries
for the .NET assembly). I tried calling the .NET dll from VB6 and the
following
error was reported back:

System.Web.Services.Protocols.SoapHeaderException: WSE402: The message does
not conform to the policy it was mapped to.

It *appears* that the .NET dll was unable to see/use the app.config and
policyCache.config files and thus the call to the web service failed (btw,
the
..NET dll uses the same policyCache.config file as per the console (which
worked) i.e. this is not a policy issue).

How can I get the .NET dll to read the config files when invoked by a VB6
application? Is there a round-about hack?

Many Thanks,

Laura Papez.

N.B. project developed using VB.NET, ASP.NET, & WSE 2.0 SP2 (policies and
X.509
certificates) on XP.

Nov 23 '05 #1
0 1783

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

Similar topics

0
by: roy | last post by:
I try to call com written in VB 6.0. When I use VS.net Studio to do the debuging, some time it works fine, some time I got the following message: Server Error in '/GISOnlineReservation'...
1
by: Pepe Le Peu | last post by:
I have been looking at Remoting and Web Services and I think I can do almost anything I want with Web Services. Here's my intellectual puzzle though: Suppose I wanted to create a P2P...
2
by: Ray Cuadra | last post by:
Is there a way to silently install WSE 2.0?
1
by: Eddie J | last post by:
I have a web service (#1) that contacts another web service (#2) that requires a digital certificate for access. When#1 calls #2, I'm getting a HTTP 403 error: Access Forbidden. There are a few...
0
by: bbalet.free.fr | last post by:
Hello, Anyone succeed to make work a .Net WebService client WSE with WSS4J (I always get the error message 'Signature Verification failed') ? On the server my WSDD config is: <deployment...
0
by: SuperJason | last post by:
We have a web application that uses 2 different virtual directories. - The first is an ASP.NET application that has web services that can be used to authenticate various clients. - The second is...
1
by: Nate | last post by:
Is it possible to run WSE enabled web services and unsecured web services side-by-side? The issue is that my web server contains various WSE enabled web services subscribed to by smart client...
2
by: Steve | last post by:
I want to call my web service from a class library and have that library handle all the wse stuff, so that applications using that library don't have to worry about it. Is that possible? I've...
4
by: Joseph Geretz | last post by:
I'm trying to convert my DIME Web Service (WSE 2.0) to use MTOM (WSE 3.0). All the literature I'm reading specifies that I'll need to check both: Enable this project for Web Services Enhancements...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...

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.