Hi @Danish Saud
Welcome to Microsoft Q&A! Thanks for posting the question.
I see that you are trying to call SOAP webservice from Java Azure Function App. There are multiple articles on the web which talk about this scenario, some of them are available below:
How to do a SOAP Web Service call from Java class?
Invoking a SOAP Web Service in Java
Is there something specific that you are looking for with respect to Java Azure Function? Please let me know if you have any questions.
---
Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.