[ http://issues.apache.org/jira/browse/AXISCPP-616?page=comments#action_12314023 ]
Dushshantha Chandradasa commented on AXISCPP-616: ------------------------------------------------- With C++ server side, NULL values and empty strings in arrays are correctly handled. For empty string i get a server response similer to the following. <?xml version='1.0' encoding='utf-8' ?> <SOAP-ENV:Envelope 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"> <SOAP-ENV:Body> <ns1:echoStringArrayResponse xmlns:ns1="http://arrays.test.apache.org"> <echoStringArrayReturn>Apache</echoStringArrayReturn> <echoStringArrayReturn ></echoStringArrayReturn> </ns1:echoStringArrayResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> And for a NULL value, following is the response. <?xml version='1.0' encoding='utf-8' ?> <SOAP-ENV:Envelope 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"> <SOAP-ENV:Body> <ns1:echoStringArrayResponse xmlns:ns1="http://arrays.test.apache.org"> <echoStringArrayReturn>Apache</echoStringArrayReturn> <echoStringArrayReturn xsi:nil="true"></echoStringArrayReturn> </ns1:echoStringArrayResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope Could somebody please check this and confirm with Java server side??? > Empty strings or null values misinterpreted in Arrays by SoapDeserializer > ------------------------------------------------------------------------- > > Key: AXISCPP-616 > URL: http://issues.apache.org/jira/browse/AXISCPP-616 > Project: Axis-C++ > Type: Bug > Components: Client - Deserialization > Versions: 1.5 Final > Environment: Win32 > Reporter: Giorgio Saviane > Assignee: Dushshantha Chandradasa > Priority: Blocker > > A WS method call returning an Array of Strings (a Java String[] type) fails > on the SoapDeSerializer::getBasicArray method if the array contains some > empty strings or null objects. > The failure could be isolated at line 1330 of SoapDeSerializer.cpp, on a > piece of code where a call to the DESERIALIZE_ENCODED_POINTER_ARRAY_BLOCK > macro occurs. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
