axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne Johnson <w...@yahoo.com>
Subject Re: Problem serializing a complex array
Date Mon, 05 Mar 2007 15:33:08 GMT
Thanks for the response.  I've opened several bugs for all the patches I currently have.  It
all appears to be working now, so I'm hoping that this is the last of them.

Thanks.

Nadir Amra <amra@us.ibm.com> wrote: Wayne,

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

Nadir K. Amra


Wayne Johnson  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:
>   

> xmlns:ns3="" enc:arrayType="ns3:properties[0]">
>   

> 
> The Java serializer generates (with the same bean):
>  

> 
> 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





--- 
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

 
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
Mime
View raw message