I am using a third party API in my program who's job is to construct a SOAP message by using the java.net.URL object passed as an input. I am constructing the URL object by passing the url as a String and thats it.
The requirement now is to attach a header to the URL before passing it to the third party API. My challenge is the API takes only URL as an input and nothing else. AS i have exhausted all my options, can you please let me know if there is any workaround or options available that can be applied in this scenario?