You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for putting this project together! Really helpful :)
I'm trying to generate a ts-client for a valid wsdl and running into an error A child of the kind OpenBraceToken was expected
I've attached the wsdl file here, curious if I am missing something or what the bug might be. I'm pretty sure ts-morph is throwing the error but unsure if the error is how it is being called or something else.
I found what the issue is with
in src/generator.ts on line 322 createClientDeclaration.setBodyText("return soapCreateClientAsync(args[0], args[1], args[2]) as any;");
the generator errors out here. I am very curios as to why
So after digging in a little bit deeper, The file. name of my WSDL started with a number (1) . This caused all kinds of problems with the generator.
I am still not sure why it caused a problem with the setBodyText method above but it did
Further down in the index generator it caused another issue there
Once I removed the number from the file name the generator created all the definitions and the client as well as the index file.
Unfortunately after I generated the index I started to notice another issue.
12 imported file names where wrong
Either the case was wrong in the interface or the file path was wrong
I had one duplicate on FareRouteGrp
file ./definitionsOffpointDetails1 did not exist but ./definitions/OffPointDetails1 did
and the definition from that file was imported 3 separate times I guess ill open another ticket
Thank you for putting this project together! Really helpful :)
I'm trying to generate a ts-client for a valid wsdl and running into an error
A child of the kind OpenBraceToken was expected
I've attached the wsdl file here, curious if I am missing something or what the bug might be. I'm pretty sure ts-morph is throwing the error but unsure if the error is how it is being called or something else.
Human_Resources.wsdl.zip
The text was updated successfully, but these errors were encountered: