on 05-14-2018 11:04 AM
Hi Experts,
When i try to add a Service reference of service layer from an XML file, i get the following error
invalid Name attribute( Name attribute has spaces !!)
when i removed all spaces from name attributes i got the following error
Attribute cannot be as same as their enclosing type
so i changed the attributes with same name as their complexType name and then i got the following error
EnumTypes (BOYesNoEnum,BoAccountTypes,......) is not defined in SAPB1
i am sure that the EnumTypes are defined under <Schema Namespace = "SAPB1"
Each UDO has a space in its name why should i not have spaces in UDO description.
Previously i was removing Spaces manually from XML file as i never wanted to use the UDO's but now i need to use everything.
Please HELP.
Hi Bilal,
Please make sure you have set the following parameters in your service layer config file as explained in the blog (https://blogs.sap.com/2015/07/15/how-to-consume-service-layer-odata-services-from-net-via-wcf/) and restarted Service Layer afterwards:
In the metadata file generated with WCFCompatible option there are no enumerations defined as not supported by WCF.
Hope this helps
Trinidad.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
mariatrinidad.martinezgea Can you help me with this please
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.