473,386 Members | 1,763 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,386 software developers and data experts.

Web services via native C++

Hi

I am trying to invoke a web service from a native (i.e. unmanaged) MFC app.
I was able to invoke a trivial web service from unmanaged C++ using ATL but
I still have difficulties.

The problem now is that the nontrivial WSDL file describing the web service
I am to implement has a schema with widespread use of "extension"s of
complexTypes (akin to inheritance). While wsdl.exe can generate proxy classes
for these schema sproxy.exe does not support it and the attempt to add a web
reference to such a web service fails. Sproxy.exe also emits several warnings
about attributes not be being supported.

Does anyone have a suggestion as to how a web service can be invoked from a
native (non-COM) C++/MFC app if sproxy can't create a proxy class from the
WSDL file? Is there an alternative to SPROXY.EXE or I am going about this the
wrong way?

--
Thanks!
Christopher Brack
ch*********@c3ilex.com
Nov 23 '05 #1
1 4561

May be gSoap could help. See on http://www.cs.fsu.edu/~engelen/soapmain.html

Lionel.

"Christopher Brack" <Ch**************@discussions.microsoft.com> a écrit
dans le message de news:
C8**********************************@microsoft.com...
Hi

I am trying to invoke a web service from a native (i.e. unmanaged) MFC
app.
I was able to invoke a trivial web service from unmanaged C++ using ATL
but
I still have difficulties.

The problem now is that the nontrivial WSDL file describing the web
service
I am to implement has a schema with widespread use of "extension"s of
complexTypes (akin to inheritance). While wsdl.exe can generate proxy
classes
for these schema sproxy.exe does not support it and the attempt to add a
web
reference to such a web service fails. Sproxy.exe also emits several
warnings
about attributes not be being supported.

Does anyone have a suggestion as to how a web service can be invoked from
a
native (non-COM) C++/MFC app if sproxy can't create a proxy class from the
WSDL file? Is there an alternative to SPROXY.EXE or I am going about this
the
wrong way?

--
Thanks!
Christopher Brack
ch*********@c3ilex.com

Nov 23 '05 #2

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

Similar topics

2
by: parthan | last post by:
We are running our c++ program, which uses JNI, as Windows services. Program is getting CLASSPATH env variable correctly and also initializes JVM successfully. After initializing JVM, programs...
4
by: jm | last post by:
I understand how an XML formatted SOAP message is used to request items from a web service and how the XML formatted SOAP response is used. I am still missing the big picture, however. When is...
3
by: rashid | last post by:
Sorry for posting this message on general . kindly direct this message to the specific group. I know we can invoke the Native Code from .Net but can we generate Native Code in .Net( Native Code...
0
by: Stylus Studio | last post by:
Stylus Studio 6 XML Enterprise Edition Now Integrates with TigerLogic XDMS XQuery and Native XML Database Bedford, MA, -- Stylus Studio ( http://www.stylusstudio.com ), the industry-leading...
10
by: noleander | last post by:
I've got an application that uses Pthread to do threading. Mostly Im using Condition Variables and the associated function calls: - pthread_cond_wait() - pthread_cond_signal() -...
0
by: Ganesh Ramamurthy | last post by:
Hi Experts, I am using System.DirectoryServices to authenticate my users who are in the LDAP. I am using the Active Directory Users in my web application. I am creating the native object to...
2
by: Haroon_Saeed | last post by:
Hey, I wrote a managed c++ class library in viusal studio 2005. This managed c++ dll calls native C++ methods of an SDK. When I referenced this managed c++ library in a console applciation...
14
by: Ben Voigt | last post by:
Under certain circumstances I get: First-chance exception at 0x7c812a5b (kernel32.dll) in LTMGUI.exe: 0xC0020001: The string binding is invalid. First-chance exception at 0x7c812a5b (kernel32.dll)...
0
by: Morgan Cheng | last post by:
I have one webservice written in MC++, which uses another native DLL deployed in %webservice_install_dir%\bin folder. The API invocation between MC++ and native C++ looks seamless. The compilation...
1
by: jc | last post by:
Hello. I'm doing some prep work before taking the vb.net brainbench. I noticed one of the topics is : Consuming resources - Windows Native Calls Where can I get more info on this? What...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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.