NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
getting a empty string from WS


Joined: 24 Feb 2010
Posts: 1
Reply with quote
Hi

I'm trying to connect a ws in nusoap but i keep getting a emty string
from XML_Doc function.

this is my code:
Code:


<?php
require_once('../lib/nusoap.php');
$client = new nusoap_client('http://localhost/test/wsdl/Get_Siebel_Data.wsdl', 'wsdl');
$err = $client->getError();
if ($err) {
   echo '<h2>Constructor error</h2><pre>' . $err . '</pre>';
}
// Doc/lit parameters get wrapped
$param=array('Inp_Val'=>'72483050', 'Inp_Operation'=>'Get_Account_Details');
$result = $client->call('Get_Siebel_Data', array('parameters' => $param), '', '', false, true);
// Check for a fault
if ($client->fault) {
   echo '<h2>Fault</h2><pre>';
   print_r($result);
   echo '</pre>';
} else {
   // Check for errors
   $err = $client->getError();
   if ($err) {
      // Display the error
      echo '<h2>Error</h2><pre>' . $err . '</pre>';
   } else {
      // Display the result
      echo '<h2>Result</h2><pre>';
      print_r($result);
      echo '</pre>';
   }
}
echo '<h2>Request</h2><pre>' . htmlspecialchars($client->request, ENT_QUOTES) . '</pre>';
echo '<h2>Response</h2><pre>' . htmlspecialchars($client->response, ENT_QUOTES) . '</pre>';
echo '<h2>Debug</h2><pre>' . htmlspecialchars($client->debug_str, ENT_QUOTES) . '</pre>';
?>


and this is my output:
Code:

Result

Request

POST /eai_heb/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=BPEL_LINK&Password=BPEL_LINK HTTP/1.0
Host: dpz-tescom
User-Agent: NuSOAP/0.7.3 (1.114)
Content-Type: text/xml; charset=ISO-8859-1
SOAPAction: "rpc/http://siebel.com/asi/:Get_Siebel_Data"
Content-Length: 610

<?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://siebel.com/asi/"><SOAP-ENV:Body><tns:Get_Siebel_Data xmlns:tns="http://siebel.com/asi/"><Inp_Val xsi:nil="true" xsi:type="xsd:string"/><Inp_Operation xsi:nil="true" xsi:type="xsd:string"/></tns:Get_Siebel_Data></SOAP-ENV:Body></SOAP-ENV:Envelope>

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Tue, 09 Mar 2010 07:47:07 GMT
_CharSet: UTF-8
Cache-Control: no-cache, must-revalidate, max-age=0
Pragma: no-cache
Content-Type: text/xml;charset=UTF-8
Content-Length: 526

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="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:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><rpc:Get_Siebel_DataResponse xmlns:rpc="http://siebel.com/asi/"><XML_Doc xsi:type="xsd:string"></XML_Doc></rpc:Get_Siebel_DataResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>

Debug

