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
error[E0412]: cannot find type `StateUpdateNotificationResponse` in module `types`
--> src/soap.rs:85:32
|
85 | pub parameters: types::StateUpdateNotificationResponse,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `StateUpdateNotification`
...
241 | pub struct StateUpdateNotification {
| ---------------------------------- similarly named struct `StateUpdateNotification` defined here
The text was updated successfully, but these errors were encountered:
I suspect this is due to the "type" attribute missing on the <xs:element /> rather than the element being empty. There are a few examples in the sample resources that seem to render fine. For example from hello.wsdl:
<xs:element name="SayHello" type="tns:SayHello"/>
Let me see if I can dig up a similar case to test this.
There is a new yaserde_08 branch which includes support for these "untyped" elements. These elements are now given a type: AnyType. Which (for now) is typed as: pub type AnyType = Option<String>; due to a lack of a better alternative. As far as I can see, yaserde does not have a Value type or something equivalent.
This works fine:
But this results in no type being outputted:
Which results in errors:
The text was updated successfully, but these errors were encountered: