Skip to Content
avatar image
Former Member

SAP PI/XI XSDBOOLEAN not converting into boolean

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Feb 28, 2017 at 03:55 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 28, 2017 at 04:21 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 28, 2017 at 05:03 PM

    any other suggestions?

    Add comment
    10|10000 characters needed characters exceeded