fixed :) next time, it'd help if the bug report heading had a [PATCH] keyword.

-- dims

--- Steve Maring <[EMAIL PROTECTED]> wrote:
> That is the exact error that I managed to create a fix
> for: 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23664
> 
> It drove me frickin' nuts for weeks!  I dropped about
> a hundred log.debug()s into the Axis code and used
> AspectJ to dump out the execution path before I could
> figure out what was going on.
> 
> Hope it helps!  LMK if it does or doesn't.  If we
> create enough stir over this we might get one of the
> committers to commit the patch!
> 
> Cheers.
> Steve Maring
> 
> 
> --- Wolfram Ditzer <[EMAIL PROTECTED]> wrote:
> > Hello
> > 
> > I use a WSDL2Java generated Client for a webservice.
> > 
> > I succeed in requesting a service, but my client can
> > not parse the 
> > response. I get a Exception:
> > 
> > org.xml.sax.SAXException: Invalid element in 
> > optel.ws.test.schemas.aaa.User - user
> >         at 
> >
> org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:260)
> >         at 
> >
>
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:963)
> >         at 
> >
> org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
> >         at 
> >
> org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:722)
> >         at 
> >
> org.apache.axis.message.RPCElement.deserialize(RPCElement.java:233)
> >         at
> >
> org.apache.axis.message.RPCElement.getParams(RPCElement.java:347)
> >         at
> > org.apache.axis.client.Call.invoke(Call.java:2272)
> >         at
> > org.apache.axis.client.Call.invoke(Call.java:2171)
> >         at
> > org.apache.axis.client.Call.invoke(Call.java:1691)
> > ....
> > 
> > Exception is thrown when deserializing
> > <ns6:articel>, see below!
> > 
> > What could be wrong?
> > 
> > Tahnks Wolfram
> > 
> > 
> > 
> > <SOAP-ENV:Envelope ....
> > <SOAP-ENV:Header>
> > ...
> > </SOAP-ENV:Header>
> > <SOAP-ENV:Body>
> > <ns3:requestFoo
> > xmlns:ns3="http://optel.ws.test/aaa";>
> >     <result xsi:type="ns4:response" 
> >
> xmlns:ns4="http://optel.ws.test/schemas/v01/testws/";>
> >         <result xsi:type="xsd:string">OK
> >         </result>
> >     </result>
> >     <order xsi:type="ns6:articel" 
> >
> xmlns:ns6="http://optel.ws.test/schemas/v01/testws/";>
> >   
> >         <artType xsi:type="ns6:artName">
> >             <name
> > xsi:type="xsd:string">coffee</name>
> >         </artType>
> >         <articels
> > SOAP-ENC:arrayType="ns6:articel[1]">
> >             <ns6:articel>                           
> >                    
> >                          <!-- !!!!!!!!!!!!!!! -->
> >                 <artId xsi:type="ns6:artId">
> >                     <msisdn
> > xsi:type="xsd:string">431752764371</msisdn>
> >                 </artId>
> >             </ns6:articel>
> >         </articels>
> >     </order>
> > </ns3:fullRequestResponse>
> > </SOAP-ENV:Body>
> > </SOAP-ENV:Envelope>
> > 
> > 
> > 
> 
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

Reply via email to