[ic] Problems with SOAP

Andrew Baerg admin at yoursole.com
Wed Dec 3 16:20:36 EST 2003


Hello,

I am having identical problems to what Racke posted back in March. I am wondering if this issue was ever resolved?

Thanks for your help,

Andrew Baerg

-----Original Message-----
From: Stefan Hornburg [mailto:racke at linuxia.de]
Sent: Thursday, March 06, 2003 9:49 AM
To: Interchange Users
Subject: [ic] Problems with SOAP


Hello,

for two projects I would like to use Interchange as SOAP server (4.9). I
wrote a little
test script, but unfortunately it fails:

#! /usr/bin/perl

use strict;
use warnings;

use SOAP::Lite;

my $ic = SOAP::Lite -> uri ('http://localhost:7780/Vend/SOAP/')
	-> proxy ('http://localhost:7780/matstock')
	-> on_debug (sub {print @_})
	;

$ic->Values->result();

Here is the debugging output:

cd /home/racke/matstock/soap/
/home/racke/matstock/soap/test.pl
POST http://localhost:7780/matstock
Accept: text/xml
Accept: multipart/*
Content-Length: 458
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://localhost:7780/Vend/SOAP/#Values"

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><namesp1:Values
xmlns:namesp1="http://localhost:7780/Vend/SOAP/"/></SOAP-ENV:Body></SOAP-ENV
:Envelope>
HTTP/1.0 200 OK
Content-Type: text/xml
Client-Date: Thu, 06 Mar 2003 14:46:45 GMT
Client-Junk: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:namesp2="http://xml.apache.org/xml-soap"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/1999/XMLSchema"><SOAP-ENV:Body><namesp1:ValuesR
esponse xmlns:namesp1="http://localhost:7780/Vend/SOAP/"><s-gensym3
xsi:type="namesp2:SOAPStruct"><offerer
xsi:type="xsd:int">1</offerer><bo_anrede_id
xsi:type="xsd:int">1</bo_anrede_id><mv_shipmode
xsi:type="xsd:string">upsg</mv_shipmode></s-gensym3></namesp1:ValuesResponse
></SOAP-ENV:Body></SOAP-ENV:Envelope>
Client-Response-Num: 1


Can't call method "result" on an undefined value at
/home/racke/matstock/soap/test.pl line 13.

Interpretation exited abnormally with code 9 at Thu Mar  6 15:46:45

What the heck is the Client-Junk header ? Is that coming from SOAP::Lite.

If I telnet to localhost 7780 and paste the query, the answer is coming in
the body of the
HTTP response.

I would really appreciate any help in this matter, because I'm stuck for now
with this
problem.

Bye
	Racke



More information about the interchange-users mailing list