由买买提看人间百态

topics

全部话题 - 话题: cxf
1 2 下页 末页 (共2页)
f**********w
发帖数: 93
1
来自主题: Java版 - SOAP over JMS with CXF frame?
就是个人感兴趣,想学学,这两天看了网上的例子,我想用的可能并不需要SOAP over
JMS。因为我不需要Active MQ。
CXF+JAX-WS+Spring 应该更合适一些。但是没有用过CXF+Spring,所以还是有几个问题
请教。
我想实现的是如下顺序:
1)开始servlet (classA), 初始化环境变量,比如连接数据库,初始化queue,
interceptor等等
2)定义jaxws:endpoint, 也就是SOAP handler(classB)
3)从客户端发送SOAP request,handler吧请求放入queue中处理,然后由内部服务生
成SOAP response,发回给客户端
我的问题是spring config文件应该怎么写,我知道如何定义endpoint, 比如
http://www.springframework.org/schema/beans"
。。。">

阅读全帖
s********r
发帖数: 176
2
I am a newbie on Axis2 and CXF.
现状是这样,existing code:
Server: SOAP Web service implemented by using Axis2 framework.
Client: using Axis2 Stub to invoke the web service.
Now I am asked to re-write the client side code by using Apache CXF
framework API that calls Axis2 web service.
I wonder is there CXF client API for Axis2 W.S I can use? or I can use
org.apache.cxf.jaxws.JaxWsProxyFactoryBean to invoke the Axis2 web service?
Any suggestion and help is very welcome.Thanks so much!
r*****s
发帖数: 985
3
来自主题: Java版 - SOAP over JMS with CXF frame?
谢谢
顺便问一下
有没有可能,
或者方不方便
REST over JMS on CXF/ActiveMQ?
好像CXF里都是支持SOAP over JMS的?
ActiveMQ里是用MessageServlet来支持REST的,
但是怎么跟其他的REST framework结合起来,
我还在看,
想问问牛牛们的意见
f**********w
发帖数: 93
4
来自主题: Java版 - soap binding with CXF
我想写一个java soap service,能够根据多种不同的soap请求,做相应的soap回复。
clients有用java写的,也有用C++写的。由于每一种soap的具体格式是不确定的,我需
要自己手动实现soap <-> object的转换。 但我希望在CXF 层面能实现根据soap body
root element的绑定,比如说messageA 能自动绑定到handleMessageA类。messageB自
动绑定到handleMessageB。。。之所以需要绑定到soap body root element,是因为整
个soap structure是由soap body root element value决定的。
我看了 jaxws 的dispatch,provider APIs,下面的代码可以实现server内从soap <->
object的转换,以及生成soap回复。
E.g. RegisterServerSOAPHandler.java
@WebServiceProvider(portName="registerServerPort" serviceName="... 阅读全帖
f**********w
发帖数: 93
5
来自主题: Java版 - SOAP over JMS with CXF frame?
java新手,想用java写一个web service, 就是可以async接受客户的SOAP请求,然后把
处理好的SOAP发回客户。看到网上说用Apache的CXF可以实现SOAP overJMS,哪位大侠可
以给解释一下?如果能有个例子就更好了,越基本越好,谢谢
g*****g
发帖数: 34805
6
来自主题: Java版 - SOAP over JMS with CXF frame?
CXF+Spring is pretty simple, download their distribution tar and
look at samples in it.

over
g*****g
发帖数: 34805
7
来自主题: Java版 - SOAP over JMS with CXF frame?
I don't understand that. REST is a web service protocol, obviously
over http. CXF is one implementation. I don't know how it can or
should be over JMS, sounds like a totally different animal for me.
s********r
发帖数: 176
8
I have some REST with JAX-RS using Jersey experience, but wanna get more
information about the Apache CXF client API.
x****3
发帖数: 62
9
利用CXF framework把http request data (xml or JSON)自动转为Java objects. 这个
转换发生的InInceptor中, 如果request data不match Java object的定义, Inceptor
回抛出异常. 而client端(我用Fiddler发请求)无法接受到response.我希望在request
data invalid的情况下能捕获异常, 并返回error code给client端. 请问能实现吗? 或
者有别的解决方法吗?
谢谢
c***5
发帖数: 158
10
来自主题: Programming版 - STSClient in CXF
有人知道如何CREATE TWO STSCLIENT FOR CXF 吗?GOOGLE了一些资料,越看越糊涂。
g*****g
发帖数: 34805
q*********u
发帖数: 280
12
来自主题: Programming版 - web service
CXF for client is really good for the auto gen classes.
What's your opinion on CXF server implementation?
Speaking of deployment/migrating on a container, I somehow feel jee
implementation is simpler.
o***s
发帖数: 42149
13
丽丽的背影(图片由丽丽提供)
近期,微博上一个关于“求贷款去整容”的话题引发了许多网友的关注。一名网名叫“邻家的丽丽”的女孩分别在微博和论坛上发帖称,她是一名90后女孩,来自广西武鸣,刚参加完高考,想在上大学前整一下鼻子,让自己变得更漂亮点。但因为钱不够,所以便想贷款去整容,特地上网寻求帮助。
话题一出,便引发了网友的一片争议声,甚至有网友评论她“不作死不会死”。近日,本报记者几经辗转联系上了“邻家的丽丽”,请她讲述“贷款整容”背后的故事。
决心动刀
想获得“开门”的机会
今年20岁的丽丽是武鸣人,今年刚参加完高考,即将成为广西大学的一名大学生。
她为什么会想到要去整容呢?丽丽告诉记者,她觉得每个女孩子都是美丽的,自己长得其实也不算丑,只是觉得鼻子有点难看,不够秀气,要是窄一点就好了。所以从高二开始,丽丽就有了整形的想法,她想通过整容来弥补缺陷,让自己更加自信。最重要的是,她觉得自己在唱歌方面还有点天赋,而且堂姐夫在一家演艺公司上班,说是可以介绍她去当歌手,但前提是要变漂亮一点。
丽丽说,她在勤工俭学期间也发现了这种情况,一同面试的女孩,长得漂亮的机会总会更多一些。“能力很重要,但是对... 阅读全帖
l****o
发帖数: 2909
14
本月5日,中国铁道科学研究院(以下简称铁科院)网站发布了一条公示,引起媒体及
公众关注。
这条《北京市轨道交通门头沟线(S1线)工程环境影响评价公众参与第一次公示》
公布了S1线的具体走向、长度、车站等情况。
《公示》特别提出,希望社会各界从环保角度出发,说明对该项目持何种态度及原
因。此次环评包括城市生态环境影响评价等15项内容,并以生态环境、声环境、电磁环
境及公众参与为重点专题进行评价。
这条贯穿海淀区、石景山区、门头沟区的轨道交通,曾备受门头沟人期待。这个本
市西部的郊区,冀望借S1线建立的交通便利,助力大发展。
7天后,意想不到的情况发生了。
《公示》在铁科院网站上被撤了下来,随后又挂上去,标题相同,但内容已变。曾
多次给市长信箱、铁科院发意见书的业主Cxfs(网名)分外高兴,认为这是一次小小的胜
利,促使他更有动力去推动磁悬浮“下马”。
让沿线居民感到高兴的改变是:更新后的《公示》注明,S1线“在西郊粮库专用线
前入地,下穿永定河引水渠、西四环”,地下线长度由此前公示的约0.455公里,变更
为2.969公里。
高洁说,地下线延长后,受影响的居住区将减少。但是,碧森里、中国
b****n
发帖数: 478
15
再补充一下,
沪宁不用cxf,简直就是没有脑子
发信人: yangxz (大爽), 信区: Military
标 题: Re: 京津高铁年度亏损金额在七亿元左右愈建愈多 愈建愈亏
发信站: BBS 未名空间站 (Mon Jan 3 19:24:45 2011, 美东)
补充一下
不造高铁:没有发展眼光。
z*******3
发帖数: 13709
16
这是apache的top projects
如果你能看懂,就知道开源在干嘛了
不过如果你是做os这种的,估计你看不懂这些是做啥的
这些社区都很活跃,版本号都在更新
Abdera Accumulo ActiveMQ Ant Aries Apache HTTP Server APR Avro Axis
Bloodhound Buildr Camel Cassandra Cayenne Chemistry Click CloudStack Cocoon
Continuum Cordova CouchDB cTAKES CXF Deltacloud Derby Directory Empire-db
Felix Flex Forrest Geronimo Gora Gump Hadoop Hama Hive HBase Isis Jackrabbit
James JMeter Kafka Lenya Mahout Marmotta Maven MINA mod_perl MyFaces ODE
OFBiz OpenEJB OpenJPA OpenNLP OpenOffice POI Pivot... 阅读全帖
t******n
发帖数: 3347
17
CXF不会赛车的。。
你最多有4个半小时可以晃啊
t*********t
发帖数: 278
18
来自主题: JobHunting版 - 【供求】招软件工程师 (转载)
【 以下文字转载自 Boston 讨论区 】
发信人: transparent (因为寂寞), 信区: Boston
标 题: 【供求】招软件工程师
发信站: BBS 未名空间站 (Wed Nov 6 09:48:54 2013, 美东)
Job description:
公司不错,在south boston.请把简历发到我的信箱。谢谢!
Software Architect
CrunchTime! has an immediate opening for a Software Architect focusing on
our hosted application platforms that support all back office operations for
restaurants, cruise lines and the hospitality industry. This position is
responsible for collaborating with other architects and technical leads to
develop ... 阅读全帖
L*****r
发帖数: 832
19
来自主题: JobHunting版 - vmware performance组招人
position in storage/networking performance team
Requirements:
- MS or Ph.D. in computer science or engineering
- 5+ years of industry experience or equivalent research experience
- Strong background in storage and networking
- Strong background in operating system internals including:
a)Hands on Unix/Linux/BSD kernel development
b) Expertise in performance optimizations for file systems such as HDFS, ZFS
, IBM-GPFS, CXFS, GFS/GFS2, GlusterFS, CacheFS, ...
- Experience in algorithm development, o... 阅读全帖
B***S
发帖数: 73
20
来自主题: JobHunting版 - java position in Columbus Ohio
Contractor
Critical Functions:
• Experience developing highly scalable and composable RESTful APIs
(JSON, API design, HATEOAS, Swagger, Hypermedia, JSON-LD, HAL)
• Experience with REST frameworks solutions such as: SpringBoot or
Dropwizard, Apache CXF/Axis
• Authentication and authorization standards such as SAML, JWT,
OAuth, OpenID, WS-Federation, OKTA
• Experience with Oracle (relational concepts, SQL, JDBC,
connection pooling)
• Experience in SDL... 阅读全帖
t*********t
发帖数: 278
21
来自主题: JobMarket版 - 【供求】招软件工程师 (转载)
【 以下文字转载自 Boston 讨论区 】
发信人: transparent (因为寂寞), 信区: Boston
标 题: 【供求】招软件工程师
发信站: BBS 未名空间站 (Wed Nov 6 09:48:54 2013, 美东)
Job description:
公司不错,在south boston.请把简历发到我的信箱。谢谢!
Software Architect
CrunchTime! has an immediate opening for a Software Architect focusing on
our hosted application platforms that support all back office operations for
restaurants, cruise lines and the hospitality industry. This position is
responsible for collaborating with other architects and technical leads to
develop ... 阅读全帖
t*********t
发帖数: 278
22
来自主题: Boston版 - 【供求】招软件工程师
Job description:
公司不错,在south boston.请把简历发到我的信箱。谢谢!
Software Architect
CrunchTime! has an immediate opening for a Software Architect focusing on
our hosted application platforms that support all back office operations for
restaurants, cruise lines and the hospitality industry. This position is
responsible for collaborating with other architects and technical leads to
develop the technical direction for systems across the enterprise as well as
responsible for the technical evolution of clients sy... 阅读全帖
l***0
发帖数: 278
h********8
发帖数: 7355
24
【 以下文字转载自 LosAngeles 讨论区 】
发信人: Livernois (Livernois), 信区: LosAngeles
标 题: 【招聘】Sr. Java Developer [Los Angeles,CA]
发信站: BBS 未名空间站 (Tue Jun 26 13:52:05 2012, 美东)
公司目前在有以下职位招人,帮办H1b,绿卡
请站内投条联系。谢谢
基本要求:
1. 美国正规大学本科或以上学位
2. 18个月以上美国相关全职工作经验
具体职位如下
Position Title: Sr. Java Developer
Location: Los Angeles, CA.
SCOPE:
Develops assigned portions of back-end and transactional systems that link
and enhance the interactions of several software packages and databases.
Implements activities that gener... 阅读全帖
e***a
发帖数: 1661
25
【 以下文字转载自 Programming 讨论区 】
发信人: edmca (I am alive), 信区: Programming
标 题: 哪里有 关于Apache EIP 的资料网站和BBS论坛?
关键字: Apache EIP
发信站: BBS 未名空间站 (Fri Jun 20 03:22:23 2014, 美东)
哪里有 关于Apache EIP frameworks: Camel, ServiceMix, ActiveMQ,
CXF, Felix Karaf 的资料网站和BBS论坛等等?
D******y
发帖数: 3780
26
来自主题: Hardware版 - 帮选择一个服务器
thanks cxf,
so you are saying at this point, the quad core and 4G give me best
performance, but in the long run, I benefit more from 8G RAM, right?
g*****g
发帖数: 34805
27
来自主题: Java版 - Java/J2EE的书
I think a hello world example from CXF or Axis will serve you
better, for free, and you can paypal the money to me. :-)
g*****g
发帖数: 34805
28
来自主题: Java版 - JAXB
俺用CXF做webservice, 对这些细节是不关心的。
如果service你管不了,或者不是java的,axis之类
的也可以通过wsdl产生stub吧。

