[ic] SOAP Problems

Alexander Schmitz interchange-users@icdevgroup.org
Tue Jun 17 12:22:00 2003


Hello List,

I'm having some Problems in enabling the SOAP component in Interchange
(Version 4.8.6, Perl 5.6.1 and SOAP::Lite Ver. 0.55-1).

When i Start a Client script (i used the same like racke did in
htttp://www.icdevgroup.org/pipermail/interchange-users/2003-March/032033.html)
i get a timeout.

Enabling all logDebug Statements in Server.pm, SOAP.pm results in the
following debug messages:

-----------------snipp------------------------
Interchange SOAP server started (process id 718)
Vend::Server:debug: Entering soap server program
Vend::Server:debug: SOAP server 718 begun, vector=0000000000010000 servers=0
Vend::Server:debug: status_line: POST /shop HTTP/1.1
Vend::Server:debug: read: TE: deflate,gzip;q=0.3
Vend::Server:debug: read: Connection: TE, close
Vend::Server:debug: read: Accept: text/xml
Vend::Server:debug: read: Accept: multipart/*
Vend::Server:debug: read: Host: shop.ic.axon-e.de:7780
Vend::Server:debug: setting env{HTTP_HOST} to: shop.ic.axon-e.de:7780
Vend::Server:debug: read: User-Agent: SOAP::Lite/Perl/0.55
Vend::Server:debug: setting env{HTTP_USER_AGENT} to: SOAP::Lite/Perl/0.55
Vend::Server:debug: read: Content-Length: 472
Vend::Server:debug: setting env{CONTENT_LENGTH} to: 472
Vend::Server:debug: read: Content-Type: text/xml; charset=utf-8
Vend::Server:debug: setting env{CONTENT_TYPE} to: text/xml; charset=utf-8
Vend::Server:debug: read: SOAPAction: "http://shop.ic.axon-e.de:7780/Vend/SOAP/#soaptest"
Vend::Server:debug: read: 
Vend::Server:debug: read entity: <?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:soaptest
xmlns:namesp1="http://shop.ic.axon-e.de:7780/Vend/SOAP/"/></SOAP-ENV:Body></SOAP-ENV:Envelope>
Vend::Server:debug: exiting loop
Vend::Server:debug: catname is /shop  
Vend::Server:debug: soap - AllowGlobal   
Vend::Server:debug: we have no SOAP enable
----------------schnapp-----------------------
in the global interchange.cfg i have the following SOAP relevant parts:

SOAP    Yes
SOAP_Host   127.0.0.1 192.168.1.5
SOAP_MaxRequests 100
SOAP_Socket 192.168.1.181:7780
SOAP_StartServers   1

in the catalog specific cfg:

SOAP   Yes.

Have I missed any Configuration Option to Enable SOAP ? or is it
something else ?

When I pass the elsif(! $Vend::Cfg->{SOAP}) check in Server.pm i get the
following Results in the Log Files:

------------------snipp------------------------------------------------------
HTTP/1.0 200 OK
Content-Type: text/xml 1 (http://www.w3.org/2001/06/soap-envelope)
</Faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV: Envelope>
Client-Date: Tue, 17 Jun 2003 16:10:34 GMT
Client-Junk: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENC="http://www.w3.org/2001/06/soap-encoding" SOAP-ENV:encodingStyle="http://www.w3.org/2001/06/soap-encoding" xmlns:SOAP-ENV="http://www.w3.org/2001/06/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xsi:type="xsd:string">SOAP-ENV:VersionMismatch</faultcode><faultstring xsi:type="xsd:string">Wrong SOAP version specified. Supported versions: Client-Peer: 192.168.1.181:7780 Client-Response-Num: 1

Unexpected Content-Type 'text/xml 1
(http://www.w3.org/2001/06/soap-envelope)' returned
------------------schnapp------------------------------------------------------

Which confuesed me.
Any Help would be nice, Thanks in Advance.

bye Alexander