wsdl - web service client : Connection Refused, but service works from SoapUI -


i have web service deployed on jboss 7.1 server. want test service, have written simple java application,which calls service methods. following error :

exception in thread "main" com.sun.xml.internal.ws.client.clienttransportexception: http transport error: java.net.connectexception: connection refused: connect 

but wsdl loads in browser (url same) , soap ui service working.


i've found post: https://community.jboss.org/thread/204961?_sscc=t , changed <wsdl-host> in standalone.xml file. after able call web service java application, weirdest part have web service deployed on same jboss , connect without problems.

i don't if "localhost" in wsdl's soap:address location issue, why did service work ?


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -