axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fabrizio Vizzari (JIRA)" <>
Subject [jira] Commented: (AXIS2-2713) Invocation target exception invoking String[] element nillable
Date Fri, 25 May 2007 13:17:16 GMT


Fabrizio Vizzari commented on AXIS2-2713:

Thanks dims for your suggestion,

I know that minOccurs is 1 by default. But minOccurs means that the tag can be omitted in
the envelope.

In my envelope as you can see i pass explicitly "zone" and "parole chiave" but i leave them
empty. I also tried to explicitly set them to nil.
I tried now to avoid to pass the two elements above and the request does not generate the

But this behaviour is very strange because my server and 3P server with the same envelope
and tha same AXIS2 version and a wsdl very similar works in two different ways.

In addition of that the wsdl is auto-generated and i really can't manually edit the wsdl every
time there is a change in the schema.

Thanks again,

> Invocation target exception invoking String[] element nillable
> --------------------------------------------------------------
>                 Key: AXIS2-2713
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: databinding, wsdl
>    Affects Versions: 1.2
>         Environment: Both winXP and Linux.
> Both application server Tomcat and JBoss
>            Reporter: Fabrizio Vizzari
>         Attachments: 3P_wsdl.wsdl, my_wsdl.wsdl
> Hi,
> i have a wsdl generated from a third part (with Axis2 1.2). I attach it with the name
> I used this wsdl to generate my client (ADB) and everything works.
> I need also to have a server side webservice with the same object generated in the previous
phase. I attach the resoulting wsdl with the name my_wsdl.wsdl.
> If i try to invoke my webservice i have this exception:
> org.apache.axis2.AxisFault: InvocationTargetException : java.lang.reflect.InvocationTargetException
> 	at org.apache.axis2.databinding.utils.BeanUtil.deserialize(
> 	at org.apache.axis2.databinding.utils.BeanUtil.deserialize(
> 	at org.apache.axis2.databinding.utils.BeanUtil.processObject(
> 	at org.apache.axis2.databinding.utils.BeanUtil.ProcessElement(
> 	at org.apache.axis2.databinding.utils.BeanUtil.deserialize(
> 	at org.apache.axis2.rpc.receivers.RPCUtil.processRequest(
> 	at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(
> 	at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(
> 	at org.apache.axis2.engine.AxisEngine.receive(
> 	at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(
> 	at org.apache.axis2.transport.http.AxisServlet.doPost(
> 	at javax.servlet.http.HttpServlet.service(
> 	at javax.servlet.http.HttpServlet.service(
> 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> 	at org.apache.catalina.core.StandardWrapperValve.invoke(
> 	at org.apache.catalina.core.StandardContextValve.invoke(
> 	at org.apache.catalina.core.StandardHostValve.invoke(
> 	at org.apache.catalina.valves.ErrorReportValve.invoke(
> 	at org.apache.catalina.core.StandardEngineValve.invoke(
> 	at org.apache.catalina.connector.CoyoteAdapter.service(
> 	at org.apache.coyote.http11.Http11Processor.process(
> 	at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(
> 	at
> 	at
> 	at org.apache.tomcat.util.threads.ThreadPool$
> 	at Source)
> I noticed tha the problem is caused by the elements "zone" and "parole chiave" that i
can't pass nil or empty string also if are declared nillable in the wsdl.
> The soap envelope passed from client to server is:
> <soapenv:Envelope xmlns:soapenv="" xmlns:xsd=""
>    <soapenv:Header/>
>    <soapenv:Body>
>       <xsd:elencoCertificati>
>          <xsd:input>
>             <xsd1:richiesta>
>                <xsd1:categoria></xsd1:categoria>
>                <xsd1:dimensionePagina>10</xsd1:dimensionePagina>
>                <xsd1:numeroPagina>1</xsd1:numeroPagina>
>                <xsd1:ordinamenti>
>                   <xsd1:tipo></xsd1:tipo>
>                   <xsd1:verso></xsd1:verso>
>                </xsd1:ordinamenti>
>                <xsd1:paroleChiave></xsd1:paroleChiave>
>                <xsd1:periodiDisponibilita>
>                   <xsd1:fine></xsd1:fine>
>                   <xsd1:inizio></xsd1:inizio>
>                </xsd1:periodiDisponibilita>
>                <xsd1:soggettoOrganizzatore></xsd1:soggettoOrganizzatore>
>                <xsd1:zone></xsd1:zone>
>             </xsd1:richiesta>
>             <xsd1:MY_QNAME></xsd1:MY_QNAME>
>          </xsd:input>
>       </xsd:elencoCertificati>
>    </soapenv:Body>
> </soapenv:Envelope>
> The same identical envelope used to invoke the 3P wsdl does not generate any problem.
> Which could be the problem ?
> Thank you
> Fabrizio

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message