on 08-05-2010 10:34 AM
Hi Everyone,
I have a WSDL generated by a Function Module Web Service
Development:
[http://dev.xxx.com:1080/sap/bc/srt/wsdl/bndg_4B9BE30395435803E10000000A01F005/wsdl11/allinone/ws_policy/document?sap-client=777]
Quality:
[http://quality.xxx.com.sa:1080/sap/bc/srt/wsdl/bndg_4BAB28C7E0C8132FE10000000A01E719/wsdl11/allinone/ws_policy/document?sap-client=777]
The binding key from developement & Quality differs.
How can we get the WSDL URL Dynamically?
Can anyone help.
Thanks in Advance.
Gokul.N
Hi,
you might want to give the WSIL service a try. It returns information on all services in a nice XML.
the URL is http://<your_server>:<port>/sap/bc/srt/wsil?sap-client=<nnn>
you should cache the results though since depending on the number of your services and configurations this might return a lot of data and therefore is probably not suitable to be called prior to each actual service call.
regards, anton
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
represent the webservice name? what do you mean?
how to query for a specific service? thats the bad thing about this standard service, it does only return all servicedescriptions of your system. personally I did create a BSP service which I pass the service name, let the BSP service call the WSILlocally (at the server), parse it and return only the WSIL part I am interested in. no big deal actually.
hope it helps,
anton
Hi,
May I know why you want binding wsdl dynamically?
Regards,
gourav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gourav....
These WSDL are triggered from Flex application.
Now we are hardcoding.
We have to make this dynamic....
You can see the difference in the Configuration/Binding GUID Key both from Development / Quality System.
How to get that based on the system (Dev/QAL) for the Web Service?
Regards,
Gokul.N
Hi,
In my opinion you can't find binding url dynamically but there is way to acheive this. PROXY!!
Create consumer proxy of actual service and refer this service into your flex application (this will be hard coded). Now you can create and alter logical port anytime you want, and these logical port will be pointing to actual service.
hope this is clear to you.
Regards,
Gourav
User | Count |
---|---|
77 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.