Example
Dim orderCreatedDateRaw As String = ""
Dim tempTime As String = "201203220836"
Dim dtDate As DateTime
dtDate = DateTime.ParseExact(tempTime, "yyyyMMddHHmm", CultureInfo.CurrentCulture)
orderCreatedDateRaw = dtDate.ToString("yyyy-MM-dd")
dont forget to import "System.Globalization"
Wednesday, March 21, 2012
org.apache.axis2.databinding.ADBException
This happen when client try to invoke the web service server... and then the error "org.apache.axis2.databinding.ADBException: Unexpected subelement ........." come out...
please check the parameter...
1st. see error remark.. "Unexpected subelement dataFeat"
2nd. find dataFeat parameter.
3rd. analysis your xml..
<listDatafeats>
<dataFeat></dataFeat>
<--- missing <dataFeat1> parameter -->
<dataFeat2></dataFeat2>
</listDatafeats>
so now you can ask the client side to change or add the parameter.
please check the parameter...
1st. see error remark.. "Unexpected subelement dataFeat"
2nd. find dataFeat parameter.
3rd. analysis your xml..
<listDatafeats>
<dataFeat></dataFeat>
<--- missing <dataFeat1> parameter -->
<dataFeat2></dataFeat2>
</listDatafeats>
so now you can ask the client side to change or add the parameter.
Subscribe to:
Posts (Atom)