Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > .NET Web Services
.NET Web Services Discussions about .NET XML Web Service technologies including ASMX files, WSDL and SOAP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET Web Services section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 11th, 2005, 12:34 PM
Registered User
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Web Services questions


I have been supplied a WSDL and am tasked invoking that service
from within our company's product (which is all MFC/C++; no COM).
That is I must modify the MFC/C++ to act as a web service client.

I see that a .NET web service client typically uses a proxy class, generated from the WSDL, to handle the underlying communication details of SOAP, HTTP, marshalling, etc. For C# and VB.NET this proxy class is created by WSDL.EXE; for C++ however the proxy is generated by SPROXY.EXE.

My problem is that the schema section of the WSDL I have been provided make widespread use of XSD extensions. While WSDL.EXE can generate proxy classes for this WSDL without a problem, SPROXY.EXE does not support XSD extensions and fails to produce the proxy class.

Furthemore, the proxy class code that SPROXY.EXE generates seems to be fairly complex ATL code, even for very trivial web services (i.e. there's no way I can write this by hand).

QUESTION: What are my options for invoking a (nontrivial) web service from a non-COM C++ client if the WSDL file for the service and SPROXY.EXE cannot be used to create the proxy class?

Any help is greatly appreciated! Thanks!

Similar Threads
Thread Thread Starter Forum Replies Last Post
web services tanzi C# 1 September 23rd, 2007 02:59 AM
questions about web services collie .NET Web Services 0 September 30th, 2006 05:54 AM
Help for Web Services vivekshah C# 0 June 8th, 2006 08:15 AM
Web Services Error (Ch18) - No Web Disc. Info. ElPato BOOK: Beginning ASP.NET 1.0 2 April 13th, 2005 03:27 PM
Web Services qadeerahmad Forum and Wrox.com Feedback 3 August 7th, 2004 01:02 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.