Consume web service without wsdl.exe

F

frustratedcoder

I have this Perl soap client which is consuming a Perl based web
service.

#!perl -w
use SOAP::Lite +trace => "debug";
SOAP::Lite
->uri("urn:WebServices")
->proxy("http://example.com")
->SomeMethodName('param1', 'param2')
->result;

How can I consume the same web service in C#? There is no .wsdl to
using with the wsdl.exe, Perl doesnt support autogenerated wsdl and no
one bothered to write it.
 
J

John Timney \( MVP \)

Try getting a wsdl genersator for perl, theres a few about - cant recommend
any but goolgle comes up with a few including
http://search.cpan.org/dist/WSDL-Generator/

Pretty sure the Microsoft Soap Toolkit has options to create wsdl from
scratch if your looking to access it via soap. I've not used it myself but
you could start there, or try manually modifying a wsdl of a similar service
is always an option. Theres a description of whats in wsdl file here.

http://www.w3.org/TR/2005/WD-wsdl20-primer-20050803/#basics

Some initial reading here for you.
http://support.microsoft.com/default.aspx?scid=kb;en-us;308438

Regards

John Timney
Microsoft MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top