Hi every body
I have deployed signserver on jboss5. and on client webservice , we have
<service name="ClientWSService">
<port binding="tns:ClientWSBinding" name="ClientWSPort">
<soap:address location="http://localhost.localdomain:8080/signserver/ClientWSService/ClientWS"/>
</port>
</service>
When i call that webservice from client, it throws an exeption like :
SEVERE: Exception occurred during processing request: HTTP transport error: java.net.UnknownHostException: localhost.localdomain
com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: localhost.localdomain
at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:121)
How to config soap address location ,
Thanks for help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Then when accessing the WSDL (for instance using a web browser) you will see that the soap:address location will contain the same hostname as you are writing in the browser.
Hi every body
I have deployed signserver on jboss5. and on client webservice , we have
<service name="ClientWSService">
<port binding="tns:ClientWSBinding" name="ClientWSPort">
<soap:address location="http://localhost.localdomain:8080/signserver/ClientWSService/ClientWS"/>
</port>
</service>
When i call that webservice from client, it throws an exeption like :
SEVERE: Exception occurred during processing request: HTTP transport error: java.net.UnknownHostException: localhost.localdomain
com.sun.xml.internal.ws.client.ClientTransportException: HTTP transport error: java.net.UnknownHostException: localhost.localdomain
at com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:121)
How to config soap address location ,
Thanks for help
Hi Petr,
Make sure you have followed the steps in the install guide related to fixing the WS issues in JBoss:
http://www.signserver.org/manual/installguide.html#Fix%20web%20service%20problem%20in%20JBoss%205
Then when accessing the WSDL (for instance using a web browser) you will see that the soap:address location will contain the same hostname as you are writing in the browser.
Cheers,
Markus
PrimeKey Solutions
PrimeKey Solutions offers a commercial EJBCA & SignServer support subscription and training. Please see www.primekey.se or contact info@primekey.se for more information.
https://www.primekey.se/Services/Support/
https://www.primekey.se/Services/Training/