471,337 Members | 1,129 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Consume web service without wsdl.exe

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.

Feb 19 '06 #1
1 3792
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-...050803/#basics

Some initial reading here for you.
http://support.microsoft.com/default...b;en-us;308438

Regards

John Timney
Microsoft MVP

"frustratedcoder" <kr******@stepstone.dk> wrote in message
news:11*********************@g43g2000cwa.googlegro ups.com...
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.

Feb 19 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Matt | last post: by
1 post views Thread by Mike | last post: by
2 posts views Thread by Mauricio Correa | last post: by
reply views Thread by leslie_tighe | last post: by
3 posts views Thread by frustratedcoder | last post: by
1 post views Thread by frustratedcoder | last post: by
1 post views Thread by Gary W. Smith | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.