why sap client id does not work in web service call from .net
I use web service to call sap RFC function from .net, and the web service wsdl address is http://172.18.95.104:8000/sap/bc/soap/wsdl11?services=some_rfc_function&sap-client=130 , which is get the data from sap client 130 , now I want to get the data from client 180 , and I set the wsdl address to http://172.18.95.104:8000/sap/bc/soap/wsdl11?services=some_rfc_function&sap-client=180 , and the returned wsdl is the same as sap client 130 , in .net program, I get the data is from 130, not from 180, how can I do?
Jerome Fortias replied
regarding your question :
WSDL is the same, but the connexion not :
1 - Check on your SAP client 180 that your RFC is available.
2 - Check that the SAP WebAS service soap/rfc is activated with transaction SICF (normally yes)
3 - Check that the RFC are exposed by SAP Soap/rfc service on the SAP WebAS.
4 - to test it you can create a alias with SICF and hardcode a user+password
WSDL describes the service. That's normal that the same because sap client is just a parameter. On your .net project search in the code generated by Visual Studio when you add a webreference the url of your connexion. And you just have to modify it... Can also do it in your own code... URL of the webservice should be modified by an attribute....