cancel
Showing results for 
Search instead for 
Did you mean: 

PHP5 SOAP WSDL and Xcelsius 2008 communication error

Former Member
0 Kudos

Hi,

I wood like to use PHP5 Soap server and WSDL for Xcelsius2008.

Now Xcelsius 2008 can read WSDL parameters, and data from Xcelsius appear in Soap server, but in the Soap Response is the error message:

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Body>

<SOAP-ENV:Fault>

<faultcode>SOAP-ENV:Client</faultcode>

<faultstring>Bad Request</faultstring>

</SOAP-ENV:Fault>

</SOAP-ENV:Body>

</SOAP-ENV:Envelope>

My WSDL is here:

http://www.tanit.hu/custimp/wsdl/hello/hello_04.wsdl

My PHP5 Soap Server:

<?php

ini_set("soap.wsdl_cache_enabled","0");

$server = new SoapServer("hello_04.wsdl");

class HelloService{

function doHello($yourName){

if (strlen(trim($yourName))) {

return "Hello ".$yourName;

} else {

throw new SoapFault("Server","The input parameter is Empty!");

}

}

}

?>

My PHP5 Soap Client (is working properly):

<?php

ini_set("soap.wsdl_cache_enabled","0");

try{

$sClient = new SoapClient('http://www.tanit.hu/custimp/wsdl/hello/hello_04.wsdl');

$response = $sClient->doHello('MyName');

echo $response;

} catch(SoapFault $e){

var_dump($e);

}

?>

Could somebody help me?

Thx.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Former Member
0 Kudos

Hmmm... Nobody knows...

Sorry. Maybe the question was too difficult...

Former Member
0 Kudos

OK.

[I found this.|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233343330333133373334%7D.do]