Login  
Search All Forums
Dart Home | PowerTCP WebServer for ActiveX | Custom Development Reply | PowerTCP WebServer for ActiveX Topics | Forums   
AuthorForum: PowerTCP WebServer for ActiveX
Topic: Migration Path from SOAP/IIS to SOAP/PowerTCP WebServer Tool
ashepteban@meriam.com

From: Cleveland, OH USA
Posts: 3
Member Since: 03/29/04
posted March 29, 2004 10:31 AM

Hi,
I just started evaluation of PowerTCP WebServer Tool. We are trying to remove IIS dependency of our application. So here it goes:

Our Application is VB6/MS SOAP Toolkit 2.0 based.
On a client side we use High Level API for SOAP Messages.
After installing Power TCP, I stopped IIS and started VB6 Sample App SOAP WebServer with WSDL,WSML files of our Server dll.
Trying to call server functions from existing client resulted in the following:
1. function calls went thru (using SQL server profiler I saw stored procedure being executed)
2. However an error was raised on the client : "Application-defined or object-defined error"

Our typical server function call looks like this:
Public Function getinfo(ByVal nID As Long, ByRef strErrorInfo As String) As String

I hope BYRef is not a problem.
Thanks for any info.

ashepteban@meriam.com

From: Cleveland, OH USA
Posts: 3
Member Since: 03/29/04
posted March 29, 2004 7:56 PM

It looks like generated response ( i was able to view Response.Body.ReadString in debugger) is not compatible with MS SOAP Client 2.0




Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 30, 2004 8:38 AM

Are you saying that the sample apps don't function? As I recall, we updated all the samples so that they would work with SOAP 2.0 prior to releasing the latest kit.
ashepteban@meriam.com

From: Cleveland, OH USA
Posts: 3
Member Since: 03/29/04
posted March 30, 2004 2:44 PM

Ok, I god it working, the problem was that my wsdl file had
<soap:address location='http://localhost/mAMSPortal/mAMSGateway.WSDL' />
where mAMSPortal is a virtual directory in IIS.

Once i removed it, our app started working.
Is there any way I can simulate existence of this virtual directory, so our transition would be absolutely transparent to the client?
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted March 30, 2004 3:44 PM

You'd have to intercept all the Get requests and relpace "http://localhost/" with "/"
dinop
dino.peterson@cpwit.com

From: Brisbane, Australia
Posts: 3
Member Since: 04/12/04
posted April 12, 2004 2:31 AM

Can you please tell me whether the Webserver Tool is compliant with MS SOAP Toolkit 3.0? I am having trouble running the 'SoapServer' sample ( VB6 ) after first modifyng references etc. to the new version of the Typelib. If it is compliant, do I need to do anything with the WSDL or WSML files that come with the sample?

Thanks.
dinop
dino.peterson@cpwit.com

From: Brisbane, Australia
Posts: 3
Member Since: 04/12/04
posted April 12, 2004 3:21 AM

Sorry ... to be specific .. the request is flowing from the Soap Client to the Soap Server ( I have used both the MS Soap Toolkit Calc Soap Client sample as well as the WebEnterprise Soap Clien sample ) and the error manifests as a VB6 "Run-time error '5'" when the 'SS.SoapInvoke Request.Body.ReadBytes, Response, SHeader' statement is executed in the Soap server. Any ideas would be appreciated.

Thanks.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 12, 2004 9:08 AM

It was working last year when they first released Soap 3.0

It looks like we may need to make a modification. I'll get someone to look into this and post back here when I find out more.

dinop
dino.peterson@cpwit.com

From: Brisbane, Australia
Posts: 3
Member Since: 04/12/04
posted April 13, 2004 9:32 PM

As it may take a little while to resolve the MS Soap 3.0 issue, could I perhaps get an idea whether I should remove Soap 3.0 and install Soap 2.0 instead to try to get the Webserver control working as a Soap server? If so, what am I likely to miss out on by going backwards to MS Soap 2.0 ? Is there perhaps some other 'Soap' implementation that I could use instead of MS ? I have MS VS.NET 2003 ... could I use some form of control/object from .NET instead ? My objective is to use the Webserver control to act as the 'Soap server' with whatever components are required.

Many thanks.
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 13, 2004 10:48 PM

I would try to get 3.0 working. Nothing needs to be modified inside our code, the error I saw was caused by something in the wsdl file. There must be something in there that needs to be changed.

We won't be able to look at it for awhile, but there's no reason you can't try to figure it out yourself. If you are not able to, please contact sales@dart.com to find out what can be done to expedite the issue.
Bernardi

From: Padova, Italy
Posts: 4
Member Since: 06/16/04
posted June 16, 2004 3:55 PM

HI all
i'have the same problem (error 5). i made the wsdl file from microsoft wsdl generator but the problem persist.
Can you help me ? thanks in advance
Reply | PowerTCP WebServer for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX