开发者

Is it possible to call BlazeDS from Java?

Basically I'm trying to proxy some web services locally (for reasons I won't go into now) and then have a Java application call it.

I'm looking at BlazeDS since it seems to do just this, mostly to avoid the crossDomain.xml file required by Flex to call web services. However I can't seem to find any reference on how to connect through a Java client (prob开发者_运维问答ably using Axis2).

Update: What I'm looking for is really just a way to adjust the end point so that I can point to virtual instance to get around a VPN issue.

Any suggestions, and especially tutorials, would be greatly appreciated.


A class called AMFConnection is available in BlazeDS from build 3.1.0.2602, written by Mete Atamel, one of the engineers working on BlazeDS. The basic purpose of this class is to allow a Java application to talk to a remoting destination. It can serialize/deserialize AMF messages using the BlazeDS classes.

Here is the spec : link text

I hope this helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