Fix SOAP extension type encoding

Fix a stack overflow issue when an xs:extension type in the SOAP
request is present in the SoapClient class map