473,403 Members | 2,366 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,403 software developers and data experts.

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 CSoapMSXMLInetClient and
CSoapWininetClient 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 3922
ei*****@online.no (Eirik Brattbakk) wrote in message news:<75**************************@posting.google. com>...
Hi

I have some problems accessing a soap service made in c# using an
ATL/MFC client over SSL. I have tried both CSoapMSXMLInetClient and
CSoapWininetClient 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
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...
6
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...
0
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...
0
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...
0
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....
15
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...
0
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...
5
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...
3
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...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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...
0
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...

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.