You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Dominik Kacprzak (JIRA)" <ax...@ws.apache.org> on 2004/12/07 18:18:13 UTC

[jira] Commented: (AXIS-1703) code working under previous release is now broken

     [ http://nagoya.apache.org/jira/browse/AXIS-1703?page=comments#action_56333 ]
     
Dominik Kacprzak commented on AXIS-1703:
----------------------------------------

Anthony,

in the past, Axis was not handling nillable parameters properly, that's why your code used to work.  The wsdl that you are using, declares resultMask element as required, non-nillable (default value), hence, your web service has to set a value for resultMask.

Let me know if you need more help, if not, let's close this issue.

- 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