See below...
Thomas Esche wrote:
Since nobody answer me, I answer myself:Hi, has someone successfully used a Cache WebService with JAVA? I tried to use the following source code (example with placeholders):
String endpoint = <LOCATION>/<CLASS> Service service = new Service(); Call call = (Call) service.createCall(); call.setTargetEndpointAddress( new java.net.URL(endpoint) ); call.setOperationName(new QName(<NAMESPACE>, <METHOD>)); String test = (String) call.invoke( new Object[] {"abc"});
The following error appears: 503: "Service Unavailable"
Is someone able to help? Thanking you in advance. Thomas
I could solve my Problem by using the tool wsdl2java (Apache Axis Project) to create (Wrapper-)JAVA classes. This classes I could easy use to access the Cache WebServices.
Nevertheless, if anybody knows the reason why the code above doesn't work, please give me an answer.
Thanks.
Thomas
