Groups > Borland > Delphi web services WSDL > Re: Webservice in Delphi 2006 and C# Problems




Webservice in Delphi 2006 and C# Problems

Webservice in Delphi 2006 and C# Problems
12 May 2007 06:03:33 -0700
Hi

I'm writing application for Windows CE 5.0. in C#(VS). My app is using
WebService which I wrote in Delphi 2006. When I start app I want to
read URL to my WebService from XML file and set it dynamicly. Problem
is that I do not how to do it. I try to do it in this way:

Url from XML=http://192.168.2.3:8081/TransportDotNetSrv.exe/wsdl/
ITransportDotNetService

URL Behaviour I've set to "Dynamic"

string WebServiceAddr(from XML)
WS = new WSrv.MYWebservise();
WS.Url = WebServiceAddr;
WS.SomeOperationOnMyWebService();

When I run my app on Windows CE I received exception "SOAPException"
but
when I run on Windows XP I received exception

Possible SOAP version mismatch: Envelope namespace
http://schemas.xmlsoap.org/wsdl/ was unexpeted. Expecting
http://schemas.xml/org/soap/envelope/.

(Maybe someone knows how to set correct Envelope namespace in Delphi?)


Is funny because when I put static URL all reaquest to Database goes
with out any of problems

Could you help me with my problem?

Best regards

Martin
Post Reply
Re: Webservice in Delphi 2006 and C# Problems
Thu, 24 May 2007 19:58:00 -070
Hello,

Please see my reply on the .soap forum.

Cheers,

Bruneau.

Post Reply
about | contact