开发者

How do I make a "proxy" class for a web service in Eclipse for Java?

开发者 https://www.devze.com 2023-01-11 01:35 出处:网络
I can\'t figure this out, I\'m a pretty novis Eclipse user. I\'m a .NET/C# Guy by trade, and playing with Java in my spare time.

I can't figure this out, I'm a pretty novis Eclipse user. I'm a .NET/C# Guy by trade, and playing with Java in my spare time.

I have a .NET WCF Service hosted with basicHttpBinding -- I'm successfully calling this service from another .NET application, I've used the Visual Studio SvcUtil to generate the proxy class (via Add Service Reference).

I'm wondering how I can achieve th开发者_运维知识库e same result for Java using Eclipse? I've downloaded the latest version of Eclipse, but I can't seem to get it working.


Look under File -> New -> Other. In the dialog, select Web Service Client.

If you don't see this option, you're probably missing the Web Tools Platform plugin.

There's a tutorial here, that steps you through the process (though on an older version of eclipse).

0

精彩评论

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