Cloud for costumer – Web service Java consumption
Currently we are trying to use the SAP Cloud webservices. We’ve succesfully configured the webservice. Using the webservice in SoapUI works without any problems.
However we are experiencing problems when trying to consume the webservice using Java (with Eclipse IDE).
We’ve downloaded a WSDL file from the cloud and are using AXIS to generate the Java proxy in Eclipse.
When using AXIS 1 (as shown in SAP tutorials) we get an error that the WSDL is invalid.
When using AXIS 2, the proxy is generated succesfully. When using the proxy object, an error occurs while trying to parse the response.
What is the correct way to connect to the SAP Cloud webservices using Java?