satype, SAFEARRAY and SOAP 
Author Message
 satype, SAFEARRAY and SOAP

hi all!

i've created a simple project in vc++ 7.0 - ATL Server Web Service. now i
want to add a method to pass an array into web service. as i found in msdn
library i was trying:

...
__interface Itest_out_paramService
{
   [id(1)] HRESULT MyMethod([in, satype(BSTR)] SAFEARRAY **p);

Quote:
};

...
class Ctest_out_paramService : public Itest_out_paramService {
   public:
...
   [ soap_method ]
   HRESULT MyMethod(SAFEARRAY **p)
   {
      return S_OK;
   }

Quote:
};

but i got a couple of compiler error:

Compiling...
test_out_param.cpp
d:\work\vs.net\vc\test\test_out_param\test_out_param\test_out_param.h(145) :
error C2338: soap_method
Atl Attribute Provider : error ATL2200: Invalid struct field
d:\work\vs.net\vc\test\test_out_param\test_out_param\test_out_param.h(145) :
error C2338: soap_method
Atl Attribute Provider : error ATL2220: Failed processing "MyMethod"

where was i wrong?

thank you.

--
With best wishes,
            Alexander Cherny,
            Software Engineer, GainsKeeper, Inc.



Sun, 15 Aug 2004 06:05:03 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Getting Microsoft SOAP to work with an Apache SOAP server

2. Copy 1D safeArray to 2D safearray

3. How to create safearray or safearray?

4. Accessing Safearray of Safearrays in C++

5. ATL Server SOAP Headers incompatible with C# Webservice SOAP Headers?

6. Soap Extensions - Trying to log the soap messages (response/request).

7. how to use SOAP Toolkit 3.0 with the c#

8. Error when XML-parsing large SOAP responses in a VC7/ATL project

9. ATL server/.NET soap header compilation issue

10. Encrypt/Decrypt Stream or SOAP formatter?

11. getting HTTP GET or SOAP variables

12. SOAP-Attachment 1.2 in c# web service?

 

 
Powered by phpBB® Forum Software