2010-03-09 07:47:03.120211 nusoap_client: ctor wsdl=wsdl timeout=0 response_timeout=30
endpoint=string(47) "http://localhost/test/wsdl/Get_Siebel_Data.wsdl"
2010-03-09 07:47:03.120283 nusoap_client: will use lazy evaluation of wsdl from http://localhost/test/wsdl/Get_Siebel_Data.wsdl
2010-03-09 07:47:03.120321 nusoap_client: call: operation=Get_Siebel_Data, namespace=, soapAction=, rpcParams=1, style=rpc, use=encoded, endpointType=wsdl
params=array(1) {
  ["parameters"]=>
  array(2) {
    ["Inp_Val"]=>
    string(8) "72483050"
    ["Inp_Operation"]=>
    string(19) "Get_Account_Details"
  }
}
headers=bool(false)
2010-03-09 07:47:03.120360 nusoap_client: instantiating wsdl class with doc: http://localhost/test/wsdl/Get_Siebel_Data.wsdl
2010-03-09 07:47:03.120409 wsdl: ctor wsdl= timeout=0 response_timeout=30
2010-03-09 07:47:03.120435 wsdl: parse and process WSDL path=
2010-03-09 07:47:03.120469 wsdl: setCredentials username= authtype= certRequest=
array(0) {
}
2010-03-09 07:47:03.120500 wsdl: parse and process WSDL path=http://localhost/test/wsdl/Get_Siebel_Data.wsdl
2010-03-09 07:47:03.120523 wsdl: parse WSDL at path=http://localhost/test/wsdl/Get_Siebel_Data.wsdl
2010-03-09 07:47:03.120548 wsdl: getting WSDL http(s) URL http://localhost/test/wsdl/Get_Siebel_Data.wsdl
2010-03-09 07:47:03.120593 soap_transport_http: ctor url=http://localhost/test/wsdl/Get_Siebel_Data.wsdl use_curl= curl_options:
array(0) {
}
2010-03-09 07:47:03.120626 soap_transport_http: parsed URL scheme = http
2010-03-09 07:47:03.120648 soap_transport_http: parsed URL host = localhost
2010-03-09 07:47:03.120669 soap_transport_http: parsed URL path = /test/wsdl/Get_Siebel_Data.wsdl
2010-03-09 07:47:03.120695 soap_transport_http: set header Host: localhost
2010-03-09 07:47:03.120748 soap_transport_http: set header User-Agent: NuSOAP/0.7.3 (1.114)
2010-03-09 07:47:03.120779 soap_transport_http: set header Accept-Encoding: gzip, deflate
2010-03-09 07:47:03.120802 soap_transport_http: set header Connection: close
2010-03-09 07:47:03.120829 soap_transport_http: entered send() with data of length: 0
2010-03-09 07:47:03.120856 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host localhost, port 80
2010-03-09 07:47:03.120885 soap_transport_http: calling fsockopen with host localhost connection_timeout 0
2010-03-09 07:47:03.137647 soap_transport_http: set response timeout to 30
2010-03-09 07:47:03.137719 soap_transport_http: socket connected
2010-03-09 07:47:03.137775 soap_transport_http: set header Content-Length: 0
2010-03-09 07:47:03.137800 soap_transport_http: HTTP request: GET /test/wsdl/Get_Siebel_Data.wsdl HTTP/1.1
2010-03-09 07:47:03.137824 soap_transport_http: HTTP header: Host: localhost
2010-03-09 07:47:03.137846 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.7.3 (1.114)
2010-03-09 07:47:03.137868 soap_transport_http: HTTP header: Accept-Encoding: gzip, deflate
2010-03-09 07:47:03.137889 soap_transport_http: HTTP header: Connection: close
2010-03-09 07:47:03.137911 soap_transport_http: HTTP header: Content-Length: 0
2010-03-09 07:47:03.137956 soap_transport_http: wrote data to socket, length = 169
2010-03-09 07:47:03.140885 soap_transport_http: read line of 17 bytes: HTTP/1.1 200 OK
2010-03-09 07:47:03.140935 soap_transport_http: read line of 37 bytes: Date: Tue, 09 Mar 2010 07:47:03 GMT
2010-03-09 07:47:03.140964 soap_transport_http: read line of 41 bytes: Server: Apache/2.2.11 (Win32) PHP/5.3.0
2010-03-09 07:47:03.140990 soap_transport_http: read line of 46 bytes: Last-Modified: Thu, 18 Jun 2009 12:10:23 GMT
2010-03-09 07:47:03.141016 soap_transport_http: read line of 41 bytes: ETag: "200000001774b-762-46c9e4ad5c9c0"
2010-03-09 07:47:03.141041 soap_transport_http: read line of 22 bytes: Accept-Ranges: bytes
2010-03-09 07:47:03.141067 soap_transport_http: read line of 22 bytes: Content-Length: 1890
2010-03-09 07:47:03.141093 soap_transport_http: read line of 19 bytes: Connection: close
2010-03-09 07:47:03.141119 soap_transport_http: read line of 36 bytes: Content-Type: application/wsdl+xml
2010-03-09 07:47:03.141145 soap_transport_http: read line of 2 bytes:
2010-03-09 07:47:03.141210 soap_transport_http: found end of headers after length 283
2010-03-09 07:47:03.141282 soap_transport_http: want to read content of length 1890
2010-03-09 07:47:03.141314 soap_transport_http: read buffer of 1890 bytes
2010-03-09 07:47:03.141350 soap_transport_http: read to EOF
2010-03-09 07:47:03.141373 soap_transport_http: read body of length 1890
2010-03-09 07:47:03.141396 soap_transport_http: received a total of 2173 bytes of data from server
2010-03-09 07:47:03.141494 soap_transport_http: closed socket
2010-03-09 07:47:03.141530 soap_transport_http: No Content-Encoding header
2010-03-09 07:47:03.141556 soap_transport_http: end of send()
2010-03-09 07:47:03.141594 wsdl: got WSDL URL
2010-03-09 07:47:03.141615 wsdl: Parse WSDL
2010-03-09 07:47:03.156685 wsdl: msg DPZ_Get_Siebel_Data_Get_Siebel_Data_Output: found part (with type) XML_Doc: XML_Doc,http://www.w3.org/2001/XMLSchema:string
2010-03-09 07:47:03.156796 wsdl: msg DPZ_Get_Siebel_Data_Get_Siebel_Data_Input: found part (with type) Inp_Val: Inp_Val,http://www.w3.org/2001/XMLSchema:string
2010-03-09 07:47:03.156869 wsdl: msg DPZ_Get_Siebel_Data_Get_Siebel_Data_Input: found part (with type) Inp_Operation: Inp_Operation,http://www.w3.org/2001/XMLSchema:string
2010-03-09 07:47:03.156958 wsdl: portType DPZ_Get_Siebel_Data operation: Get_Siebel_Data
2010-03-09 07:47:03.157130 wsdl: current binding: DPZ_Get_Siebel_Data_Binding of portType: http://siebel.com/asi/:DPZ_Get_Siebel_Data
2010-03-09 07:47:03.157234 wsdl: current binding operation: Get_Siebel_Data
2010-03-09 07:47:03.157496 wsdl: current service: DPZ_Get_Siebel_Data
2010-03-09 07:47:03.157560 wsdl: current port: DPZ_Get_Siebel_Data
2010-03-09 07:47:03.157658 wsdl: Parsing WSDL done
2010-03-09 07:47:03.157696 wsdl: post-parse data gathering for Get_Siebel_Data
2010-03-09 07:47:03.157755 nusoap_client: checkWSDL
2010-03-09 07:47:03.157788 nusoap_client: got 1 operations from wsdl http://localhost/test/wsdl/Get_Siebel_Data.wsdl for binding type soap
2010-03-09 07:47:03.157818 nusoap_client: found operation
opData=array(9) {
  ["name"]=>
  string(15) "Get_Siebel_Data"
  ["binding"]=>
  string(27) "DPZ_Get_Siebel_Data_Binding"
  ["endpoint"]=>
  string(115) "http://dpz-tescom/eai_heb/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=BPEL_LINK&Password=BPEL_LINK"
  ["soapAction"]=>
  string(42) "rpc/http://siebel.com/asi/:Get_Siebel_Data"
  ["input"]=>
  array(5) {
    ["encodingStyle"]=>
    string(41) "http://schemas.xmlsoap.org/soap/encoding/"
    ["namespace"]=>
    string(22) "http://siebel.com/asi/"
    ["use"]=>
    string(7) "encoded"
    ["message"]=>
    string(41) "DPZ_Get_Siebel_Data_Get_Siebel_Data_Input"
    ["parts"]=>
    array(2) {
      ["Inp_Val"]=>
      string(39) "http://www.w3.org/2001/XMLSchema:string"
      ["Inp_Operation"]=>
      string(39) "http://www.w3.org/2001/XMLSchema:string"
    }
  }
  ["output"]=>
  array(5) {
    ["encodingStyle"]=>
    string(41) "http://schemas.xmlsoap.org/soap/encoding/"
    ["namespace"]=>
    string(22) "http://siebel.com/asi/"
    ["use"]=>
    string(7) "encoded"
    ["message"]=>
    string(42) "DPZ_Get_Siebel_Data_Get_Siebel_Data_Output"
    ["parts"]=>
    array(1) {
      ["XML_Doc"]=>
      string(39) "http://www.w3.org/2001/XMLSchema:string"
    }
  }
  ["style"]=>
  string(3) "rpc"
  ["transport"]=>
  string(36) "http://schemas.xmlsoap.org/soap/http"
  ["documentation"]=>
  string(0) ""
}
2010-03-09 07:47:03.157888 nusoap_client: serializing param array for WSDL operation Get_Siebel_Data
2010-03-09 07:47:03.157914 wsdl: in serializeRPCParameters: operation=Get_Siebel_Data, direction=input, XMLSchemaVersion=http://www.w3.org/2001/XMLSchema, bindingType=soap
parameters=array(1) {
  ["parameters"]=>
  array(2) {
    ["Inp_Val"]=>
    string(8) "72483050"
    ["Inp_Operation"]=>
    string(19) "Get_Account_Details"
  }
}
2010-03-09 07:47:03.157950 wsdl: in serializeRPCParameters: opData:
array(9) {
  ["name"]=>
  string(15) "Get_Siebel_Data"
  ["binding"]=>
  string(27) "DPZ_Get_Siebel_Data_Binding"
  ["endpoint"]=>
  string(115) "http://dpz-tescom/eai_heb/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=BPEL_LINK&Password=BPEL_LINK"
  ["soapAction"]=>
  string(42) "rpc/http://siebel.com/asi/:Get_Siebel_Data"
  ["input"]=>
  array(5) {
    ["encodingStyle"]=>
    string(41) "http://schemas.xmlsoap.org/soap/encoding/"
    ["namespace"]=>
    string(22) "http://siebel.com/asi/"
    ["use"]=>
    string(7) "encoded"
    ["message"]=>
    string(41) "DPZ_Get_Siebel_Data_Get_Siebel_Data_Input"
    ["parts"]=>
    array(2) {
      ["Inp_Val"]=>
      string(39) "http://www.w3.org/2001/XMLSchema:string"
      ["Inp_Operation"]=>
      string(39) "http://www.w3.org/2001/XMLSchema:string"
    }
  }
  ["output"]=>
  array(5) {
    ["encodingStyle"]=>
    string(41) "http://schemas.xmlsoap.org/soap/encoding/"
    ["namespace"]=>
    string(22) "http://siebel.com/asi/"
    ["use"]=>
    string(7) "encoded"
    ["message"]=>
    string(42) "DPZ_Get_Siebel_Data_Get_Siebel_Data_Output"
    ["parts"]=>
    array(1) {
      ["XML_Doc"]=>
      string(39) "http://www.w3.org/2001/XMLSchema:string"
    }
  }
  ["style"]=>
  string(3) "rpc"
  ["transport"]=>
  string(36) "http://schemas.xmlsoap.org/soap/http"
  ["documentation"]=>
  string(0) ""
}
2010-03-09 07:47:03.158003 wsdl: have 2 part(s) to serialize using rpc/encoded
2010-03-09 07:47:03.158031 wsdl: have 1 parameter(s) provided as arrayStruct to serialize
2010-03-09 07:47:03.158054 wsdl: serializing part Inp_Val of type http://www.w3.org/2001/XMLSchema:string
2010-03-09 07:47:03.158076 wsdl: calling serializeType w/null param
2010-03-09 07:47:03.158099 wsdl: in serializeType: name=Inp_Val, type=http://www.w3.org/2001/XMLSchema:string, use=encoded, encodingStyle=, unqualified=qualified
value=NULL
2010-03-09 07:47:03.158130 wsdl: in serializeType: got a prefixed type: string, http://www.w3.org/2001/XMLSchema
2010-03-09 07:47:03.158154 wsdl: in serializeType: type namespace indicates XML Schema or SOAP Encoding type
2010-03-09 07:47:03.158180 wsdl: in serializeType: returning: <Inp_Val xsi:nil="true" xsi:type="xsd:string"/>
2010-03-09 07:47:03.158202 wsdl: serializing part Inp_Operation of type http://www.w3.org/2001/XMLSchema:string
2010-03-09 07:47:03.158223 wsdl: calling serializeType w/null param
2010-03-09 07:47:03.158246 wsdl: in serializeType: name=Inp_Operation, type=http://www.w3.org/2001/XMLSchema:string, use=encoded, encodingStyle=, unqualified=qualified
value=NULL
2010-03-09 07:47:03.158274 wsdl: in serializeType: got a prefixed type: string, http://www.w3.org/2001/XMLSchema
2010-03-09 07:47:03.158297 wsdl: in serializeType: type namespace indicates XML Schema or SOAP Encoding type
2010-03-09 07:47:03.158322 wsdl: in serializeType: returning: <Inp_Operation xsi:nil="true" xsi:type="xsd:string"/>
2010-03-09 07:47:03.158344 wsdl: serializeRPCParameters returning: <Inp_Val xsi:nil="true" xsi:type="xsd:string"/><Inp_Operation xsi:nil="true" xsi:type="xsd:string"/>
2010-03-09 07:47:03.158376 nusoap_client: wrapping RPC request with encoded method element
2010-03-09 07:47:03.158403 nusoap_client: In serializeEnvelope length=178 body (max 1000 characters)=<tns:Get_Siebel_Data xmlns:tns="http://siebel.com/asi/"><Inp_Val xsi:nil="true" xsi:type="xsd:string"/><Inp_Operation xsi:nil="true" xsi:type="xsd:string"/></tns:Get_Siebel_Data> style=rpc use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2010-03-09 07:47:03.158424 nusoap_client: headers:
bool(false)
2010-03-09 07:47:03.158449 nusoap_client: namespaces:
array(2) {
  ["tns"]=>
  string(22) "http://siebel.com/asi/"
  ["xsd"]=>
  string(32) "http://www.w3.org/2001/XMLSchema"
}
2010-03-09 07:47:03.158489 nusoap_client: endpoint=http://dpz-tescom/eai_heb/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=BPEL_LINK&Password=BPEL_LINK, soapAction=rpc/http://siebel.com/asi/:Get_Siebel_Data, namespace=http://siebel.com/asi/, style=rpc, use=encoded, encodingStyle=http://schemas.xmlsoap.org/soap/encoding/
2010-03-09 07:47:03.158512 nusoap_client: SOAP message length=610 contents (max 1000 bytes)=<?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://siebel.com/asi/"><SOAP-ENV:Body><tns:Get_Siebel_Data xmlns:tns="http://siebel.com/asi/"><Inp_Val xsi:nil="true" xsi:type="xsd:string"/><Inp_Operation xsi:nil="true" xsi:type="xsd:string"/></tns:Get_Siebel_Data></SOAP-ENV:Body></SOAP-ENV:Envelope>
2010-03-09 07:47:03.158546 nusoap_client: transporting via HTTP
2010-03-09 07:47:03.158821 nusoap_client: sending message, length=610
2010-03-09 07:47:03.158580 soap_transport_http: ctor url=http://dpz-tescom/eai_heb/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=BPEL_LINK&Password=BPEL_LINK use_curl= curl_options:
array(0) {
}
2010-03-09 07:47:03.158612 soap_transport_http: parsed URL scheme = http
2010-03-09 07:47:03.158635 soap_transport_http: parsed URL host = dpz-tescom
2010-03-09 07:47:03.158655 soap_transport_http: parsed URL path = /eai_heb/start.swe
2010-03-09 07:47:03.158676 soap_transport_http: parsed URL query = SWEExtSource=WebService&SWEExtCmd=Execute&UserName=BPEL_LINK&Password=BPEL_LINK
2010-03-09 07:47:03.158702 soap_transport_http: set header Host: dpz-tescom
2010-03-09 07:47:03.158741 soap_transport_http: set header User-Agent: NuSOAP/0.7.3 (1.114)
2010-03-09 07:47:03.158772 soap_transport_http: set header Content-Type: text/xml; charset=ISO-8859-1
2010-03-09 07:47:03.158797 soap_transport_http: set header SOAPAction: "rpc/http://siebel.com/asi/:Get_Siebel_Data"
2010-03-09 07:47:03.158849 soap_transport_http: entered send() with data of length: 610
2010-03-09 07:47:03.158875 soap_transport_http: connect connection_timeout 0, response_timeout 30, scheme http, host dpz-tescom, port 80
2010-03-09 07:47:03.158903 soap_transport_http: calling fsockopen with host dpz-tescom connection_timeout 0
2010-03-09 07:47:03.168853 soap_transport_http: set response timeout to 30
2010-03-09 07:47:03.168909 soap_transport_http: socket connected
2010-03-09 07:47:03.168970 soap_transport_http: set header Content-Length: 610
2010-03-09 07:47:03.169014 soap_transport_http: HTTP request: POST /eai_heb/start.swe?SWEExtSource=WebService&SWEExtCmd=Execute&UserName=BPEL_LINK&Password=BPEL_LINK HTTP/1.0
2010-03-09 07:47:03.169038 soap_transport_http: HTTP header: Host: dpz-tescom
2010-03-09 07:47:03.169060 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.7.3 (1.114)
2010-03-09 07:47:03.169081 soap_transport_http: HTTP header: Content-Type: text/xml; charset=ISO-8859-1
2010-03-09 07:47:03.169102 soap_transport_http: HTTP header: SOAPAction: "rpc/http://siebel.com/asi/:Get_Siebel_Data"
2010-03-09 07:47:03.169124 soap_transport_http: HTTP header: Content-Length: 610
2010-03-09 07:47:03.169170 soap_transport_http: wrote data to socket, length = 901
2010-03-09 07:47:08.085569 soap_transport_http: read line of 17 bytes: HTTP/1.1 200 OK
2010-03-09 07:47:08.085660 soap_transport_http: read line of 27 bytes: Server: Microsoft-IIS/5.0
2010-03-09 07:47:08.085700 soap_transport_http: read line of 37 bytes: Date: Tue, 09 Mar 2010 07:47:07 GMT
2010-03-09 07:47:08.085726 soap_transport_http: read line of 17 bytes: _CharSet: UTF-8
2010-03-09 07:47:08.085751 soap_transport_http: read line of 53 bytes: Cache-Control: no-cache, must-revalidate, max-age=0
2010-03-09 07:47:08.085777 soap_transport_http: read line of 18 bytes: Pragma: no-cache
2010-03-09 07:47:08.085805 soap_transport_http: read line of 38 bytes: Content-Type: text/xml;charset=UTF-8
2010-03-09 07:47:08.085830 soap_transport_http: read line of 21 bytes: Content-Length: 526
2010-03-09 07:47:08.085857 soap_transport_http: read line of 2 bytes:
2010-03-09 07:47:08.085912 soap_transport_http: found end of headers after length 230
2010-03-09 07:47:08.085982 soap_transport_http: want to read content of length 526
2010-03-09 07:47:08.086116 soap_transport_http: read buffer of 526 bytes
2010-03-09 07:47:08.086178 soap_transport_http: read to EOF
2010-03-09 07:47:08.086219 soap_transport_http: read body of length 526
2010-03-09 07:47:08.086258 soap_transport_http: received a total of 756 bytes of data from server
2010-03-09 07:47:08.086343 soap_transport_http: closed socket
2010-03-09 07:47:08.086399 soap_transport_http: No Content-Encoding header
2010-03-09 07:47:08.086444 soap_transport_http: end of send()
2010-03-09 07:47:08.086492 nusoap_client: got response, length=526 type=text/xml;charset=UTF-8
2010-03-09 07:47:08.086516 nusoap_client: Entering parseResponse() for data of length 526 headers:
array(7) {
  ["server"]=>
  string(17) "Microsoft-IIS/5.0"
  ["date"]=>
  string(29) "Tue, 09 Mar 2010 07:47:07 GMT"
  ["_charset"]=>
  string(5) "UTF-8"
  ["cache-control"]=>
  string(36) "no-cache, must-revalidate, max-age=0"
  ["pragma"]=>
  string(8) "no-cache"
  ["content-type"]=>
  string(22) "text/xml;charset=UTF-8"
  ["content-length"]=>
  string(3) "526"
}
2010-03-09 07:47:08.086576 nusoap_client: Got response encoding: UTF-8
2010-03-09 07:47:08.086655 nusoap_client: Use encoding: UTF-8 when creating nusoap_parser
2010-03-09 07:47:08.099666 nusoap_parser: Charset from HTTP Content-Type matches encoding from XML declaration
2010-03-09 07:47:08.099734 nusoap_parser: Entering nusoap_parser(), length=526, encoding=UTF-8
2010-03-09 07:47:08.100010 nusoap_parser: found root struct Get_Siebel_DataResponse, pos 2
2010-03-09 07:47:08.100122 nusoap_parser: in buildVal() for Get_Siebel_DataResponse(pos 2) of type struct
2010-03-09 07:47:08.100145 nusoap_parser: in buildVal, there are children
2010-03-09 07:47:08.100173 nusoap_parser: in buildVal, adding Java Vector or generic compound type Get_Siebel_DataResponse
2010-03-09 07:47:08.100204 nusoap_parser: in buildVal, return:
array(1) {
  ["XML_Doc"]=>
  &string(0) ""
}
2010-03-09 07:47:08.100271 nusoap_parser: parsed successfully, found root struct: 2 of name Get_Siebel_DataResponse
2010-03-09 07:47:08.100346 nusoap_client: sent message successfully and got a(n) array
return=array(1) {
  ["XML_Doc"]=>
  string(0) ""
}
2010-03-09 07:47:08.100387 nusoap_client: return shifted value:
string(0) ""


I am stuck more then a week on this bug
please help me
View user's profileFind all posts by klaibert26Send private message
getting a empty string from WS
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic