Skip to Content
0

SAP PI/XI XSDBOOLEAN not converting into boolean

Feb 28, 2017 at 02:27 PM

53

avatar image

Hi Experts,

In the SAP PI/XI we have imported RFC and converted into WebService and provided the WSDL to Portal team.

when we imported the RFC (Remote Function Module), we have one of the import field as XSDBOOLEAN, when RFC is imported to PI/XI Java and exposed as WebService, in the WSDL we were expecting xsdboolean BUT SAP PI is converting into String of 1 char length rather than xsdboolean data type.

Can you suggest what has to be done in PI so that the WSDL generated by WebService has xsdboolean data type.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Nabendu Sen Feb 28, 2017 at 03:55 PM
1

Hi,

Manually change the WSDL field from type="xsd:string" to type="xsd:boolean" and also remove the length restriction, check if it works.

Regards,

Nabendu.

Share
10 |10000 characters needed characters left characters exceeded
Yugandhar Reddy Feb 28, 2017 at 04:21 PM
0

Rather than manual change, is there any way though the PI tool? Just want to make sure it becomes permanent, other wise if WebService/WSDL changes, then everytime I have to edit the wsdl.

Share
10 |10000 characters needed characters left characters exceeded
Yugandhar Reddy Feb 28, 2017 at 05:03 PM
0

any other suggestions?

Share
10 |10000 characters needed characters left characters exceeded