473,805 Members | 1,887 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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:WebSe rvices")
->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 3914
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

"frustratedcode r" <kr******@steps tone.dk> wrote in message
news:11******** *************@g 43g2000cwa.goog legroups.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:WebSe rvices")
->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
4260
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 experiment was to use Python to consume these same web services, and even though I am able to get Python to consume web services from a variety of sources (Apache SOAP, Glue, AXIS), I cannot get web services created with MS.NET to work. Actually,...
3
7133
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 applicable. Help please!!!! Matt
1
2898
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 application?
2
2820
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 code Dim WSConection As New WebService.nameWebService Dim XML_= WSConection .getCcompleteSis(TextBox1.Text) 'this return a string with a XML
0
1685
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 consume them in VB .NET I get objects with nothing in them. Interestingly, if I call a webservice that returns a string, then it all works fine. I have pasted the wsdl file for review. Any suggestions would be greatly appreciated. I used the...
3
9894
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 -w use SOAP::Lite +trace => "debug"; print SOAP::Lite
1
1916
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', 'param2') ->result;
1
10307
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 included the code behind the button on the form and the class module code that was generated by the Web Service Tool. I've added a little bit of information that pertains to the Access Database and our process and expected results: VBA for...
1
2504
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 1 bytes, to 20mb). The problem is I don't have a WSDL interface, that I would normally use with the WebReference. I've read some places on how to try to derive this from the Linux side (using other perl packages) but since this is a vendor...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10360
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9185
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7646
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5542
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4323
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3845
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.