Following is the wsdl file i was trying to use with Jax-RPC runtime. It worked fine with Axis but giving issues when i used Jax-RPC.

  <xsd:schema    xmlns:xsd=”http://www.w3.org/2001/XMLSchema
    xmlns:stns=”java:com.xx.vims.domain”
    elementFormDefault=”qualified”
    attributeFormDefault=”qualified”
    targetNamespace=”java:com.xx.vims.domain”>
   <xsd:complexType     name=”VIMSBaseDomain”>
    <xsd:sequence>
     <xsd:element       type=”xsd:dateTime”
       name=”lastUpdatedTime”
       minOccurs=”1″
       nillable=”true”
       maxOccurs=”1″>
     </xsd:element>
     <xsd:element       type=”xsd:int”
       name=”statusCode”
       minOccurs=”1″
       maxOccurs=”1″>
     </xsd:element>
    </xsd:sequence>
   </xsd:complexType>
  </xsd:schema>
   <xsd:complexType     name=”County”>
    <xsd:complexContent>
     <xsd:extension       xmlns:tp=”java:com.xx.vims.domain”
       base=”tp:VIMSBaseDomain“>
      <xsd:sequence>
       <xsd:element         type=”xsd:string”
         name=”code”
         minOccurs=”1″
         nillable=”true”
         maxOccurs=”1″>
       </xsd:element>
      </xsd:sequence>
     </xsd:extension>
    </xsd:complexContent>
   </xsd:complexType>

Issue: When there is Complextype used in wsdl it gives following error for Jax-RPC

faultString: org.xml.sax.SAXException: WSWS3047E: Error: Cannot deserialize element lastUpdatedTime of bean XXXXXXX.

Child element lastUpdatedTime does not belong in namespace .

Solution:
If you look in wsdl you will notice elementFormDefault=”qualified” which we need to change to elementFormDefault=”unqualified

Note: Make changes in all the places where you see  elementFormDefault=”qualified”  and generate client classes again to resolve the issue.

 

Good luck. Let me know if it resolves your issue.