I want to access a webservice from a midlet.
First I created the webservice-stubs from the wsdl using Netbeans 6.1. I added the created classes to my test class. When I run the midlet on a mobile phone (Nokia E50), it starts well and asks properly to open the connection. After that, I get an exception
"javax.xml.rpc.JAXRPCException: java.io.IOException: -5120"
What's my mistake? I have not much influence on the code, because it is generated by netbeans, so I think it may be a problem with the java implementation on the phone or with some access rights.