sayan801 / java-webservice

1 stars 0 forks source link

restful client for webservice #11

Open sayan801 opened 9 years ago

sayan801 commented 9 years ago

Successfully Added. Dec 07, 2014 8:39:16 AM com.sun.jersey.api.client.ClientResponse getEntity SEVERE: A message body reader for Java class com.hms.model.DoctorInfo, and Java type class com.hms.model.DoctorInfo, and MIME media type application/octet-stream was not found Dec 07, 2014 8:39:16 AM com.sun.jersey.api.client.ClientResponse getEntity SEVERE: The registered message body readers compatible with the MIME media type are: application/octet-stream -> com.sun.jersey.core.impl.provider.entity.ByteArrayProvider com.sun.jersey.core.impl.provider.entity.FileProvider com.sun.jersey.core.impl.provider.entity.InputStreamProvider com.sun.jersey.core.impl.provider.entity.DataSourceProvider com.sun.jersey.core.impl.provider.entity.RenderedImageProvider / -> com.sun.jersey.core.impl.provider.entity.FormProvider com.sun.jersey.atom.rome.impl.provider.entity.AtomFeedProvider com.sun.jersey.core.impl.provider.entity.MimeMultipartProvider com.sun.jersey.atom.rome.impl.provider.entity.AtomEntryProvider com.sun.jersey.core.impl.provider.entity.StringProvider com.sun.jersey.core.impl.provider.entity.ByteArrayProvider com.sun.jersey.core.impl.provider.entity.FileProvider com.sun.jersey.core.impl.provider.entity.InputStreamProvider com.sun.jersey.core.impl.provider.entity.DataSourceProvider com.sun.jersey.core.impl.provider.entity.XMLJAXBElementProvider$General com.sun.jersey.core.impl.provider.entity.ReaderProvider com.sun.jersey.core.impl.provider.entity.DocumentProvider com.sun.jersey.core.impl.provider.entity.SourceProvider$StreamSourceReader com.sun.jersey.core.impl.provider.entity.SourceProvider$SAXSourceReader com.sun.jersey.core.impl.provider.entity.SourceProvider$DOMSourceReader com.sun.jersey.json.impl.provider.entity.JSONJAXBElementProvider$General com.sun.jersey.json.impl.provider.entity.JSONArrayProvider$General com.sun.jersey.json.impl.provider.entity.JSONObjectProvider$General com.sun.jersey.core.impl.provider.entity.XMLRootElementProvider$General com.sun.jersey.core.impl.provider.entity.XMLListElementProvider$General com.sun.jersey.core.impl.provider.entity.XMLRootObjectProvider$General com.sun.jersey.core.impl.provider.entity.EntityHolderReader com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider$General com.sun.jersey.json.impl.provider.entity.JSONListElementProvider$General

com.sun.jersey.api.client.ClientHandlerException: A message body reader for Java class com.hms.model.DoctorInfo, and Java type class com.hms.model.DoctorInfo, and MIME media type application/octet-stream was not found at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:630) at com.sun.jersey.api.client.ClientResponse.getEntity(ClientResponse.java:586) at com.hms.client.RestfulClient.findDoctorByID(RestfulClient.java:99) at com.hms.client.RestfulClient.main(RestfulClient.java:46)