Unexpected subelement applicationID - from Stub's parse method --------------------------------------------------------------
Key: AXIS2-4383 URL: https://issues.apache.org/jira/browse/AXIS2-4383 Project: Axis 2.0 (Axis2) Issue Type: Bug Components: adb, client-api, ide plugins, wsdl Affects Versions: 1.4.1 Environment: Tomcat 5.5, Axis2 1.4.1, Eclipse 3.4.2, Axis2 Code generator plugin Reporter: Ramya Priority: Blocker Hello, I am stuck with the "Unexcpected subelement applicationID" ADBException in my Client stub. I used Eclipse code generator plugin to generate the client code for my wsdl. I created a wrapper client which calls the stub class, has a hard coded input soap xml and calls the Stub's parse method with an XMLStreamReader. My input xml is: <?xml version='1.0' encoding='utf-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://service.wellsfargo.com/entity/message/2007" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns3="http://service.wellsfargo.com/provider/System2/bntService/getBankerNotes/2007/" xmlns:ns2="http://service.wellsfargo.com/entity/message/2007/"> <soapenv:Header/> <soapenv:Body> <ns3:getBankerNotes> <applicationID>20091133500003</applicationID> <requestorLoc>02604</requestorLoc> <requestorID>NWCB0090</requestorID> </ns3:getBankerNotes> </soapenv:Body> </soapenv:Envelope> I debugged through the parse method and the point where the exception is thrown is: if (reader.isStartElement() && new javax.xml.namespace.QName("","requestorLoc").equals(reader.getName())){ since reader.getName() is still stuck at "applicationID" whereas the flow has gone to "requestorLoc" It seems like reader.next() is actually not moving the pointer or something. Your quick reply and help with this is highly appreciated!! -wsnewbie -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.