Application / octet-stream is the default content type for FileDataSource, which is why I used it. application/octet-stream是用于FileDataSource的缺省内容类型,这正是我使用它的原因。
In the binding you 'll see that the inputs for the operations are really MIME content types image / jpeg and application / octet-stream instead of hexBinary. 在绑定中,您将看到用于操作的输入实际上是MIME内容类型――image/jpeg和application/octet-stream――而不是hexBinary。
To makes matter worse, some sites serve XML documents as application / octet-stream due to misconfiguration. 更糟糕的是,由于配置错误,某些站点将XML文档作为application/octet-stream提供。
Note that I used the same file as the data for both attachment operations, but as far as sendOctet is concerned, the contents of the file is merely an application / octet-stream. 请注意,我使用同一个文件作为数据用于这两个附件操作,但是直到sendOctet被连接,文件的内容只不过是application/octet-stream。