Welcome Guest Register Login Search The Forum Display List of Forum Members
 All Forums
  xmlFUSE
 
Subject Topic: XML Demo doesn´t work Post Reply Post New Topic
Message posted by marco.machado on 05 May 2009 at 7:58am
View marco.machado's Profile Profile   Search for other posts by marco.machado Search   Quote marco.machado Quote   Send Private Message Send Msg  
marco.machado
Standard Member
Standard Member
Brazil
02 May 2009
1 Posts

Hi all

I´m trying to see the xmlfuse working. I´m seen SOAP,WEB services, etc and nothing works. I saw in other forum topic, use have another example. Could you sent it to mee ?

email add: machado@masoftware.com.br

 


Message posted by steve_johnson on 05 May 2009 at 9:26am
View steve_johnson's Profile Profile   Search for other posts by steve_johnson Search   Visit steve_johnson's Homepage www   Quote steve_johnson Quote   Send Private Message Send Msg  
steve_johnson
Avatar
Forum Moderator
Forum Moderator
United States
13 April 2002
266 Posts
Hi Marco

The U.S. Address Information SOAP example should be in working order - I also emailed you a simple SOAP example which returns Bible verses via a web service. Please let me know if you have additional questions.

Thanks

-------------
Steve Johnson
ThinkData Inc.
http://www.thinkdata.com

Message posted by marco_machado on 05 May 2009 at 2:59pm
View marco_machado's Profile Profile   Search for other posts by marco_machado Search   Quote marco_machado Quote   Send Private Message Send Msg  
marco_machado
Standard Member
Standard Member
Brazil
17 March 2008
5 Posts

Thanks Steve

I was reading the xmlfuse pdf and I saw it´s possible use pwcom class to work with COM. I saw the early/late binding examples and an question got me. I have a COM with many of its methods have parameters like *cstring that must returns values from the COM. Is it possible manage it? Using the invoke method, how can I do it?

mCOM.mMethod(*Cstring out1, *cstring out2)

After call this method I have content to out1 and out2 parameters.

Is it clear?


Message posted by marco_machado on 05 May 2009 at 5:14pm
View marco_machado's Profile Profile   Search for other posts by marco_machado Search   Quote marco_machado Quote   Send Private Message Send Msg  
marco_machado
Standard Member
Standard Member
Brazil
17 March 2008
5 Posts

Hi Steve

I think what I wrote in the last post isn´t clear.

I have the following prototype method:

mDoSomeThing(*cstring result, *cstring message),long

The method mDoSomeThing will return values in result and message cstring variables e a executiong status as a method´s return.

if the mCom is the COM I need execute:

status long

mResult cstring(256)

mMessage cstring(256)

code

status = mCom.mDoSomeThing(mResult, mMessage)

message('Done with Status = ' & status & ' Result: ' & mResult & ' Status Message: ' & mMessage)

How Can I get it using Invoke as it is in the early/late binding example?

Thanks a lot

 


Message posted by steve_johnson on 05 May 2009 at 6:17pm
View steve_johnson's Profile Profile   Search for other posts by steve_johnson Search   Visit steve_johnson's Homepage www   Quote steve_johnson Quote   Send Private Message Send Msg  
steve_johnson
Avatar
Forum Moderator
Forum Moderator
United States
13 April 2002
266 Posts
If you buy xmlFUSe, there are examples of this in the demo source code using both early and late binding.

For a method using late binding passing 3 parameters, it would be something like

szMember = 'Open'
hr = rs.Invoke(szMember, DISPATCH_METHOD_PW, 3, _vt(szSQLString), _vt(db), |
                 _vt(ladOpenDynamic), _vt(vtMissing_PW), _vt(vtMissing_PW), vtIDisp);if hr ~= S_OK_PW then ShowCOMError(hr);return.

Early binding examples are in the xmlFUSE demo source as well

Thanks

-------------
Steve Johnson
ThinkData Inc.
http://www.thinkdata.com

Message posted by marco_machado on 06 May 2009 at 1:44am
View marco_machado's Profile Profile   Search for other posts by marco_machado Search   Quote marco_machado Quote   Send Private Message Send Msg  
marco_machado
Standard Member
Standard Member
Brazil
17 March 2008
5 Posts

Hi Steve

Thank you for your answer.

This code you show I saw in examples. But in this case I´m only pass 3 parameter as IN parameter. How can I do for 3 OUT parameters?


Message posted by marco_machado on 06 May 2009 at 2:02am
View marco_machado's Profile Profile   Search for other posts by marco_machado Search   Quote marco_machado Quote   Send Private Message Send Msg  
marco_machado
Standard Member
Standard Member
Brazil
17 March 2008
5 Posts

Ohh sorry, I worked to a company that has a original XMLFUSE copy, but never used corretly yet. What info do you need for us confirm it to you?

As I wrote in the last post, I´d like to get the contents from parameter I pass throught reference, which receive its string contents from the COM. It´s not pass 3 parameter need to run the method. It´s contents returned from the COM by ref

 


Message posted by steve_johnson on 06 May 2009 at 10:39am
View steve_johnson's Profile Profile   Search for other posts by steve_johnson Search   Visit steve_johnson's Homepage www   Quote steve_johnson Quote   Send Private Message Send Msg  
steve_johnson
Avatar
Forum Moderator
Forum Moderator
United States
13 April 2002
266 Posts
See my reply via email

-------------
Steve Johnson
ThinkData Inc.
http://www.thinkdata.com

If you wish to post a reply to this thread you must first Login
If you are not already registered you must first register

Forum Jump Post Reply Post New Topic
Printer Friendly Version Printable version