Limitation of J2ME Web Service JSR 172 package.

Me and my team members currently work on Mobile application that require web services data. We found that J2ME had limited support of WSDL binding style. According to J2ME JSR 172 specification section 3.2.2 Operation mode, the only WSDL binding style is supported is document/literal.

If we trying to use RPC/literal, we will get error when we tried to generate stub with the WSDL file. It is pity that, the limitation of this package had limited the way WSDL bind the document into SOAP.

There are few options to overcome this, either use REST way or regenerate the WSDL file with document/literal binding style.