[
https://issues.apache.org/jira/browse/AXISCPP-1026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12479639
]
Wayne Johnson commented on AXISCPP-1026:
----------------------------------------
OK, adding Array did not solve the problem (as stated above), but adding back
in xsi:type=\"soapenc:Array\ does. Here's my current (and working) diff.
Index: c/src/common/Param.cpp
===================================================================
--- c/src/common/Param.cpp (revision 516429)
+++ c/src/common/Param.cpp (working copy)
@@ -104,8 +104,9 @@
else
{
pSZ.serialize (" xmlns:enc", NULL);
- pSZ.serialize ("=\"http://www.w3.org/2001/06/soap-encoding\"
", NULL);
-
+ pSZ.serialize
("=\"http://www.w3.org/2001/06/soap-encoding/Array\" ", NULL);
+ pSZ.serialize (" xsi:type=\"soapenc:Array\" ", NULL);
+
if (m_Value.pArray->m_type == USER_TYPE &&
!m_Value.pArray->m_URI.empty())
{
> Seversal issues in generating soap from complex arrays
> ------------------------------------------------------
>
> Key: AXISCPP-1026
> URL: https://issues.apache.org/jira/browse/AXISCPP-1026
> Project: Axis-C++
> Issue Type: Bug
> Components: SOAP
> Affects Versions: 1.6 Beta
> Environment: Windows VC++ and Axis 1.4 (Java) server
> Reporter: Wayne Johnson
> Priority: Critical
> Fix For: current (nightly)
>
> Attachments: AxisCPP-1026.patch, SWS.wsdl
>
>
> (this is a weeks worth of changes from memory, so I might have missed
> something).
> 1) does not generate xsi:nil when needed.
> 2) Missing enc:arrayType=
> 3) Generates xmlns:nsX="". This causes Xerces to barf with
> org.xml.sax.SAXParseException: The value of the attribute "prefix="xm
> lns",localpart="ns3",rawname="xmlns:ns3"" is invalid. Prefixed namespace
> binding s may not be empty.
> 4) Generated complex object serializer uses URI of NULL, causes crash in
> ArrayBean.cpp
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]