Can I generate a wsdl file without binding and service information?

流过昼夜 提交于 2019-12-12 17:48:28

问题


I came across an issue where a customer is able to open a SAP wsdl using net-beans as well as in .Net but not in soap UI.

When i checked the wsdl i found that service as well as binding tags are not defined or no such tags included. wsdl ends with port-type information.

In soap UI i got an error like no content in the file and when i try to open it in eclipse i am able to open it using web explorer window, but service as well binding information fields are empty. I could see ws-policy elements in customers wsdl.

  1. How he might have produced a wsdl without binding and service information ?

  2. What would be the reason he is telling it is working in .Net?

I am not sure about .Net tools.

  1. Is there any web service client tool which can open the operations without endpoint /service information and send request/response ?..

please help thank you for your time.


回答1:


I only know a bit about the first question, can't help you with the other ones...

You can request two "flavors" of WSDL from a NW/ABAP system. This is related to the fact that the implementation (programming) of the service is usually performed on a different system and by different people than the configuration of the service.

After the service (or rather a service definition) has been implemented, you can get what's called a "design-time WSDL document". This document does not include the endpoint information - it cannot, because that would require technical information about the target system landscape and its configuration that is simply not available yet.

From the service definition, an administrator can create a configuration. This includes the binding information as well as stuff like base URL, security settings, transport layer settings and so on. With this configuration, you can generate a second WSDL document that contains the actual endpoint configuration.



来源:https://stackoverflow.com/questions/18975618/can-i-generate-a-wsdl-file-without-binding-and-service-information

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!