不幸的是,我试图使用MEX端点生成类似乎不可能,因为它找不到WSDL。
我还希望使用、spring、和Apache 为该web服务创建一个客户端,但我不知道我是否在正确的路径上。我尝试在我的spring-config上声明以下内容
<jaxws:client name="{http://payments.com:8080/}IOriginatorPaymentsService"
createdFromAPI="true">
<jaxws:properties>
<entry key="ws-security.username" value="Username"/>
<entry key="ws-security.password" value="Password"/>
</jaxws:properties>
</jaxws:client>我的问题是: 1.只使用以下MEX端点 http://payments.com:8080/OriginatorPaymentsHNL/Service/OriginatorPaymentsService.svc/mex生成类是可能的-- WSDL似乎没有公开。
据我所知,除非web服务启用了httpGetEnabled标志来公开WSDL,否则我不能。
谢谢
发布于 2022-06-17 18:18:55
启用httpGetEnabled标志以公开WSDL
https://stackoverflow.com/questions/34796773
复制相似问题