Forum Discussion
Jakob_Villadsen
18 years agoContributor
When i call the service with some hard coded bytes it seems to go just fine:
request:
[glow=lightgreen,2,300]
915766945988
[/glow]
response:
[glow=lightgreen,2,300]
915766945988
[/glow]
So that part seems to be okay. I think the problem is when transforming a file to a byte-array before sending to the service.
[glow=red,2,300]HTTP/1.1 415 Unsupported Media Type[/glow]
from the server.
Is soapui putting it as an attachment instead of a byte-array?
request:
[glow=lightgreen,2,300]
915766945988
response:
[glow=lightgreen,2,300]
So that part seems to be okay. I think the problem is when transforming a file to a byte-array before sending to the service.
[glow=red,2,300]HTTP/1.1 415 Unsupported Media Type[/glow]
from the server.
Is soapui putting it as an attachment instead of a byte-array?