axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Kacprzak (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Commented: (AXIS-1703) code working under previous release is now broken
Date Wed, 08 Dec 2004 07:08:13 GMT
     [ http://nagoya.apache.org/jira/browse/AXIS-1703?page=comments#action_56362 ]
     
Dominik Kacprzak commented on AXIS-1703:
----------------------------------------

You are correct. In the previous versions (including 1.2 builds), Axis used to ignore element's
nillable attribute.  It was patched recently to enforce a proper behavior.  If you want a
required element to be nillable, you should declare it explicitly by adding attribute: nillable="true".
 You can also pass an empty string for its value. For more information about the patch that
addressed element nillability, check out: http://nagoya.apache.org/jira/browse/AXIS-530.

I did a quick search in JIRA for any opened issues related to xsd:list.  There is only one
- AXIS-66, which should be closed anyway. 
Could you close this ticket and open another one for wsdl2java handling of xsd:list?

cheers,

- Dominik

> code working under previous release is now broken
> -------------------------------------------------
>
>          Key: AXIS-1703
>          URL: http://nagoya.apache.org/jira/browse/AXIS-1703
>      Project: Axis
>         Type: Bug
>     Versions: current (nightly)
>  Environment: windows 2000, sun j2sdk1.4.2_06
>     Reporter: anthony cervi
>     Priority: Blocker

>
> i've just downloaded the nightly build and i get an error with code that worked under
a previous build.  here's my wsdl:  http://staging.mappoint.net/standard-30/MapPoint.wsdl
> java.io.IOException: Non nillable element 'resultMask' is null.
> 	at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:176)
> 	at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1355)
> 	at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:881)
> 	at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:669)
> 	at org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:187)
> 	at org.apache.axis.encoding.SerializationContext.serializeActual(SerializationContext.java:1355)
> 	at org.apache.axis.encoding.SerializationContext.serialize(SerializationContext.java:881)
> 	at org.apache.axis.message.RPCParam.serialize(RPCParam.java:177)
> 	at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:435)
> 	at org.apache.axis.message.MessageElement.output(MessageElement.java:1207)
> 	at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:139)
> 	at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:485)
> 	at org.apache.axis.message.MessageElement.output(MessageElement.java:1207)
> 	at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:297)
> 	at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:271)
> 	at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:482)
> 	at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:519)
> 	at org.apache.axis.Message.getContentType(Message.java:475)
> 	at org.apache.axis.transport.http.CommonsHTTPSender.addContextInfo(CommonsHTTPSender.java:358)
> 	at org.apache.axis.transport.http.CommonsHTTPSender.invoke(CommonsHTTPSender.java:133)
> 	at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
> 	at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> 	at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> 	at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
> 	at org.apache.axis.client.Call.invokeEngine(Call.java:2726)
> 	at org.apache.axis.client.Call.invoke(Call.java:2709)
> 	at org.apache.axis.client.Call.invoke(Call.java:2385)
> 	at org.apache.axis.client.Call.invoke(Call.java:2308)
> 	at org.apache.axis.client.Call.invoke(Call.java:1765)
> 	at com.priceline.enginfra.mapmanager.mappoint_30.FindServiceSoapStub.findAddress(FindServiceSoapStub.java:1255)
> 	at GeocodeTest.main(GeocodeTest.java:61)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message