java-metro-framework

Jax-ws java.net.ConnectException: Connection refused

大憨熊 提交于 2021-01-28 22:27:03
问题 I'm experiencing an odd networking problem connecting to a web service running on glassfish from a java client running on tomcat using JAX-WS (Metro). Here's the scenario... Both servers are running on my local machine. If I configure the client to connect to the WS endpoint using 127.0.0.1, the request works fine. If I configure the client to connect to the WS endpoint using my IP address, I immediately get java.net.ConnectException: Connection refused. The same thing happens if I use my

Where is WSIMPORT after JDK11

寵の児 提交于 2020-12-09 09:58:47
问题 I've used wsimport and other Metro tools for many years but since the removal of Java EE modules from the JDK 11 I cant find the tools. Where can I find the wsimport executable? 回答1: The executables for WSIMPORT can be found at the main site https://javaee.github.io/metro-jax-ws/. They're no longer part of JDK. 来源: https://stackoverflow.com/questions/53192401/where-is-wsimport-after-jdk11

Where is WSIMPORT after JDK11

 ̄綄美尐妖づ 提交于 2020-12-09 09:58:35
问题 I've used wsimport and other Metro tools for many years but since the removal of Java EE modules from the JDK 11 I cant find the tools. Where can I find the wsimport executable? 回答1: The executables for WSIMPORT can be found at the main site https://javaee.github.io/metro-jax-ws/. They're no longer part of JDK. 来源: https://stackoverflow.com/questions/53192401/where-is-wsimport-after-jdk11

SOAP Service: Missing WS-Addressing header

我怕爱的太早我们不能终老 提交于 2020-01-25 19:27:33
问题 I have a Netbeans SOAP service I can deploy with no issues and a Silverlight client. When I call the service from Silverlight, I get (in silverlight): new DiscourseParserWSClient created; event handler added; service called; Service State is: Open http://localhost:8080/DiscourseParserWS/DiscourseParserWSService An exception occurred during the operation, making the result invalid. The remote server returned an error: NotFound. After the client calls the service, GlassFish v3 Domain responds

SOAP Service: Missing WS-Addressing header

感情迁移 提交于 2020-01-25 19:27:29
问题 I have a Netbeans SOAP service I can deploy with no issues and a Silverlight client. When I call the service from Silverlight, I get (in silverlight): new DiscourseParserWSClient created; event handler added; service called; Service State is: Open http://localhost:8080/DiscourseParserWS/DiscourseParserWSService An exception occurred during the operation, making the result invalid. The remote server returned an error: NotFound. After the client calls the service, GlassFish v3 Domain responds

Netbeans and .NET web services

左心房为你撑大大i 提交于 2020-01-24 20:07:04
问题 I'm not an experienced java developer so any comment will be welcomed ... I've written a web service using c# and I wanted to consume this service from java - used Netbeans for this task. All methods works well beside one: the method expecting a type called BusinessDataField2 - this type contains 2 fields: name(string) and value(object) Those fields are filled using get,set methods - this works easily at the .NET environment. However ... I can see that Java requires different parameters for

Netbeans and .NET web services

谁说胖子不能爱 提交于 2020-01-24 20:06:39
问题 I'm not an experienced java developer so any comment will be welcomed ... I've written a web service using c# and I wanted to consume this service from java - used Netbeans for this task. All methods works well beside one: the method expecting a type called BusinessDataField2 - this type contains 2 fields: name(string) and value(object) Those fields are filled using get,set methods - this works easily at the .NET environment. However ... I can see that Java requires different parameters for

Consuming a WCF service in a Java Client using wsHttpBinding

夙愿已清 提交于 2020-01-15 05:26:07
问题 I'm trying to get a Java Client to communicate with a WCF wshttpbinding WebService. But I've been unsucesful so far. The call either hangs, or I get: “SOAPFaultException: The message could not be processed. This is most likely because the action 'http://tempuri.org/ISampleService/GetServiceName' is incorrect or because the message contains an invalid or expired security context token or because there is a mismatch between bindings. The security context token would be invalid if the service

Retrieve plaintext WS-Security password at service endpoint with Metro + WSIT?

烂漫一生 提交于 2020-01-14 14:39:10
问题 I'm writing a SOAP service (let's call it X) that acts as a "forwarding proxy" of sorts, replacing several elements in the body, then calling another SOAP service (Y). I would like to use the same WS-Security credentials ( plaintext username and password) that I receive in X when I call Y, but I am having trouble retrieving the value of the Password element. The policy that I declare in my wsit-package.service.xml file references an implementation of com.sun.xml.wss.impl.callback

Weblogic webservice clients.(clean references)

泪湿孤枕 提交于 2020-01-14 09:37:28
问题 I created a pool of ports (webservice clients) because creating on the fly on each request the client lead to a bottleneck Now I noticed that the webservice clients hold references to the request and response... Is that normal... ? Unfortunately the payload is quite big for this websevice and like this even if not used for a while the pool holds references to some not anymore used responses...increasing heap .. Is there a way to clean those references after receiving the response ? Update: