axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sascha Monteiro" <>
Subject types.Name Invalid Namedata
Date Mon, 18 Jul 2005 23:04:23 GMT
I have used the wdsl2java and an element in a xsd;
<xsd:element name="name" type="axl:UniqueName128">
was represented as org.apache.axis.types.Name in my java stub.

But when I use the Port to send a SOAP message to my server I get an error
when I try to send S1/DS1-0@TESTVGW01 in the Name field

java.lang.IllegalArgumentException: Invalid Namedata=[S1/DS1-0@TESTVGW01]
       at org.apache.axis.types.Name.<init>(

If I remove the / and @ it is accepted, but I have to use the name with 
those characters,
but these are URL friendly characters right?
I also tried to use hex values for the ascii, but no luck

Is this as designed, do I need to escape my characters in a different matter
or is it a bug?

Thanks a lot

View raw message