‎2010 Jun 01 11:03 AM
Hello,
does anyone know how to change the wsdl document in case of changing input/output parameters of the function module?
Until now, I drop and recreate the web service, but I think there should be a more comfortable way. I searched this forum, but just found a way to change the web service via transaction sicf, where only authentification and so on are changeable.
Thanks in advance.
Florian
‎2010 Jun 01 11:12 AM
hi,
before creating web service, u can remove obligatory of parameters. then, send the parameters which you want and run your web service. but the function you write before must be flexible about that parameters.
example :
http://denemeportal:8080/deneme.asmx?WSDL&footballer=tevez
http://denemeportal:8080/deneme.asmx?WSDL&team=mancity
call function deneme
*exporting
*age =
*name =
*team=
*
*
so on.
regards,
orhan
‎2010 Jun 01 11:19 AM
Hi orhan,
thanks for your quick reply, but sadly this doesn't match my problem:
I have to develop web services for another company, which consumes the services in a java frontend. I have "global structures" for my services which represent the underlying data model of the application.
A common change would be the need for another "field" of the business partner, so I change this structure, which is used as export parameter in a dozen services. To notify the "frontend" I need to update the WSDL documents.
I can't imagine how to user your previously mentioned solution. Is there now way of "now update the wsdl document according to the updated function module"?
regards,
Florian
‎2010 Jun 01 12:03 PM
‎2010 Jun 01 4:15 PM
If you change the web service method(s), you simply need to update the design time definition in SE80. For this, you would go to the web service in change mode to the internal tab and right-click. Select 'Modify operations' then activate the web service. The WSDL url will be the same but your external application may need to reload the definition of the web service.