SAP-samples / s4hana-ext-create-employee

SAP Extensibility Explorer example: SAP S/4HANA Cloud App for One-Click User Creation http://tiny.cc/s4-create-employee
Apache License 2.0
5 stars 4 forks source link

Unexpected subelement ValidityPeriod #1

Closed chrishanusch closed 4 years ago

chrishanusch commented 4 years ago

Hello, im getting this error when running the application:

Failed to connect to soap service: org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement ValidityPeriod 1

Console: {"status":"INTERNAL_SERVER_ERROR","message":"Failed to connect to soap service: org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected subelement ValidityPeriod","debugMessage":null,"timestamp":{"year":2019,"monthValue":11,"month":"NOVEMBER","dayOfMonth":19,"dayOfYear":323,"dayOfWeek":"TUESDAY","hour":10,"minute":35,"second":40,"nano":891000000,"chronology":{"calendarType":"iso8601","id":"ISO"}}}

Any hints on soliving that issue?

Shikzu commented 4 years ago

Hi,

The issue occurs because the WSDL file has been updated. As mentioned in the 'Known Issues' section in the readme file in Github, you might have to update the WSDL file.

I have observed that the 'QUERYBUSINESSUSERIN.wsdl' has been changed. Please take the latest from the S/4HANA Cloud tenant.

Thanks and Regards, Shikhar

chrishanusch commented 4 years ago

The issue occurs because the WSDL file has been updated. As mentioned in the 'Known Issues' section in the readme file in Github, you might have to update the WSDL file.

I have observed that the 'QUERYBUSINESSUSERIN.wsdl' has been changed. Please take the latest from the S/4HANA Cloud tenant.

Hello Shikhar thanks for the hint. This solved my problem. Regards Chris