axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nadir Amra <a...@us.ibm.com>
Subject Re: Problem serializing a complex array
Date Sun, 04 Mar 2007 23:39:39 GMT
Wayne,

Seems to be a problem.  When creating JIRA and patch, please attach sample 
wsdl and soap response. thanks.

Nadir K. Amra


Wayne Johnson <wdtj@yahoo.com> wrote on 03/01/2007 08:27:10 AM:

> I've been having problems serializing a bean that contains an array 
> of other beans.  It generates a soap packet like:
>   <properties xmlns:enc="http://www.w3.org/2001/06/soap-encoding" 
> xmlns:ns3="" enc:arrayType="ns3:properties[0]">
>   </properties>
> 
> The Java serializer generates (with the same bean):
>  <properties xsi:type="ns3:SWSProperty" xsi:nil="true"/>
> 
> I get the error from the service:
> Exception: org.xml.sax.SAXParseException: The value of the attribute
> "prefix="xmlns",localpart="ns3",rawname="xmlns:ns3"" is invalid. 
> Prefixed namespace bindings may not be empty.
> 
> Now I think the problem is the xmlns:ns3="".  I've found the code in
> param.cpp that's generating the weird namespace and I'm working on a
> patch.  Just want someone to confirm that what I'm seeing is 
> incorrect, and/or whether maybe we should have detected that the 
> original array pointer was NULL as is being handled by the java client.
> 
> 
> 
> 
> 
> 
> --- 
> Wayne Johnson,             | There are two kinds of people: Those 
> 3943 Penn Ave. N.          | who say to God, "Thy will be done," 
> Minneapolis, MN 55412-1908 | and those to whom God says, "All right, 
> (612) 522-7003             | then, have it your way." --C.S. Lewis
>  Looking for earth-friendly autos? 
> Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. 

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message