(WCF) Service using TCP/IP (NOT SOAP)
The wikipedia says WCF is as SOAP over HTTP, SOAP over TCP, and SOAP over Message Queues, etc so just use SOAP::Simple or SOAP::Lite or some such
|Replies are listed 'Best First'.|
Re^2: How to write Perl Client that uses WCF TCP/IP Service
by PerlApprentice (Initiate) on Sep 16, 2011 at 22:26 UTC
And my C# Interface looks like this:
And the PERL CODE I have looks like this:
The error that I get is "404 Not Found at PerlSOAPExample.pl line 17 which turns out to be "my $response = $soap->GetWorkOrderList(SOAP::Data->new(name=>'siteId', value=>'BKK'));" so it seems like the data is just not going through and being received in Perl. When I entered the URL in Chrome or IE (http://MYSERVER-NAME:8732/Company.Department.Project.ProjectService.ProjectService/?wsdl) I do get the XML page returned by the Server. What am I doing incorrectly for Perl not to be able to consume the WCF Service? Any ideas? Anyone who has successfully accomplished communication between WCF and Perl?
by dbradshaw (Initiate) on Dec 12, 2011 at 09:10 UTC
by Anonymous Monk on Dec 12, 2011 at 10:15 UTC
PerlApprentice, whom you asked a question, hasn't been here in 2 months, 3 weeks.
The node to which you replied is 2 months, 3 weeks old.
My advice, see links and links I post in SOAP::Lite - UNKNOWN ARGUMENT, Suppressing nil attribute in empty SOAP tag, import wsdl wizard, helpful for debugging your SOAP::Lite calls, example of using/installing SOAP::Simple, which has better WSDL support that SOAP::Lite, and its simpler than XML::Compile, on which it is built.