Groups > Borland > Dellphi web services soap > Httprio question




Re: Httprio question

Re: Httprio question
Thu, 31 Jan 2008 10:07:44 -080
Hello,

I'm afraid to say that using Delphi6 there are so many things that could be
the issue. The SOAP spec. had not settled yet then. rpc|encoded services
were the only common kind and the only interoperability we had done (in the
initial D6 release at least) was with Delphi Services. With Update#2 of D6
the need to use the WSDLLocation/etc instead of the URL property was made
obsolete: the importer cached all WSDL information such that the 'URL'
property could be used with non-Delphi Services also. From a performance
point of view, it's much better to use the Url property as it avoids the
extra GET/lookup we have to do before doing the real POST/request.

Shortly after D6 a big switch happened and the WebService industry started
adopting doc|lit services (with MS spearheading that effort). And with that
came the complication of handling the XML Schema spec.... something that
we've been doing piecemeal with each release. I've posted runtime and
importer updates on CodeCentral but they only work for D7 and above.

My concern in your case would be whether your local C# service and the
client's Java one are compatible. They may expose the same
methods/parameters (operations/parts) but do they use the same style, the
same encoding, SOAPAction headers, etc .... all these little things that
come in the picture when interoperability fails.

Feel free to email me the WSDL for your service and the Java one. I can
(maybe!) spot something.

Cheers,

Bruneau.

Post Reply
Httprio question
Thu, 31 Jan 2008 10:46:11 -000
Hi, not sure if this is the correct group or not.

I'm making an app that will connect to a web service, everything seems to be 
working correctly on my local machine and test kit but when it is tested on 
the clients system it cannot connect to the web service.
Going with the reading on the help file, I can see that as the web service 
is not written in Delphi then the WSDLLocation path needs to passed in along 
with the Port and Service values.  My app does this at runtime, but still 
doesn't connect.
However when we save a copy of the wsdl file to the same location of the exe 
and try and query the web service it connects successfully and receives data 
back.

Any one got any ideas as to what the problem might be?

Using Delphi 6 and my local web service was written in C# but the clients 
one I believe is written in Java

Thanks 
Post Reply
about | contact