2012 Feb 22 9:31 AM
Hello,
I have created a webservice from a function and the corresponding WSDL was created.
As parameters, the function has a line table. Of which some of the fields should be optional, and hence in the WSDL have field nill = "true".
The problem is do not know what I need to configure so that the generated WSDL has the required information, and worst, how to say which fields of my line table are optional.
I would gladly appreciate any help.
Thank you and kind regards,
helena teixeira
Hello,
I have created a webservice from a function and the corresponding WSDL was created.
As parameters, the function has a line table. Of which some of the fields should be optional, and hence in the WSDL have field nill = "true".
The problem is do not know what I need to configure so that the generated WSDL has the required information, and worst, how to say which fields of my line table are optional.
I would gladly appreciate any help.
Thank you and kind regards,
helena teixeira
2012 Feb 22 9:48 AM
Hi
Try editing the service defination for your optional fields.
http://help.sap.com/saphelp_nw70/helpdata/EN/e9/ae1b9a5d2cef4ea4b579f19d902871/content.htm
also check "Editing sevice defination"
regards
Vinit
2012 Feb 22 11:31 AM
Hello Vinit,
Thank you for your answer.
As for the fields they are optional.
But the default value cannot be changed.
Is this normal?
Thank you and kind regards,
ht
2012 Feb 22 12:25 PM
Hi,
I guess you can change the default value as well for optional parameters.
In service defination Internal View remove the check box "Original" and you can change the default value.
Regards
Vinit
Edited by: Vinit Joshi on Feb 22, 2012 1:26 PM
Edited by: Vinit Joshi on Feb 22, 2012 1:32 PM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |