I have a request which works fine when i hit the service using POSTMAN and POSTER plugins but when i try to hit load-balancing url i received ERROR.
ERROR in POSTER ( plugin ):
ERROR in POSTMAN ( plugin ):
Part of code:
@Path( "/" )
public class Check {
public ResultSet rs;
@POST
@Produces( MediaType.TEXT_PLAIN )
@Consumes( "application/xml" )
public String validate( String xmlContent ) throws Exception {
String value = "no";
String result = null;
Boolean inputCheck;
Contents unmarshalledValues = unmarshalingContent( xmlContent );
MIME Type Details:
Well, MIME type of xml
http://annevankesteren.nl/2004/08/mime-types
Example for consuming XML
Well, I have JAXRS to un-marshaller xml, so i removed
@Consumes
it worked :)