Tag: wso2

错误 – ListenerManager无法初始化httpstransport侦听器 – WSO2

我开始使用WSO2 API Manager 1.8的新副本,并且无缘无故地获得以下错误。 ERROR – ListenerManager Couldn’t initialize the httpstransport listener 我怎样才能解决这个问题?

WSO2 Identity Server AuthenticationAdmin API身份validation失败

我正在按照这里提到的教程: https : //docs.wso2.com/display/IS500/Managing+Users+and+Roles+with+APIs 并使用页面上提供的示例代码: http : //cache.facilelogin.com/org.wso2.identity.um.sample.zip 我已将所需的JAR添加到eclipse项目中。 该项目成功构建,没有任何问题。 但是,当我运行该项目时,我收到以下错误: log4j:WARN找不到logger(org.apache.axiom.om.util.StAXUtils)的appender。 log4j:WARN请正确初始化log4j系统。 org.apache.axis2.AxisFault:身份validation失败:在org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation)上传递了无效的远程地址 – org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:508)中的myapp .java:375)org.apache.axis.description.OutInAxisOperationClient.send(OutInAxisOperation.java:421)位于org.apache.axis上的org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)。 client.OperationClient.execute(OperationClient.java:165)org.wso2.carbon.authenticator.proxy.AuthenticationAdminStub.login(AuthenticationAdminStub.java:311)at org.wso2.identity.um.sample.IdentityServerClient.main(IdentityServerClient。 Java的:67) 这是代码: package org.wso2.identity.um.sample; import java.util.HashMap; import java.util.Map; import org.apache.axis2.context.ConfigurationContext; import org.apache.axis2.context.ConfigurationContextFactory; import org.apache.axis2.transport.http.HTTPConstants; import org.wso2.carbon.authenticator.proxy.AuthenticationAdminStub; import org.wso2.carbon.um.ws.api.WSRealmBuilder; import org.wso2.carbon.user.core.UserRealm; import org.wso2.carbon.user.core.UserStoreManager; public class IdentityServerClient { // ONE TIME TASKS WE NEED TO DO BEFORE EXECUTING […]

轴2是否自动创建(并保存)wsdl文件?

我有一个使用eclipse / tomcat / axis2运行的Web服务。 我想让它链接到一个bpel进程,所以我需要wsdl文件。 我可以通过启动服务器显示wsdl并转到 http://localhost:8080/axis2/services/MyService?wsdl 但是,如果我搜索项目的目录结构,我找不到wsdl文件。 我当然可以从浏览器中复制并粘贴wsdl并将其保存为文本文件,然后将bpel指向该wsdl。 但似乎轴2会为我生成(并保存)一个wsdl文件,对吧?

SSL连接导致javax.net.ssl.SSLException:证书中的主机名不匹配(WSO2 Api Manager / Tomcat)

我目前正在设立一个docker化的WSO Api Manager。 我们的域名获得了通配符证书。 我成功地将其转换为java密钥库并替换了两个jks文件。 当我打开API管理器时,我没有收到ssl警告,浏览器将我的连接标记为安全。 当我尝试登录时出现错误: 在我得到的日志文件中: TID: [-1234] [] [2017-03-24 11:37:55,305] INFO {org.apache.axis2.transport.http.HTTPSender} – Unable to sendViaPost to url[https://localhost:9443/services/AuthenticationAdmin] {org.apache.axis2.transport.http.HTTPSender} javax.net.ssl.SSLException: hostname in certificate didn’t match: != at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:341) at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.verifyHostName(SSLProtocolSocketFactory.java:277) 看起来服务器正在尝试与localhost建立SSL连接。 那么如何将匹配的证书添加到密钥库以允许localhost访问? 非常感谢!

WSO2 ESB无法将完整的JSON数据转换为XML

我正在建造一个POC。 我为Google Plus创建了传递代理服务。 不使用任何代理服务我得到这是我的输出: { “kind”:”plus#person”, “etag”:”\”ExituU7aUpmkkfyD52VulzptThw/4J1clegrhxYC2fsJOu2XWCs1Ewg\””, “id”:”117488614303967062311″, “displayName”:”Abhi NeoN”, “name”:{ “familyName”:”NeoN”, “givenName”:”Abhi” }, “tagline”:”hey guys ! ssup!! check out ma recnt videos… uploaded”, “gender”:”male”, “aboutMe”:”\u003cb\u003ehie, abhishek – ma full name \u003c/b\u003e\u003cdiv\u003e\u003cb\u003em a DANCER ,\u003c/b\u003e\u003c/div\u003e\u003cdiv\u003e\u003cb\u003ei luv ma dancing .\u003c/b\u003e\u003c/div\u003e\u003cdiv\u003e\u003cb\u003ei care ma dancing ,\u003c/b\u003e\u003c/div\u003e\u003cdiv\u003e\u003cb\u003ei jus hv a gr8 thng in me dats ma dancing.\u003c/b\u003e\u003c/div\u003e”, “relationshipStatus”:”single”, “url”:”https://plus.google.com/117488614303967062311″, […]