[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] SOAP access to Interchange - getting started


I'm trying to get started with SOAP access to Interchange, but not having much luck even getting a test script to work.

Any suggestions as to what I may have missed would be really appreciated.

Interchange.cfg, catalog.cfg and test.pl snippets given below:

Interchange.cfg
---------------
SOAP               Yes
SOAP_StartServers  2
SOAP_Socket        7780
SOAP_Perms         0660
SOAP_MaxRequests   100
SOAP_Host          127.0.0.1

Catalog.cfg
-----------
# SOAP stuff
SOAP   Yes
SOAP_Control  Action/test_soap always

SOAP_Action  test_soap   <<EOR
sub {
return 2;
}
EOR

test.pl
------
#!/usr/bin/perl
use SOAP::Lite;

my $ic = SOAP::Lite
 -> uri('http://www.mydomain.com/Vend/SOAP')
 -> proxy("http://localhost:7780/mycatalog/";)
 -> test_soap();

   print $ic;

====================

If I run test.pl it just prints "1" and returns

If I "telnet localhost 7780", to which I get the response "connected to localhost", but nothing I type within the telnet session gives a response. e.g. "POST http://localhost:7780/mycatalog"; <Return>, doesn't return anything, not even an error message.
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.