我正在尝试运行 ATO AS4/ebXML“参考”应用程序,该应用程序在后台使用 IBM AS4 客户端将消息发布到 ATO。
当我运行它时,我NullPointerException
从 AS4 客户端中得到一个。这似乎是由于 HttpDestination 映射具有一个具有空值的“HttpProxyHost”键。
鉴于这是一个收缩包装的库,我怎样才能从地图中删除这个键,或者给它分配一个值?如果是配置项,在哪里配置?
FWIW 我没有通过代理运行,我希望 AS4 客户端可以支持这一点。
com.ibm.b2b.as4.client.AS4ClientException: BCKAS4010E
at com.ibm.b2b.as4.client.internal.RequestImpl.sendBDO(RequestImpl.java:279)
at com.ibm.b2b.as4.client.internal.RequestImpl.send(RequestImpl.java:226)
at au.gov.sbr.sdk.embeddedClient.ReferenceClient.main(ReferenceClient.java:375)
Caused by: com.ibm.b2b.apiint.exception.B2BException: java.lang.NullPointerException
at com.ibm.b2b.comms.as4.core.service.impl.AS4OutboundTargetService.invokeService(AS4OutboundTargetService.java:403)
at com.ibm.b2b.as4.client.internal.RequestImpl.invokeAS4targetService(RequestImpl.java:311)
at com.ibm.b2b.as4.client.internal.RequestImpl.sendBDO(RequestImpl.java:246)
... 2 more
Caused by: java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.putVal(Unknown Source)
at java.util.concurrent.ConcurrentHashMap.putAll(Unknown Source)
at com.ibm.b2b.comms.common.util.EbMSContext.setAllProperties(EbMSContext.java:153)
at com.ibm.b2b.as4.client.internal.AS4ConfigLookupUnitImpl.doHTTPDestinationLookup(AS4ConfigLookupUnitImpl.java:340)
at com.ibm.b2b.comms.as4.core.service.impl.AS4OutboundTargetService.getAptDestination(AS4OutboundTargetService.java:1393)
at com.ibm.b2b.comms.as4.core.service.impl.AS4OutboundTargetService.initEbMSContext(AS4OutboundTargetService.java:1184)
at com.ibm.b2b.comms.as4.core.service.impl.AS4OutboundTargetService.invokeService(AS4OutboundTargetService.java:292)
... 4 more
Feb 06, 2019 10:37:22 AM au.gov.sbr.sdk.embeddedClient.ReferenceClient main
SEVERE: Message Send Failed.