cancel
Showing results for 
Search instead for 
Did you mean: 

SAP PI/XI XSDBOOLEAN not converting into boolean

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

nabendu_sen
Active Contributor

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.

Former Member
0 Kudos

any other suggestions?

Former Member
0 Kudos

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.