我目前正在使用Java研究SOAP消息格式到Socket Message格式转换,反之亦然.
我需要这个来重用一个读取套接字格式消息的遗留系统来连接到发送和接收SOAP消息格式的网站.
我该怎么做?我应该考虑文字处理吗?
示例Socket到SOAP
插座
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Interface Code="20"
<Transaction Txn="01880120121024000001" CD="01880120121024000001001"
Date="2012-10-24 17:27:25" BirthDate="1983-03-27" Code="8110009000000720" Type="0"/>
</Interface>
Run Code Online (Sandbox Code Playgroud)
肥皂
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<webRequest xmlns="http://____________">
<arg0 xmlns=""><?xml version="1.0" encoding="UTF-8"
standalone="yes"?><Interface xmlns="http://____________"
Version="1.0" Code="20" Txn="123" CD="456"><Info
BirthDate="1983-03-27" Code="1234" Type="0" /></Interface></arg0>
</webRequest>
</soapenv:Body>
</soapenv:Envelope>
Run Code Online (Sandbox Code Playgroud) 如何禁用拖动JToolbar?我把它放在BorderLayout中.我试着找一个方法.有这样的方法吗?谢谢
你如何解决这个JMSException?谢谢!
代理:localhost - 客户端:FS_Proceduer已连接
javax.jms.InvalidClientIDException: Broker: localhost - Client: FS_Proceduer already connected from /127.0.0.1:56556
Run Code Online (Sandbox Code Playgroud)
这是由此方法触发的:
private void connectAndInitActiveMQ() throws JMSException{
logger.debug("It's ready to connect to jms service");
if(null != connection){
try{
logger.debug("Closing connection");
connection.close();
}catch(Exception e){
logger.error(e.getMessage(), e);
}
}
logger.debug("Creating a new connection");
logger.debug("Is queueConnectionFactory null? "+(queueConnectionFactory==null));
connection = queueConnectionFactory.createConnection();
logger.debug("Is the new connection null? "+(connection==null));
logger.debug("Starting the new connection");
connection.start();
logger.debug("Connected successfully: " + connection);
session = connection.createSession(true, Session.AUTO_ACKNOWLEDGE);
queue = session.createQueue(queueName);
messageProducer = session.createProducer(queue);
}
Run Code Online (Sandbox Code Playgroud)
这是工厂问题吗?还是其他一些来源?
我制作了一个从面板动态获取数据的程序,但我的代码需要用户点击输入按钮才能更新数据。是否有更改侦听器或其他侦听器可以在更新 Jtextfield 时更新数据?谢谢!
我尝试过这个,但没有成功。如何从 awk 命令生成 gz 文件的输出?
awk -v someVariable="$VAR1" '
BEGIN {
. . .
}
{
SOME CODES HERE
}
END {}
' $FILES> gzip $RESULTING_OUTPUT
Run Code Online (Sandbox Code Playgroud)