|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
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 ------------- |
|
#2
|
|||
|
|||
|
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 ![]() |
|
#3
|
|||
|
|||
|
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... |
|
#4
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > MSSoap and Visual C++ problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|