Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

RFC function as a Web service - how to make wsdl type names unique

Hello,

We have a RFC function module, converted into a web service named ZVIEW_AGREEM, which works perfectly. Note that we only have a basic CRM system (Basis 7.31 SP 11), we don't have PI.

There is a client request to create a new version of this web service, named ZVIEW_AGREEM_2 : there is a new field "output_parameter2" in the response. The response type has XSD type named "VAGResult" (that we entered manually in the service definition).

The client also asked us to keep the old web service so that to be able to switch to the new one at a future date.

So, we duplicated the function module, duplicated the DDIC structure, and inserted the requested field, and then we made the web service.

It's okay except that the client complains that his software doesn't accept the WSDL, because we kept the same external type name "VAGResult", and it's different between the 2 web services (in the second, there is the extra "output_parameter2"). Both are assigned the standard SAP namespace urn:sap-com:document:sap:rfc:functions.

Do you know if there is a way to make SAP control the unicity of external type names to avoid having WSDL types with the same name and different structures?

Thanks.

Sandra

Attached is the WSDL of ZVIEW_AGREEM_2; ZVIEW_AGREEM is exactly the same but doesn't have "output_parameter2".

Not what you were looking for? View more on this topic or Ask a question