unmarshal。
g*****g
发帖数: 34805
29
在我看来,web service只是remoting的一种方法,应该对xml透明。
用CXF之类的生成相关的wsdl即可,具体内容不必关心。
g*****g
发帖数: 34805
30
来自主题: Java版 - 弱人来提个问题
CXF, you can get a helloworld example from their website.
If you are using EJB3 container, it's pretty simple too.
g*****g
发帖数: 34805
31
来自主题: Java版 - 弱人来提个问题
Axis2, CXF, and in EJB3, this attribute is a JSR, so every container should
support it.
@WebService
For me, Web Service is like a remoting call, should be transparent for
developer.
k***r
发帖数: 4260
32
来自主题: Java版 - 弱人来提个问题
有没有看过GlassFish Metro的?有个朋友用过,据说写webservices最方便
http://blog.pulleman.com/2007/09/06/apache-cxf-and-glassfish-metro-for-consuming-web-services/

should
p***p
发帖数: 559
33
When selecting a WS stack to go with JBoss AS, there are several possible WS
stacks such as native, cxf, metro, but also good old axis2. Any experience
to share ? Thanks
g*****g
发帖数: 34805
34
You probably want to expose web service from a POJO instead.
Some popular tools are CXF and Axis.

on
g*****g
发帖数: 34805
35
来自主题: Java版 - what is best for Java Desktop GUI
It always depends. WS is the more ubiquitous solution
that can easily tunnel through firewall. RMI, Hessian etc.
may be restricted on your deployment firewall settings,
which may or may not be possible.
We have a server that talks hessian with admin console through
vpn, and WS with clients. I think you can always start with
RPC style WS, like spring + CXF for minimum efforts. And
seek necessary alternatives when the requirement is more clear.
There's no one fit all solution.
g*****g
发帖数: 34805
36
来自主题: Java版 - 问个SOAP Service的问题
check CXF, soap is just like function call, of course you can
make 2 functions calls to your system.

