‎2016 Jan 26 4:46 PM
Hi All,
I created client proxy (service consumer) from external WSDL. Initially I created and deleted one. Looks like then not all structures were deleted.
When i am trying to create it again, i am getting a error message saying 'XYZ already exists'. I checked it is not being used anywhere else.
I found out that we can delete the structures manually using tcode 'SPROXY' when the structures created by proxies are not being used. But I am not able to delete them. Can anyone please suggest how to delete the structures created by proxies?
Without deleting these I am not able to create a new proxy.
Thanks in advance,
Karuna
‎2016 Jan 26 6:48 PM
Thank you very much for the quick response. Yes, I am able to delete but for some reason this structure is not getting deleted. I am able to activate the proxy. When I am using this new proxy in the report it gives me syntax error and says 'XYZ already exists'. But the proxy is getting activated.
That's when I thought I will delete this structure and create the proxy again. But I am not able to delete the structure.
Thanks,
Karuna
‎2016 Jan 26 5:17 PM
Can you try deleting them from SE80?
I created the service consumer in SE80 and deleted the structures and service consumer successfully.
‎2016 Jan 26 6:48 PM
Thank you very much for the quick response. Yes, I am able to delete but for some reason this structure is not getting deleted. I am able to activate the proxy. When I am using this new proxy in the report it gives me syntax error and says 'XYZ already exists'. But the proxy is getting activated.
That's when I thought I will delete this structure and create the proxy again. But I am not able to delete the structure.
Thanks,
Karuna
‎2016 Jan 26 6:55 PM
Let me understand it clearly, now in your system you have an old structure and a new proxy as well am I right?
If yes, first make sure that you are not using the Structure and consumer proxy in your code. Then delete the proxy First and then the structure. If you delete proxy first from SE80 system will ask you to delete the associated structures as well then go ahead and delete the structures.
‎2016 Jan 26 7:14 PM
Yes. Currently I am having old structure and new proxy.
I did as you mentioned.
- I commented my code wherever the structure/proxy was being used.
- Deleted the proxy and said 'Yes' when it asked me to delete the associated structures.
Result:
- It did delete the proxy and all the other associated structures except this one.
This is the error message I am getting:
Proxy Object TABL 'XYZ" not deleted (used elsewhere/other namespace)
I did the where used on this, it is not being used anywhere.
Thanks for trying to help me out,
Karuna
‎2016 Jan 26 7:47 PM
Oh ok. Now, delete that structure from SE80 and let me know what happens.
You can expand the "Data Types" node under "Enterprise Services" and see whether there are any other structures. Try deleting all the structures (you can use Ctrl to select multiple structures). Please be careful that you are not deleting structures which are used in other consumer proxies.
‎2016 Jan 26 8:19 PM
‎2016 Jan 26 8:40 PM
Hmm.... interesting. I hope you are not doing this in testing client.
Last option... try deleting the table type first and then the structure.
‎2016 Feb 01 7:37 PM
‎2016 Feb 01 8:15 PM
‎2016 Feb 19 7:44 PM
Hi All,
Was able to fix this issue. Sales force team have a new .WSDL with the required methods eliminating the unused ones. That fixed the issue.
Thanks,
Karuna