Hi, We are using SOAP:lite for consuming web services
on a SAP server. This goes well, as long as it isn't WSDL.
The WSDL fails. According the SAP, Soap:lite is using
the wrong WSDL format.I quote:
"Instead of sending a SOAP request conforming to the
WSDL description
like the static client did:
<SOAP-ENV:Envelope
xmlns:SOAP-
ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-
ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-
instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<m:Z_SOAP_WS
xmlns:m="urn:sap-com:document:sap:rfc:functions">
<PARAM>1</PARAM>
</m:Z_SOAP_WS>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
the generic client sends out the following request:
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
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:encodingStyle="http://schemas.xmlsoap.org/soap/en
coding/">
<SOAP-ENV:Body>
<Z_SOAP_WS xmlns="">
<parameters>1</parameters>
</Z_SOAP_WS>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
This inconsistently SOAP request will be rejected"
end quote.
Is this indeed the case and if so, can this be fixed pls?
Many thanks
Eddy De Clercq
Logged In: YES
user_id=28043
Could the reporter of this bug possibly submit the WSDL
being referred to so that I can try to reproduce this bug?
Also, it is entirely possible that this bug was fixed in
0.65_3. Try downloading the latest version and trying that.
Out of curiousity, what version does this error exhibit
itself on? 0.55, 0.60 or 0.65?
Logged In: YES
user_id=1209842
Hi,
I just installed the latest stable version, but the problem
remains. How can I determine the versions of the components
in order to know if it's OK. The WSDL is rather confidential,
how can I send it to you outside this bug report?
Eddy
Logged In: YES
user_id=1209842
Hi, I've now installed 0.65_3 and I get the following errors
(dependatnt on the WSDL file)
doxument/literal support is experimental in SOAP::Lite at
snip Lite.pm line 2736
Can't call method "name" without a package or object referen
at snip Lite.pm line 2897
and
Type 'numeric8' can't be found in a schema
class 'SOAP::Serializer'
Eddy
Logged In: YES
user_id=28043
Please submit the WSDL to byrne at majordojo dot com.
Information will be kept confidential.
Logged In: YES
user_id=884175
Originator: NO
Can't fix witout WSDL.