Class
f**********w
发帖数: 93
37
来自主题: Java版 - 问个SOAP Service的问题
看了一下网上的文档,CXF侧重web service, 有很多web方面的概念,感觉上手不是很
容易,如果我只需要实现这样的功能,就是我向一个端口发送SOAP信息request1,


.............



.....



当然我有不同形式的SOAP请求,假设是request2,request3,....
然后我定义自己的request1Handler.java,request2Handler.java, request3Handler.
java...
然后在config.xml里把他们对应起来,当request1到来的时候,自动调用
requestHandler class来处理,以此类推。有相似的例子吗?
谢谢大家
g*****g
发帖数: 34805
38
来自主题: Java版 - 问个SOAP Service的问题
So you didn't check out their HelloWorld?
Serious, your requirement is as complicate as their
HelloWorld. I adopt CXF into my project in 1 hour,
granted, I used spring already, but it's not hard
to adpot at all.
l*****b
发帖数: 82
39
Hi, all gurus,
I am going to create a web service client connecting to remote HTTPS service
. So far, I only have the WSDL file and know the following information about
the service authentication:
1. it will generate session id after invoke login command, e.g. https://
remote-service-url/services/login?user=abc&password=abc
2. put the return session id in every web service request to make
transactions
I have use wsdl2java tool (Apache-CXF) to generate the client stuffs and try
to call the remote
g*****g
发帖数: 34805
40
来自主题: Java版 - Web service framework choice?
CXF looks like a good candidate, any one has comment?
h**********c
发帖数: 4120
41
来自主题: Java版 - SOAP over JMS with CXF frame?
你在考ea,或者打算,或者有类似的追求吗?
h**********c
发帖数: 4120
42
来自主题: Java版 - SOAP over JMS with CXF frame?
我多看了几遍,争取看明白你说什么,
我的理解,servlet once delployed 就 reside in web container;
所以不需要客户request, 1)就已经完成了,就是你deploy 之后就发生的事情,
如果你的确要客户request,你可以先让一个伪客户请求刺激一下web container
学了点皮毛,往深了看,还就是一个UNIX tty,还望真正的j2ee搞手来批评指正,让我
们在追求ea的道路上少一些荆棘。

over
r*****s
发帖数: 985
43
来自主题: Java版 - SOAP over JMS with CXF frame?
me either at first.
其实就是这年头都喜欢用个ESB/JMS,
这不是ActiveMQ也支持REST吗?
就是多弄个HTTP port当broker
用JMS做Transport layer.
我们就是讨论讨论这个可行性,
我也觉得不靠谱
r*****s
发帖数: 985
44
来自主题: Java版 - SOAP over JMS with CXF frame?
HornetQ+RESTEasy of JBoss
好像支持这个REST over JMS,
不过我觉得是不是太bound to JBoss了?
我们也不一定用JBoss的
g*****g
发帖数: 34805
45
来自主题: Java版 - java web service 得迷惑
WSDL倒是不需要了解,SOAP最大的好处就是容易consume。
用CXF其实很容易,把hello world改改就能用了。
r*****s
发帖数: 985
g*****g
发帖数: 34805
47
No, Java WS should be very simple. Check Apache CXF for SOAP and Jersey
for REST.

i
1 2 下页 末页 (共2页)