473,749 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Problem accessing a c# soap service from an atl/mfc client using SSL

Hi

I have some problems accessing a soap service made in c# using an
ATL/MFC client over SSL. I have tried both CSoapMSXMLInetC lient and
CSoapWininetCli ent as template arguments with my stub class.

The service is returning with the error code: -2147467259. I have not
succeeded to find any additional information about the error. The
"SoapFault" method seems to return only a bunch of question marks.

There is no problem accessing the soap service from the ATL/MFC client
without SSL support. Also, accessing the c# soap service from a c#
client is not a problem (both with and without SSL support). The
sproxy.exe generates some warnings during the production of the proxy
class.

These warnings are:

warning SDL4001 : only one SOAP port will be processed.

warning SDL4004 : skipping currently unsupported element, with
[
namespace = "http://schemas.xmlsoap .org/wsdl/mime/"
name = "mimeXml"
]

Could these warnings cause any problems when using SSL? As mention
before, they do not cause any problems without SSL.

I have also tried to set up an ATL soap server. Using SSL with this
service is not a problem. The problem seems to be when mixing
technologies.

Both c# and Atl soap services are only simple hello world services
made by the Visual Net wizard.

I would appreciate some suggestions.

Best regards
Eirik
Nov 17 '05 #1
1 3958
ei*****@online. no (Eirik Brattbakk) wrote in message news:<75******* *************** ****@posting.go ogle.com>...
Hi

I have some problems accessing a soap service made in c# using an
ATL/MFC client over SSL. I have tried both CSoapMSXMLInetC lient and
CSoapWininetCli ent as template arguments .............


I have found additional information about the error. (I used the
CSoapFault object from the m_fault. )

The error reported was:

"Server found request content type to be '', but expected 'text/xml'."

This symptom was reported in the article
http://support.microsoft.com/default...b;EN-US;324011. It
tells that it is made a quick fix to solve the problem, and this fix
is to be included in a later SP release. The article is from October
16, 2002 and I think the fix of this problem should be included with
one of the SPs since then. I use NET v 1.0 with SP3 (Version:
1.0.3705.6018). I have tried to find information about this bug in the
SP release documentation and was not able to find anything particular
about this problem.

--
Eirik
Nov 17 '05 #2

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

Similar topics

3
1724
by: Khalique | last post by:
Problem: Accessing web service causes exception – “The request failed with HTTP status 401 : Access Denied”. I created a web service on my local machine and then developed a separate test solution (windows app) to test it. The above mentioned exception occurs when program executes a call to a function in web service. I created another simple web service that has only one method, HelloWorld. Then I used the test application to call...
6
5455
by: Siddharth | last post by:
Hi all, I have been trying to access a web service over HHTPS but have not been successful. The client has provided us with a pfx file that is password protected. I successfully exported the certificate to .cer format. My code is using WSE to access the web service. I basically load the certificate from the personal store and attach it to the web service proxy object. However, I keep getting the error: "The underlying connection was...
0
1048
by: martin | last post by:
I'm trying to implement a simple web service client using the SoapClient class. I need to add support for new web services later without restarting, let alone recompiling, my application and so generating code using "add web reference" is not an option for me. Anyway, while using the SoapClient.SendRequestResponse() method I keep getting AsynchronousOperationException regardless of which one of my test web services I use and regardless...
0
4533
by: karazy | last post by:
I have been reading all the forums and understand whats going wrong but am not sure how to fix it. I have written a basic doc/literal web service. But when it is called by a .net client it will return NULL. I used proxytrace to check the data that goes back and forward. I can see my request and response. See below at the bottom. I believe that this error occurs because of a problem .Net has in reading my doc/literal WSDL. Or my Axis...
0
1536
by: jacorona | last post by:
Hello all, I have found a problem accesing a web service hosted in IIS 5.0 in a W2K box. The web service site is configured to accept both integrated windows authentication and client certificates. I have a WinForm 2.0 client application and when it presents a certificate it works fine, but when it tries to access the web service using integrated security it times out. Both accesses are via an https: uri. Moreover, an .aspx page in the...
15
2678
by: arnuld | last post by:
-------- PROGRAMME ----------- /* Stroustrup, 5.6 Structures STATEMENT: this programmes *tries* to do do this in 3 parts: 1.) it creates a "struct", named "jd", of type "address". 2. it then adds values to "jd" 3.) in the end it prints values of "jd".
0
1431
by: allavarapu | last post by:
Hi All, I am trying to connect .NET web service using HTTPS. I wrote a python script using https. For that need to send SOAP message to the server. But it is giving error 401.3 execution access is denied.(SOAP message not processing) I have a doubt can we access web services using HTTPS only, or need to have any other. I am sending the code:: import httplib a=open('/root/Desktop/b.xml','r') #SOAP...
5
3075
by: =?Utf-8?B?TWFyaw==?= | last post by:
Hi... I've got a .Net client to a soap service that works for the most part, but there are a couple of things I'd like to improve: 1) the first request to the client wrapper always takes 12-15 seconds even though the web server shows < a half second spent on the request. What takes so much time for the client wrapper to warm up? All subsequent requests, even to the same method, take the half second.
3
2083
by: rbpkirow | last post by:
Hello. I have a client-server app. The server is developed with apache and perl. The client is developed in Visual C++. When I try to access from C++ client to a web service, I receive the next error: "ATLSOAP: CSoapRootHandler::GetElementEntry -- element not found: MyRequestResponse." in the function of WebReference.h "__atlsoap_hr = BeginParse(__atlsoap_spReadStream);" Then I go to SOAP UI and make the same call with the same...
0
8833
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,...
1
9335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8257
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...
1
6801
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4709
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
4881
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2794
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2218
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.