简体   繁体   English

使用没有定义或架构的自定义xml协议来实现客户端

[英]implementing client with custom xml protocol without definition or schema

I have a boring task to implement client side of xml based protocol. 我有一个无聊的任务来实现基于xml协议的客户端。 The problem is that there is no schema, no wsdl, just examples. 问题是没有模式,没有wsdl,仅是示例。

In such situation, is it possible to eliminate "code-monkey" work -- maybe annotate this examples somehow, or generate schema for them, or something else? 在这种情况下,是否有可能消除“代码猴子”工作-也许以某种方式注释此示例,或者为它们生成模式,或者其他?

Check out the Spring support for XML mapping or go directly to JAXB or CASTOR. 查看Spring对XML映射的支持,或直接转到JAXB或CASTOR。

Spring http://static.springsource.org/spring-ws/site/reference/html/oxm.html Castor http://www.castor.org/xml-mapping.html Spring http://static.springsource.org/spring-ws/site/reference/html/oxm.html Castor http://www.castor.org/xml-mapping.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM