-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with Invokable Operation for File Input in Submodel #309
Comments
Thank you for submitting this issue. |
Hi @inowshin19 , From your provided information I understand that you want to upload an AAS defined in the opc2aasServiceAAS.json. |
Hello @zhangzai123, thank you for the clarification! |
Hi @inowshin19, |
I also came cross a problem regarding invokable operation. I create a submodel using createSubmodelWithAllSubmodelElements and create the submodel in SubmodelRepository with the createSubmodel method. After this I got error when I execute the operation, no matter via web-ui (got 405 Error) or via ![]() However, if i create the submodel via the SubmodelRepository instance which returned from
Is it now possible to create a submodel in submodelrepository component which supports invokable operation directly, rather than through operation delegation? Please let me know if I'm missing something. Much appreciated! |
Hi @gongzhq136, invoking operations directly without the operation delegation feature is currently not supported. I'll add your suggestion to the backlog for future consideration 👍 |
I am trying to use an invokable operation for file input in my Submodel using Postman. My Submodel and its element is defined as follows:
I am sending a POST request via Postman to the endpoint:
http://localhost:8081/submodels/VGVzdE9yY2hlc3RyYXRvcg/submodel-elements/AASUpload/invoke?async=false
The form-data and response is given below:
Is file not supported for input? Please let me know if I am doing something wrong.
Thank you very much in advance!
The text was updated successfully, but these errors were encountered: