You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Carolyn Vo <cv...@acornsys.com> on 2005/06/10 17:27:14 UTC

strange nillable error

Hello!

 

When we are trying to submit to our web service, we get an error saying

 

SEVERE: Admin:5 Exception -- (http-8080-Processor22) -- AxisFault

 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
<http://schemas.xmlsoap.org/soap/envelope/%7dServer.userException> 

 faultSubcode: 

 faultString: java.io.IOException: java.io.IOException: Non nillable element
'folderId' is null.

 faultActor: 

 faultNode: 

 faultDetail: 

      {http://xml.apache.org/axis/}stackTrace:java.io.IOException
<http://xml.apache.org/axis/%7dstackTrace:java.io.IOException> :
java.io.IOException: Non nillable element 'folderId' is null.

      at
org.apache.axis.encoding.ser.BeanSerializer.serialize(BeanSerializer.java:27
5)

      at
org.apache.axis.encoding.SerializationContext.serializeActual(SerializationC
ontext.java:1417)

      at
org.apache.axis.encoding.SerializationContext.serialize(SerializationContext
.java:912)

      at org.apache.axis.message.RPCParam.serialize(RPCParam.java:197)

      at org.apache.axis.message.RPCElement.outputImpl(RPCElement.java:433)

      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:477)

      at
org.apache.axis.message.MessageElement.output(MessageElement.java:1207)

      at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)

      at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)

      at org.apache.axis.SOAPPart.saveChanges(SOAPPart.java:530)

 

 

However, when we provide a default value for the folderId, we then get an
error complaining

 

SEVERE: Admin:8 Exception -- (http-8080-Processor25) --

AxisFault

 faultCode: Client

 faultSubcode: 

 faultString: Soap Client error.

 faultActor: 

 faultNode: 

 faultDetail: 

      {http://schemas.xmlsoap.org/soap/envelope/}RequestName:GetFolderItems

      {http://schemas.xmlsoap.org/soap/envelope/}ErrorCode:6033

      {http://schemas.xmlsoap.org/soap/envelope/}Description:

<soapenv:Message>Unexpected parameter name.</soapenv:Message>

<soapenv:Parameter1>FolderId</soapenv:Parameter1>

 

I'm at a loss here as to what is going on.  Any ideas? Can I add the
nillable attribute to the elements and set it to true so that I can get past
this? 

Thanks,
Carolyn