java - org.xml.sax.SAXException: SimpleDeserializer encountered a child element, which is NOT expected -
i tried own eyes not find field causing exception. posted give try here
xml
<?xml version="1.0" encoding="utf-8"?> <wl5g3n0:definitions name="getsubsinfo" targetnamespace="http://www.example.org/getsubsinfo/" xmlns:wl5g3n0="http://schemas.xmlsoap.org/wsdl/" xmlns:wl5g3n1="http://www.example.org/getsubsinfo/" xmlns:wl5g3n2="http://schemas.xmlsoap.org/wsdl/soap/"> <wl5g3n0:types> <xsd:schema targetnamespace="http://www.example.org/getsubsinfo/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://www.example.org/getsubsinfo/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/xmlschema"> <xsd:element name="getsubsinforequest"> <xsd:complextype> <xsd:sequence> <xsd:element name="eid" type="xsd:string"/> <xsd:element name="tid" type="xsd:string"/> <xsd:element name="msisdn" type="xsd:string"/> <xsd:element name="imsi" type="xsd:string"/> <xsd:element name="lang" type="xsd:string"/> </xsd:sequence> </xsd:complextype> </xsd:element> <xsd:element name="getsubsinforesponse"> <xsd:complextype> <xsd:sequence> <xsd:element name="tid" type="xsd:string"/> <xsd:element name="msisdn" type="xsd:string"/> <xsd:element name="imsi" type="xsd:string"/> <xsd:element name="serviceclass" type="xsd:string"> </xsd:element> <xsd:element name="custbalanceinfo" type="xsd:string"> </xsd:element> <xsd:element name="services" type="tns:servicestype"> </xsd:element> </xsd:sequence> </xsd:complextype> </xsd:element> <xsd:element name="getcommunityrequest"> <xsd:complextype> <xsd:sequence> <xsd:element name="eid" type="xsd:string"/> <xsd:element name="tid" type="xsd:string"/> <xsd:element name="msisdn" type="xsd:string"/> <xsd:element name="imsi" type="xsd:string"/> <xsd:element name="lang" type="xsd:string"/> </xsd:sequence> </xsd:complextype> </xsd:element> <xsd:element name="getcommunityresponse"> <xsd:complextype> <xsd:sequence> <xsd:element name="tid" type="xsd:string"/> <xsd:element name="msisdn" type="xsd:string"/> <xsd:element name="imsi" type="xsd:string"/> <xsd:element name="serviceclass" type="xsd:string"> </xsd:element> <xsd:element maxoccurs="unbounded" minoccurs="0" name="communities" type="tns:communitiestype"> </xsd:element> </xsd:sequence> </xsd:complextype> </xsd:element> <xsd:complextype name="servicestype"> <xsd:sequence> <xsd:element maxoccurs="32" minoccurs="1" name="service" type="tns:servicetype"> </xsd:element> </xsd:sequence> </xsd:complextype> <xsd:complextype name="servicetype"> <xsd:sequence> <xsd:element name="servicetype" type="xsd:string"/> <xsd:element name="servicename" type="xsd:string"/> <xsd:element name="servicedescription" type="xsd:string"> </xsd:element> <xsd:element name="packagecode" type="xsd:string"/> <xsd:element name="packagename" type="xsd:string"/> <xsd:element name="startdate" type="xsd:string"/> <xsd:element name="enddate" type="xsd:string"/> <xsd:element name="packageperiod" type="xsd:string"> </xsd:element> <xsd:element name="periodunit" type="xsd:string"/> <xsd:element name="quotas" type="tns:quotastype"/> </xsd:sequence> </xsd:complextype> <xsd:complextype name="quotastype"> <xsd:sequence> <xsd:element maxoccurs="32" minoccurs="1" name="quota" type="tns:quotatype"> </xsd:element> </xsd:sequence> </xsd:complextype> <xsd:complextype name="quotatype"> <xsd:sequence> <xsd:element name="name" type="xsd:string"/> <xsd:element name="description" type="xsd:string"/> <xsd:element name="rawinitialquota" type="xsd:string"> </xsd:element> <xsd:element name="rawaditionalquota" type="xsd:string"> </xsd:element> <xsd:element name="rawusedquota" type="xsd:string"> </xsd:element> <xsd:element name="rawremainingquota" type="xsd:string"> </xsd:element> <xsd:element name="initialquota" type="xsd:string"> </xsd:element> <xsd:element name="additionalquota" type="xsd:string"> </xsd:element> <xsd:element name="usedquota" type="xsd:string"/> <xsd:element name="remainingquota" type="xsd:string"> </xsd:element> <xsd:element name="quotaunit" type="xsd:string"/> <xsd:element name="expirydate" type="xsd:string"/> <xsd:element name="quotasource" type="xsd:string"/> </xsd:sequence> </xsd:complextype> <xsd:complextype name="communitiestype"> <xsd:sequence> <xsd:element name="communityname" type="xsd:string"/> <xsd:element name="groups" type="tns:groupstype"/> </xsd:sequence> </xsd:complextype> <xsd:complextype name="groupstype"> <xsd:sequence> <xsd:element maxoccurs="5" minoccurs="0" name="group" type="tns:grouptype"/> </xsd:sequence> </xsd:complextype> <xsd:complextype name="grouptype"> <xsd:sequence> <xsd:element name="groupname" type="xsd:string"/> <xsd:element name="members" type="tns:memberstype"/> </xsd:sequence> </xsd:complextype> <xsd:complextype name="memberstype"> <xsd:sequence> <xsd:element maxoccurs="10" minoccurs="0" name="member" type="tns:membertype"/> </xsd:sequence> </xsd:complextype> <xsd:complextype name="membertype"> <xsd:sequence> <xsd:element name="msisdn" type="xsd:string"/> <xsd:element name="status" type="xsd:string"/> <xsd:element name="regdate" type="xsd:string"/> </xsd:sequence> </xsd:complextype> </xsd:schema> </wl5g3n0:types> <wl5g3n0:message name="getsubsinforequestmessage"> <wl5g3n0:part element="wl5g3n1:getsubsinforequest" name="parameters"/> </wl5g3n0:message> <wl5g3n0:message name="getsubsinforesponseresponse"> <wl5g3n0:part element="wl5g3n1:getsubsinforesponse" name="parameters"/> </wl5g3n0:message> <wl5g3n0:message name="getcommunityrequest"> <wl5g3n0:part element="wl5g3n1:getcommunityrequest" name="parameters"/> </wl5g3n0:message> <wl5g3n0:message name="getcommunityresponse"> <wl5g3n0:part element="wl5g3n1:getcommunityresponse" name="parameters"/> </wl5g3n0:message> <wl5g3n0:porttype name="getsubsinfo"> <wl5g3n0:operation name="getquota"> <wl5g3n0:input message="wl5g3n1:getsubsinforequestmessage"/> <wl5g3n0:output message="wl5g3n1:getsubsinforesponseresponse"/> </wl5g3n0:operation> <wl5g3n0:operation name="getcommunity"> <wl5g3n0:input message="wl5g3n1:getcommunityrequest"/> <wl5g3n0:output message="wl5g3n1:getcommunityresponse"/> </wl5g3n0:operation> </wl5g3n0:porttype> <wl5g3n0:binding name="getsubsinfosoap" type="wl5g3n1:getsubsinfo"> <wl5g3n2:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <wl5g3n0:operation name="getquota"> <wl5g3n2:operation soapaction="http://www.example.org/getsubsinfo/getquota"/> <wl5g3n0:input> <wl5g3n2:body use="literal"/> </wl5g3n0:input> <wl5g3n0:output> <wl5g3n2:body use="literal"/> </wl5g3n0:output> </wl5g3n0:operation> <wl5g3n0:operation name="getcommunity"> <wl5g3n2:operation soapaction="http://www.example.org/getsubsinfo/getcommunity"/> <wl5g3n0:input> <wl5g3n2:body use="literal"/> </wl5g3n0:input> <wl5g3n0:output> <wl5g3n2:body use="literal"/> </wl5g3n0:output> </wl5g3n0:operation> </wl5g3n0:binding> <wl5g3n0:service name="getsubsinfosoapqsservice"> <wl5g3n0:port binding="wl5g3n1:getsubsinfosoap" name="getsubsinfosoapqsport"> <wl5g3n2:address location="http://ssppsoasvr1:8002/pullhandler/getsubsinfows_ps"/> </wl5g3n0:port> </wl5g3n0:service> </wl5g3n0:definitions>
exception
exception:: org.xml.sax.saxexception: simpledeserializer encountered child element, not expected, in trying deserialize. @ org.apache.axis.encoding.ser.simpledeserializer.onstartchild(simpledeserializer.java:145) [axis.jar:] @ org.apache.axis.encoding.deserializationcontext.startelement(deserializationcontext.java:1035) [axis.jar:] @ org.apache.axis.message.sax2eventrecorder.replay(sax2eventrecorder.java:165) [axis.jar:] @ org.apache.axis.message.messageelement.publishtohandler(messageelement.java:1141) [axis.jar:] @ org.apache.axis.message.rpcelement.deserialize(rpcelement.java:236) [axis.jar:] @ org.apache.axis.message.rpcelement.getparams(rpcelement.java:384) [axis.jar:] @ org.apache.axis.client.call.invoke(call.java:2467) [axis.jar:] @ org.apache.axis.client.call.invoke(call.java:2366) [axis.jar:] @ org.apache.axis.client.call.invoke(call.java:1812) [axis.jar:] @ org.example.www.getsubsinfo.getsubsinfosoapstub.getquota(getsubsinfosoapstub.java:260) [getsubsinfo.jar:] @ com.ibm.indo.serviceimpl.genericserviceimpl.getpackage(genericserviceimpl.java:341) [classes:] @ com.ibm.indo.controller.indoservicecontroller.getpackages(indoservicecontroller.java:237) [classes:] @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) [rt.jar:1.7.0_85] @ sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:57) [rt.jar:1.7.0_85] @ sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:43) [rt.jar:1.7.0_85] @ java.lang.reflect.method.invoke(method.java:606) [rt.jar:1.7.0_85] @ org.springframework.web.method.support.invocablehandlermethod.doinvoke(invocablehandlermethod.java:221) [spring-web-4.1.7.release.jar:4.1.7.release] @ org.springframework.web.method.support.invocablehandlermethod.invokeforrequest(invocablehandlermethod.java:137) [spring-web-4.1.7.release.jar:4.1.7.release] @ org.springframework.web.servlet.mvc.method.annotation.servletinvocablehandlermethod.invokeandhandle(servletinvocablehandlermethod.java:110) [spring-webmvc-4.1.7.release.jar:4.1.7.release] @ org.springframework.web.servlet.mvc.method.annotation.requestmappinghandleradapter.invokehandlemethod(requestmappinghandleradapter.java:776) [spring-webmvc-4.1.7.release.jar:4.1.7.release] @ org.springframework.web.servlet.mvc.method.annotation.requestmappinghandleradapter.handleinternal(requestmappinghandleradapter.java:705) [spring-webmvc-4.1.7.release.jar:4.1.7.release] @ org.springframework.web.servlet.mvc.method.abstracthandlermethodadapter.handle(abstracthandlermethodadapter.java:85) [spring-webmvc-4.1.7.release.jar:4.1.7.release] @ org.springframework.web.servlet.dispatcherservlet.dodispatch(dispatcherservlet.java:959) [spring-webmvc-4.1.7.release.jar:4.1.7.release] @ org.springframework.web.servlet.dispatcherservlet.doservice(dispatcherservlet.java:893) [spring-webmvc-4.1.7.release.jar:4.1.7.release] @ org.springframework.web.servlet.frameworkservlet.processrequest(frameworkservlet.java:967) [spring-webmvc-4.1.7.release.jar:4.1.7.release] @ org.springframework.web.servlet.frameworkservlet.dopost(frameworkservlet.java:869) [spring-webmvc-4.1.7.release.jar:4.1.7.release] @ javax.servlet.http.httpservlet.service(httpservlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.final.jar:1.0.0.final] @ org.springframework.web.servlet.frameworkservlet.service(frameworkservlet.java:843) [spring-webmvc-4.1.7.release.jar:4.1.7.release] @ javax.servlet.http.httpservlet.service(httpservlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.final.jar:1.0.0.final] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:329) [jbossweb-7.0.13.final.jar:] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:248) [jbossweb-7.0.13.final.jar:] @ com.ibm.indo.util.sessionfilter.dofilter(sessionfilter.java:45) [classes:] @ org.apache.catalina.core.applicationfilterchain.internaldofilter(applicationfilterchain.java:280) [jbossweb-7.0.13.final.jar:] @ org.apache.catalina.core.applicationfilterchain.dofilter(applicationfilterchain.java:248) [jbossweb-7.0.13.final.jar:] @ org.apache.catalina.core.standardwrappervalve.invoke(standardwrappervalve.java:275) [jbossweb-7.0.13.final.jar:] @ org.apache.catalina.core.standardcontextvalve.invoke(standardcontextvalve.java:161) [jbossweb-7.0.13.final.jar:] @ org.jboss.as.web.security.securitycontextassociationvalve.invoke(securitycontextassociationvalve.java:153) [jboss-as-web-7.1.1.final.jar:7.1.1.final] @ org.apache.catalina.core.standardhostvalve.invoke(standardhostvalve.java:155) [jbossweb-7.0.13.final.jar:] @ org.apache.catalina.valves.errorreportvalve.invoke(errorreportvalve.java:102) [jbossweb-7.0.13.final.jar:] @ org.apache.catalina.core.standardenginevalve.invoke(standardenginevalve.java:109) [jbossweb-7.0.13.final.jar:] @ org.apache.catalina.connector.coyoteadapter.service(coyoteadapter.java:368) [jbossweb-7.0.13.final.jar:] @ org.apache.coyote.http11.http11processor.process(http11processor.java:877) [jbossweb-7.0.13.final.jar:] @ org.apache.coyote.http11.http11protocol$http11connectionhandler.process(http11protocol.java:671) [jbossweb-7.0.13.final.jar:] @ org.apache.tomcat.util.net.jioendpoint$worker.run(jioendpoint.java:930) [jbossweb-7.0.13.final.jar:] @ java.lang.thread.run(thread.java:745) [rt.jar:1.7.0_85]
note: not have server access view further logs. client side log.
regards
adeeb
i don't know problem, can try validate xml , xsd. here online tool that:
Comments
Post a Comment