x404.co.uk
http://www.x404.co.uk/forum/

Messing around with SOAP
http://www.x404.co.uk/forum/viewtopic.php?f=4&t=12330
Page 1 of 1

Author:  Fogmeister [ Tue Feb 01, 2011 3:41 pm ]
Post subject:  Messing around with SOAP

I'm trying to connect to a sample wsdl that we have at work and I'm 99% of the way there.

However, I'm getting a C++ compile error and I don't know what it's telling me.

The error is something along the lines of...

Code:
error: no matching function for call to wsaObj::_ns1_helloworld(_ns3_helloworld&, _ns3_helloworldResponse&)
note: candidates are: virtual int wsaObj::_ns1_helloworld(_ns3_helloworld*, _ns3_helloworldResponse*)


Now, I know that the & is because I'm passing a reference of the object in but what does the * mean and what is the compiler trying to tell me?

Any help appreciated.

Thanks!

Author:  forquare1 [ Tue Feb 01, 2011 10:54 pm ]
Post subject:  Re: Messing around with SOAP

I thought a * was referencing a pointer, while & was dereferencing a pointer?

I don't know much/any C, no C++, and could be wildly wrong...

Author:  Fogmeister [ Tue Feb 01, 2011 10:57 pm ]
Post subject:  Re: Messing around with SOAP

forquare1 wrote:
I thought a * was referencing a pointer, while & was dereferencing a pointer?

I don't know much/any C, no C++, and could be wildly wrong...

Oh, you might be right actually :D

::Goes back to C++ for beginners book::
:oops:

The most annoying thing is that doing SOAP stuff on the iPhone was ridiculously easy! In fact, there was nothing to it. I created my own XML files and wrote my own web service consumer and BOOM done.

With C++ it's a whole other ball game.

I might come back to this later :D

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/