I'm developing a J2ME application to communicate with a Web Service.
When I run the midlet, i got the error:
javax.xml.rpc.JAXRPCException: javax.microedition.pki.CertificateException: Subject alternative name did not match site name
The error appear at the line: resp = proxy.getKeys(getInc);
I tried to make an application in J2EEto communicate with this web service and everything was fine, I didn't have any error.
I set the same properties to the Stub such as: ENDPOINT_ADDRESS_PROPERTY, USERNAME_PROPERTY, PASSWORD_PROPERTY.
Could someone please tell me what is wrong?
I really need your help!