Groups > Borland > Dellphi web services soap > Re: Help a Newbie




Help a Newbie

Help a Newbie
Wed, 5 Mar 2008 15:07:42 -0500
Hi --

I am attempting to write my first ever SOAP application to interface with 
QuickBooks.

I am using Delphi 2007. I created a new "SOPA Server Application" and
then 
used the WSDL Importer to import from 
http://developer.intuit.com/uploadedFiles/Support/QBWebConnectorSvc.wsdl.

My first question is, how do I invoke the methods created in the unit by the 
importer from the main web application?

Additionally, I am confused about how this service will be called and then 
invoke QuickBooks. This may be too specific a question (i.e. one that should 
be asked on a QB forum, not here) but if anyone has a simple explaination of 
how this works that would be great.

Thanks

Rich

Post Reply
Re: Help a Newbie
Sun, 9 Mar 2008 12:52:45 -0700
> My first question is, how do I invoke the methods created in the unit by 
> the importer from the main web application?
>
I was able to see how the soap server worked by having it create example 
procedures (this is a checkbox opition in the wizard)
I believe that will answer your question

> Additionally, I am confused about how this service will be called and then

> invoke QuickBooks.
I am not up on the latest QuickBooks so I cannot speak to this.
(Two years ago, I wrote a program in Delphi 6 that imports from QuickBooks 
POS.The program uses their SDK to import the XML.)
I found the developer newsgroup at Intuit to be very helpful.

Gerald

"Richard Morey" <rwmorey71@hotmail.com> wrote in message 
news:47cefdde$1@newsgroups.borland.com...
> Hi --
>
> I am attempting to write my first ever SOAP application to interface with 
> QuickBooks.
>
> I am using Delphi 2007. I created a new "SOPA Server Application"
and then 
> used the WSDL Importer to import from 
> http://developer.intuit.com/uploadedFiles/Support/QBWebConnectorSvc.wsdl.
>
> My first question is, how do I invoke the methods created in the unit by 
> the importer from the main web application?
>
> Additionally, I am confused about how this service will be called and then

> invoke QuickBooks. This may be too specific a question (i.e. one that 
> should be asked on a QB forum, not here) but if anyone has a simple 
> explaination of how this works that would be great.
>
> Thanks
>
> Rich
>
> 

Post Reply
Re: Help a Newbie
Tue, 18 Mar 2008 13:39:57 -080
Hello,

The WSDL of the service posted is located here:
https://idn.vogelfam.net/QBMSDonorSample/QBWebConnectorSvc.asmx

To invoke the methods, you can use something along the lines of:

var
  Service: QBWebConnectorSvcSoap;
begin
  Service := GetQBWebConnectorSvcSoap;
  Service.authenticate(userName, password);

I suspect the service mentioned above is somewhat related/tied to
QuickBooks.

Cheers,

Bruneau.

Post Reply
about | contact