How to bind a WSDL to an HTTP location instead of local file system location

I am a java developer but I am new to SOAP web-services. I am working on a legacy java code which reference WSDL file and do SOAP calls to an appliance.

Currently, the code referencing the wsdl file in a specific location (e.g. "file:/c:/{Node_Name or Domain_Name}/wsdl/task.wsdl").. I need to change this behavior as this path changes from a web application server to another (e.g. WebSphere, Glassfish, ... etc).

I am trying to bind the wsdl to "http://localhost:8080/{context}/task.wsdl" but until now all my attempts failed.



from Recent Questions - Stack Overflow https://ift.tt/2NqCYoj
https://ift.tt/eA8V8J

Comments

Popular posts from this blog

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)