Hi all,
Every time I want to access my web service I get the following error:
java.rmi.RemoteException: Service call exception; nested exception is:
java.lang.Exception: Unaccepted content type (text/html;charset=ISO-8859-1) !
java.lang.Exception: Unaccepted content type (text/html;charset=ISO-8859-1) !
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:618)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:980)
at proxy.ConfigBindingStub.getSchueler(ConfigBindingStub.java:169)
at test.AgWsTester.main(AgWsTester.java:28)
The Web Service is a stateless Session Bean, to build the service I used the Web Service wizard. The only change I made is to choose ?Simple SOAP? for the ?Default Configuration Type?. I deployed the service and used the Visual Administrator to generate a proxy jar out of the SAP WSDL. This proxy is used by a stand alone client to test the service as it is described in the help contents (generating a web service client). The called operation needs one parameter (int) and should return a self defined VO.
Thanks for help
Christian