Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

WSDL with fields nillable

Former Member
0 Likes
1,383

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

3 REPLIES 3
Read only

former_member189779
Active Contributor
0 Likes
1,017

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

Read only

0 Likes
1,017

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

Read only

0 Likes
1,017

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