Response was of unexpected text/html ContentType

I created a WebService Implementation and created with Java2ws the client and server. Server Implementation Interface: @WebService(name = “McKreuzfahrtService”, targetNamespace = “http://service.mc/”) public interface McKreuzfahrtService { @WebMethod(operationName = “getKreuzfahrten”, action = “urn:GetKreuzfahrten”) public String getKreuzfahrten(@WebParam(name = “AbfahrtHafen”) String abfahrthafen, @WebParam(name = “FahrtDatum”) int fahrtDatum); Implementation: @WebService(targetNamespace = “http://service.mc/”, endpointInterface = “mc.service.McKreuzfahrtService”, portName = “McKreuzfahrtServiceImpPort”, serviceName…

Details

Remove need for .php in URL only works for index.php

I currently have two URLs as follows: /converter/index.php?from=USD&to=GBP&amnt=10&format=xml /converter/update.php?cur=USD&action=post I however need them to work in this format: /converter/?from=USD&to=GBP&amnt=10&format=xml /converter/update/?cur=USD&action=post I have got the first link working without specifying index.php by adding a .htaccess file: IndexIgnore * # prevent directory listing Order deny,allow Allow from * # —————————————— # Rewrite so that php extentions are…

Details