473,387 Members | 1,517 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,387 software developers and data experts.

SOAP::Lite server and .Net client

Hello,

I want to use my scripts on my site with webservices.

So,
with the book 'Programming Web Services with SOAP'
I make tests with

Server: SOAP::Lite 'myhibye.cgi'
-----------------------------------------------------------------
#!/usr/bin/perl
use SOAP::Transport::HTTP;
SOAP::Transport::HTTP::CGI
-> dispatch_to('Fussball')
-> handle;
package Fussball;
sub hi {
#print "hi\n";
return "hello, fussball";
}
sub bye {
#print "bye\n";
return "goodbye, cruel fussball";
}
sub languages {
#print "languages\n";
return ("HSV", "Perl", "C", "sh");
}
sub rechne1 {
my $a = @_[0];
my $b = @_[1];
my $c = @_[2];
return ($b+$c);
}
-----------------------------------------------------------------

Client: SOAP::Lite 'myhibly.pl'
-----------------------------------------------------------------
#!/usr/bin/perl
# -- SOAP::Lite -- guide.soaplite.com -- Copyright (C) 2001 Paul
Kulchenko --
use SOAP::Lite;
print SOAP::Lite
-> uri('Fussball')
-> proxy('http://.../myhibye.cgi')
-> hi()
-----------------------------------------------------------------

And it works fine.

Now,
I want to use the SOAP::Lite Server with a .Net client.
Because, with .Net it is simple for me to build a gui-programm.

But,
in .Net cs the call of the functions fails.
The error is:

Unhandled Exception: System.Web.Services.Protocols.SoapHeaderException:
SOAPAction shall match 'uri#method' if present (got 'urn:Fussball/hi',
expected 'Fussball#hi' ..

In my cs-Programm I set
this.URL to 'http://.../myhibye.cgi'
Namespace to 'Fussball'.

And I read something, that it is a problem to call the function / Namespace
.....

But I do not know what is necessary to solve this problem ?

So long
Frank Iversen



Nov 23 '05 #1
0 1946

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Arne Kösling | last post by:
Hi ! I am new to Web Services. Therefore I ve set up a PHP Installation on Windows (PHP 4.3.2 and Apache 1.3.29). I have tested PHP alone and then installed PEAR. Now I am stuck there (Before...
0
by: Blaine Everingham | last post by:
Hello, I have installed SOAP::Lite 0.60 and am running a simple test to see the XML output. I noticed that the output indicated it's using the www.w3.org/1999/XMLSchema instead of the prefered...
3
by: Ben Crinion | last post by:
Hi im having a few problems consuming a SOAP::Lite web service. I think the problem is actually with the WSDL but im not sure. I have a SOAP::Lite client which works ok using the WSDL (which i...
6
by: Vinit | last post by:
Hi I am passing an arraylist to a c#/.net webmethod from a perl client using soap:lite. The trace shows the elements in the xml request. The arraylist input in the webmethod however does not...
0
by: kim123 | last post by:
I got to write a c# client will ask a SOAP::Lite server for a list of data. In the request I have to send the following attributes: string, string, array, string, string The SOAP:Lite server is...
2
by: furrypop | last post by:
Hi, I'm trying to get the Perl SOAP::Lite examples to work on a Windows PC, running Apache 2.2.4. Apache is definitely serving CGI scripts, as I've tested a dummy Hello World thing. I'm also...
1
by: parimalb | last post by:
Hi All, I want to pass an array argument to the java webservice from perl client using SOAP::LITE package. Please let me know if anyone knows about this. The web method declaration in java is...
0
by: cbeels | last post by:
The client code is #install SOAP-Lite and MIME-tools packages use SOAP::Lite 'trace', 'debug'; #override version SOAP::Lite->soapversion('1.2'); #override credentials sub...
0
by: vigneshrao | last post by:
Hi, I have been working on a script that loops through multiple records and sends data (one record per call) to a WS. I am supposed to make a new call for each record before sending the data....
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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.