-----Urspr�ngliche Nachricht-----
Von: Plorks mail [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 24. Mai 2005 11:55
An: [email protected]
Betreff: (405) Method not allowed
Dear All,
I'm trying to call a method from an external web service using this code
But i get the error
(405) Method not allowed
Is anyone able to tell me what this error means, can anyone see anything
wrong with my code
Many thanks or your help
String a = "12345"
String b = "12345"
int c = 86;
String d= Integer.toHexString(c);
URL endpoint = new URL("http://.........calling_service.wsdl");
Service service = new Service();
Call call = (Call)service.createCall();
call.setTargetEndpointAddress(endpoint);
call.setUsername("username");
call.setPassword("password");
call.setOperationName("methodName");
String result = (String)call.invoke(new Object[] {a, b, d});
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger 7.0 today!
http://messenger.msn.co.uk