Quote:
Originally Posted by jcsa
Hello everybody!
I am using Netbeans 6.1 IDE with JDE 4.6 platform integrated. I have developed a J2ME MIDP application to connect to web service using jsr 172 specification and i had success. The same success using ksoap 1.2. In those cases using Sun Java Wireless Toolkit simulator.
The problem is when I try the same application in BlackBerry 9000 Bold simulator. I obviously changed the code.
It never connect to web service neither using jsr 172 or ksoap.
The exception in both cases is: "Local connection timed out after ~ 120000"
Somebody have any idea what is happend?. Did I forget do any else configuration?
thanks in advance
jcsa
|
Hi JCSA
How did u make it possible? i am still getting errors. Let u clear about my position.........
i am using netbeans 6.1+jde 4.7.0. I have generated stubs for webservice. But each time when i build and run my project getting errors like "JAXRPCException". My WSDL working fine with other, and i have tested only in emulators 9500. So can u plz help me........ here is the code snippet ...
public String getProviderList() throws java.rmi.RemoteException {
Object inputObject[] = new Object[] {
};
Operation op = Operation.newInstance( _qname_operation_getProviderList, _type_getProviderList, _type_getProviderListResponse );
_prepOperation( op );
op.setProperty( Operation.SOAPACTION_URI_PROPERTY, "" );
Object resultObj;
try {
resultObj = op.invoke( inputObject );
} catch( JAXRPCException e ) {
Throwable cause = e.getLinkedCause();
if( cause instanceof java.rmi.RemoteException ) {
throw (java.rmi.RemoteException) cause;
}
throw e;
}
return (String )((Object[])resultObj)[0];
}
i got error at bold line..........