on 04-29-2008 10:57 AM
Hi Everybody
I am trying to consume an external webservice in Webdynpro project using the Adaptive Web Service Model(this is how i want to implement).
i have provided the URL of the WSDL in the metadata destination and the execution destination (under Server/Services/Web Service Security create the destination in Web Service Clients/sap.com/DynamicWSProxies).
Have also tried this [Wiki FAQ Note on Adaptive Webservice|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/wdjava/faq-Models-AdaptiveWebService]:
As for the configuration of WS destinations you must provide a URL. Two types of URL can be defined:
1. the WSIL (WS Inspection Language) URL of the WS provider system:
For the SAP NetWeaver AS Java as provider system this is http://<host>:<port>/inspection.wsil
2. the WSDL URL of the web service
After executing the project it renders me the HTML content on the WSDL page though we are expected to get reponse with the content type text/xml. This HTML content displayed is pre-fixed with BASEIOException.
Please suggest what could be the possible solution to the problem.
Cheers
Navneet
Hi Navneet,
While creating the Adaptive Web Service Model, for the URL you need to give the Loaction of the Web Service.
For most of the Web Services, this loaction is the address location tag, under wsdl: port name tag.
In your situation, after you have downloaded the WSDL file, check out for the said Tag, and give the specified Location as the URL.
Also, make sure not to make use of the Host Names, instead use the IP Address.
Hope it helps.
Regards,
Alka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
While using the adaptive web services using the URL , i think there is no need to definr the meta data destinations for the web services .Instead give No Logical destination . and try to execute the Web Service. and please check whether u have binded the correct response node .
Thanks and Regards
Fistae
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When i download the WSDL to the file system and import/browse it, the model gets created but doesn't execute after i apply template.
Description of exception:
com.sap.tc.webdynpro.model.webservice.api.WDWSModelExecuteException: Exception on execution of web service with WSDL URL '\desktop\webservicename.wsdl' with operation 'methodname' in interface 'WebServiceSoap'
Cheers
Navneet
Edited by: Navneet Giria on Apr 30, 2008 10:32 AM
Edited by: Navneet Giria on Apr 30, 2008 11:46 AM
Hi,
I means that the web service is working properly.
Please check it wuith the wsnavigator.
You will get BaseIoException in webservices which will be do you failure to connect to the database.
Hope it helps.
Regards,
Srinivasan Subbiah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.