user179437
user179437

Reputation: 713

REST service with binary data

I want to create Restful service which can accept binary data. I've implemented javax.xml.ws.Provider interface, but i can't get content of request. If I use javax.xml.ws.Dispatch then its send only XML data, but I need transfer binary data.

Please give some solution, but I don't prefer to use JAX-RS or Restlets.

Thanks.

Upvotes: 0

Views: 1231

Answers (1)

Darrel Miller
Darrel Miller

Reputation: 142252

From what I can tell javax.xml.ws.Provider is a class that is part for Axis2 which is a SOAP based framework. That might explain why you are having difficult using it to create a REST service.

I can only suggest that you ask this question to people who know Axis. I will retag your question. That might help.

Upvotes: 1

Related Questions