h*i
2 楼
大家说说joann里都有啥好东西?
f*w
3 楼
我想写一个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="
registerServer")
@ServiceMode(value="Service.Mode.MESSAGE")
public class RegistServerSOAPHandler implements Provider
{
..........
public SOAPMessage invoke(SOAPMessage request_)
{
//TODO, parsing logic here
SOAPBody requestBody = request_.getSOAPBody();
....
MessageFactory mf = MessageFactory.newInstance();
SOAPFactory sf = SOAPFactory.newInstance();
SOAPMessage response = mf.createMessage();
return response;
}
---------
}
但是在CXF里如何实现message soap body element implementation class的绑定
?我不想用WSDL应为我没有对每个soap message structure的定义。谢谢。
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="
registerServer")
@ServiceMode(value="Service.Mode.MESSAGE")
public class RegistServerSOAPHandler implements Provider
{
..........
public SOAPMessage invoke(SOAPMessage request_)
{
//TODO, parsing logic here
SOAPBody requestBody = request_.getSOAPBody();
....
MessageFactory mf = MessageFactory.newInstance();
SOAPFactory sf = SOAPFactory.newInstance();
SOAPMessage response = mf.createMessage();
return response;
}
---------
}
但是在CXF里如何实现message soap body element implementation class的绑定
?我不想用WSDL应为我没有对每个soap message structure的定义。谢谢。
t*e
6 楼
You need a WSDL. To map an unstructured/arbitrary XML segment,
use which binds to the SOAPElement type in JAX-WS. SOAPElement is a
dom node, from which you can navigate the XML segment through the DOM API.
use
dom node, from which you can navigate the XML segment through the DOM API.
i*i
7 楼
http://www.mitbbs.com/article/Korea/31205895_3.html
【在 g*****i 的大作中提到】
: 另外请问伪币跟包子是啥换算关系阿?
: 一个包子=10伪币?
【在 g*****i 的大作中提到】
: 另外请问伪币跟包子是啥换算关系阿?
: 一个包子=10伪币?
L*N
8 楼
found on a stock website:
As an employee of Jo-Ann Fabric & Crafts STORES I can confirm that the
STORES are NOT CLOSING and NO GOING-OUT-OF-BUSINESS sales will be conducted..
JAS has not filed for ANY bankrupcty-- chapter 11 or otherwise. The company
that the Indie has us confused with is a company that MANUFACTURES fabric
supplies..
There is NO relation to the two companies....Jo-Ann Fabric & Crafts stores
are still operating as normal...in fact, JAS is having it's best year sales-
wise [email protected]
As an employee of Jo-Ann Fabric & Crafts STORES I can confirm that the
STORES are NOT CLOSING and NO GOING-OUT-OF-BUSINESS sales will be conducted..
JAS has not filed for ANY bankrupcty-- chapter 11 or otherwise. The company
that the Indie has us confused with is a company that MANUFACTURES fabric
supplies..
There is NO relation to the two companies....Jo-Ann Fabric & Crafts stores
are still operating as normal...in fact, JAS is having it's best year sales-
wise [email protected]
L*N
10 楼
我们这边的joann也关了,但是10几mile的地方就有另一个,我想是他们对付经济萧条
的措施。
的措施。
h*n
14 楼
是啊,有些地方的joann就是很萧条,有michael's和hobbylobby等大手工店的存在,自
己店里的东西,就相对品种少,价格高了一些。但是,有些地方的joann就很火,门庭
若市,各地的情形都不一样。
己店里的东西,就相对品种少,价格高了一些。但是,有些地方的joann就很火,门庭
若市,各地的情形都不一样。
g*i
15 楼
谢谢楼上的妹妹们支持阿.....
唉,一分钱难倒英雄汗, 这可咋整...
唉,一分钱难倒英雄汗, 这可咋整...
g*i
21 楼
多谢楼上的美女们阿!!!
我已经收到水獭mm的借款了,
不过还是要感谢小厌和爆米花!
国庆愉快!
我已经收到水獭mm的借款了,
不过还是要感谢小厌和爆米花!
国庆愉快!
g*i
23 楼
水獭mm人品就是好!!! 刚刚的!!!
g*i
28 楼
又赶上直播了...
相关阅读
Free MongoDB courses (https://education.10gen.com/courses)Re: 安卓速度流畅的关键在哪儿? (转载)Amex Blue Cash preferred 6% Cashback+$150bonus超市专用信用卡谁能refer个湾区的jr, mid level java SDE?看了zhaoce073大水忍不住说2句好虫,exploit等大牛请进--关于htmlunit谁能说说Perm Gen Size太大有什么坏处?大家开发web的项目写jsp都用什么软件呢?Eclipse?再论abstract classuse >>>= with shortJQuery添加folder到class path如果转计算机专业以后还能申请NIW或者eb1a 吗htmlunit及多线程问题Microsoft augments JavaScript for large-scale development紧急需求:JAVA developer, Filenet (转载)三论abstract classIng Direct checking account免费送50刀, 赶紧申请web app 每天更新数据一次外行求助javascipt。。