Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / October 2005

Tip: Looking for answers? Try searching our database.

Frustrating Lack of support with Sproxy.exe

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rob Schieber - 10 Oct 2005 19:19 GMT
I am pretty frustrated with Microsoft and their lack of support with the
 Sproxy.exe tool included with VS.Net.

Im using VS.Net EA and I wanted to create a C++ webreference to the
Amazon.com web service:
http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl

Now Sproxy.exe blows errors left and right when you try to add this.  It
seems that Sproxy doesn't now how to interpret attributes, lists,
annotations etc...    This seems to have been a known issue by microsoft
for going on 3 years now and they still havent fixed it.  So either they
just plain havent fixed sproxy.exe, or they have and aren't going to
distribute the updated version to VS 2002 users.  Either way, I think
the lack of support stinks.

P.S.  Since MS doesn't seem to care too much about Sproxy, how are VC++
users supposed to consume web services, seeing as how they are retiring
the soap toolkit?  Am I missing something here?

Signature

Rob Schieber

Jochen Kalmbach [MVP] - 10 Oct 2005 20:28 GMT
Hi Rob!
> I am pretty frustrated with Microsoft and their lack of support with the
>  Sproxy.exe tool included with VS.Net.

I do not know sproxy... so I cannot help you with that problem... sorry.

> P.S.  Since MS doesn't seem to care too much about Sproxy, how are VC++
> users supposed to consume web services, seeing as how they are retiring
> the soap toolkit?  Am I missing something here?

It seems that MS will not improve the C++ SOAP-Toolkit... this is very
bad for all (native) C++ developers; I agree completely!
See:
http://msdn.microsoft.com/webservices/webservices/building/soaptk/default.aspx

You also can use other SOAP C++ implementations. For example:
http://gsoap2.sourceforge.net/

The recommeded way from MS is to use managed C++ and then use the
.NET-Framework Web-Services.

Signature

Greetings
  Jochen

   My blog about Win32 and .NET
   http://blog.kalmbachnet.de/

Tomas Restrepo (MVP) - 11 Oct 2005 00:34 GMT
> You also can use other SOAP C++ implementations. For example:
> http://gsoap2.sourceforge.net/

Another option is Simon Fell's PocketSOAP:
http://www.pocketsoap.com/pocketsoap/

Signature

Tomas Restrepo
tomasr@mvps.org
http://www.winterdom.com/

Peter Oliphant - 11 Oct 2005 01:20 GMT
Just to affirm Tomas's point, the Debug version initializes most variables
to zero. The Release version will not initialize anything 'naturally'
(meaning without you writing code to do so), and hence many of the variable
are often given a 'random' value upon loading ('random' in that they keep
the contents of the memory addresses they happen to get assigned to).

Thus, your new errors are likely the result of some variable that works fine
if initialized to zero, but don't work if not initialized to zero (or not in
some range, non-negative, etc.). Since an application doesn't always get
loaded at the same place and memory, and because even the same place in
memory can have different values depending on when you load your program
(that's why it's RAM not ROM...hehe), you can get random bugs and un-stable
executions of the Release version (i.e., it might do different things on
different runs depending on the 'random' nature of your variables) even if
it is totally stable in Debug mode.

Hope that helps!!!  : )

>> You also can use other SOAP C++ implementations. For example:
>> http://gsoap2.sourceforge.net/
>
> Another option is Simon Fell's PocketSOAP:
> http://www.pocketsoap.com/pocketsoap/
Peter Oliphant - 11 Oct 2005 01:24 GMT
OK, this was suppose to be a response to another thread....ooooops! :)

> Just to affirm Tomas's point, the Debug version initializes most variables
> to zero. The Release version will not initialize anything 'naturally'
[quoted text clipped - 20 lines]
>> Another option is Simon Fell's PocketSOAP:
>> http://www.pocketsoap.com/pocketsoap/

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.