开发者

Adding a Java Web Service Client in Netbeans that supports streaming with a WCF Streaming Service?

I have a C# WCF basicHttpBinding Streaming WebService.

The signature of the method that I want to access is:

[OperationContract]
    void SendStream(Stream stream);

However, when I try to add it as a standard Java Web Service Client into my Netbeans project. The auto-generated proxy method signature gets changed to:

void SendStream(byte[] stream)

(Basically streaming is removed).

Is there a simple way to achieve streaming on the java side? I w开发者_JAVA百科ould rather avoid implementing chunking if possible.


WCF streaming over HTTP is not interoperable. You can't use it outside of .NET world.

Edit: Here I'm trying to collect not interoperable features of WCF.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