.NET Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgramming.NET Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old February 6th, 2003, 07:34 AM
themuppeteer themuppeteer is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 8 themuppeteer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy MSSoap and Visual C++ problem

Hello!

I have this problem with MSSOAP 3.0 in visual c++.

I read the article on
http://www.devarticles.com/art/1/123/2

I made a simple console application.
I just want a simple web-service to run..
I managed to get the first piece of the code to compile after some adjustements but after the
connector->Property["EndPointURL"="http:\\150.158.196/world.wsdl"; the program crashes with an unhandled exception.

Can anyone help me ?


-----------------------------------------CODE -----------------------------------

// console.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "iostream.h"
#import "msxml3.dll"

using namespace MSXML2;
#import "C:\Program Files\Common Files\MSSoap\Binaries\MSSOAP30.dll" exclude("IStream", "ISequentialStream", "_LARGE_INTEGER", "_ULARGE_INTEGER", "tagSTATSTG", "_FILETIME")


using namespace MSSOAPLib30;




int main(int argc, char* argv[])
{

ISoapConnectorPtr connector;
connector.CreateInstance(__uuidof(HttpConnector30) );

connector->Property["EndPointURL"="http:\\150.158.196/world.wsdl";



printf("Hello World!\n");
cin.get();
return 0;

}

--------------------------------------------------END CODE -------------

Reply With Quote
  #2  
Old February 6th, 2003, 03:57 PM
crazytrain81 crazytrain81 is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2002
Posts: 232 crazytrain81 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 16
try {
connector->Property["EndPointURL"="http:\\150.158.196/world.wsdl"];
}
catch(Exception ex) {
console.writeline(ex.tostring());
}

find out what the exception is and fix it

that's c# code btw, i'm sure you get the idea tho

Reply With Quote
  #3  
Old February 7th, 2003, 01:56 AM
themuppeteer themuppeteer is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 8 themuppeteer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Wink

Hello and thnx for the reply,

I found what the error is:
If you want to use \ you have to put 2 to get one, so \\. Anyway it works now with http://...

I'm still trying to get an example to run in visua c++. I have to write sample programs for webservices in all different languages.
visual c++ seems the hardest. You have to do everything yourself.
darn...

Reply With Quote
  #4  
Old February 7th, 2003, 07:49 AM
themuppeteer themuppeteer is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 8 themuppeteer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I 'm stuck... everytime I run my program, the connect returns 0...
and nothing happens.

Anyone who has experience with mssoap on visual c++?
Because I don't understand everything (like, what the hell is uri ? do I need my wsdl? and so on...)

I already changed from toolit 3.0 to 2.0 but it still doesn't work...



here's what comes in the debug box:
Loaded 'C:\WINNT\System32\ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\KERNEL32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\OLE32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\rpcrt4.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\ADVAPI32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\GDI32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\USER32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\OLEAUT32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\clbcatq.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\msvcrt.dll', no matching symbolic information found.
Loaded 'C:\Program Files\Common Files\MSSoap\Binaries\MSSOAP1.dll', no matching symbolic information found.
Loaded 'C:\Program Files\Common Files\MSSoap\Binaries\Resources\1033\MSSOAPR.dll', no matching symbolic information found.
Loaded 'C:\Program Files\Common Files\MSSoap\Binaries\HLSC10.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\wininet.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\CRYPT32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\msasn1.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\shlwapi.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\ws2_32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\ws2help.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\winmm.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\mmdrv.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\SHELL32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\comctl32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\SCHANNEL.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\secur32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\USERENV.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\wsock32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\dnsapi.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\security.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\msafd.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\wshtcpip.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\RNR20.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\iphlpapi.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\icmp.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\mprapi.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\samlib.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\NETAPI32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\netrap.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\WLDAP32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\activeds.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\adsldpc.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\rtutils.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\SETUPAPI.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\RASAPI32.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\RASMAN.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\tapi32.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\DHCPCSVC.DLL', no matching symbolic information found.
Loaded 'C:\WINNT\system32\winrnr.dll', no matching symbolic information found.
Loaded 'C:\WINNT\system32\rasadhlp.dll', no matching symbolic information found.

Last edited by themuppeteer : February 7th, 2003 at 07:53 AM.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgramming.NET Development > MSSoap and Visual C++ problem


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap