简体   繁体   中英

how do I extract request parameters and headers of webservices from its url in java

I need to create a SOAP envelop but I only have the URL of the web services. How can I get the headers and parameters to create the SOAP envelop for given URL of the Web services in Java?

You need a WSDL to create the SOAP envelope. One way to get the WSDL is to hit the URL you already have by appending '?wsdl' to the URL. You can also try /ServiceName?wsdl. Once you get the WSDL, you can easily generate SOAP envelope using SoapUI.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM