![]() |
|
Think about Loose Coupling | |
PerlMonks |
.PerlNet .asmxby rvlahov (Novice) |
on Dec 10, 2002 at 02:57 UTC ( [id://218726]=perlquestion: print w/replies, xml ) | Need Help?? |
rvlahov has asked for the wisdom of the Perl Monks concerning the following question:
All, Absolutely new to .NET I want to be able to call a perl module from a WebService. I compile test.pl and am trying to call it from StringServer2.asmx. When I uncomment the 2 lines I feel should make it work I get the following error: C:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\soaptest\5dee38ee\d9f5ec47\qyvdu9h0.cs(6,7): error CS0246: The type or namespace name 'OrangeSoap' could not be found (are you missing a using directive or an assembly reference?) Stopped with exit code 1 What am I doing wrong. ------------------------------------------------------- test.pm gets compiles as "c:\> plc test.pm -target="library" ------------------------------------------------------- -------------------------------------------------------- StringServer2.asmx located in c:\> inetpub\wwwroot\StringServer When I uncomment 1 or both of the following 2 lines I get an error #use namespace "OrangeSoap.Test"; #my $s1 = thisstring; -------------------------------------------------------- ------------------------------------------------------------ What am I doing wrong? Thanks, Richard Vlahov
Back to
Seekers of Perl Wisdom
|
|