473,388 Members | 902 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 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 3889
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Michael Hatmaker | last post by:
I have begun experimenting with web services, and I created some simple web services in C# and was able to install them with IIS and create an equally simple C# client to consume them. My next...
3
by: Matt | last post by:
I have an ASP.NET service that needs to be consumed on a PHP page. I can not count on the PHP server to have SOAP. I have read some info about a REST method, but I am not really sure if this can be...
1
by: Mike | last post by:
I need to consume a wsdl file using C#. The web service was not created in ..NET but I need to consume it. Can anyone point me to an example that is consuming a wsdl using C# for a windows...
2
by: Mauricio Correa | last post by:
Hello, i try to consume a java web service from a asp .net page, i make without problems the web reference tu wsdl file http://machine/WebService/nameWebService?WSDL in the asp .net page put the...
0
by: leslie_tighe | last post by:
Hello, I have a set of web services running on Java server that are exposed through axis 1.2.1. I can invoke these services in browser and through a java test client. However, when I try to...
3
by: frustratedcoder | last post by:
I need to consume a web service written in Perl but there is no wsdl file for this service. The perl soap client that can call and consume this web service looks like this (if it helps) #!perl...
1
by: frustratedcoder | last post by:
The following web service is run by Perl: #!perl -w use SOAP::Lite +trace => "debug"; print SOAP::Lite ->uri("urn:WebServices") ->proxy("http://example.com") ->SomeMethodName('param1',...
1
by: DoctorV3774 | last post by:
We developed a small test database that we are using to attempt to connect to a wsdl to consume web services. The database form contains 3 fields and a submit button on the form. At the bottom I've...
1
by: Gary W. Smith | last post by:
I have a SOAP::Lite package written in perl on a *nix environment that I need to consume from a C#. The classes in perl are pretty simple, each taking a string and returning a string (ranging from...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.