Skip to content

Unable to create a Sequence with only a SimpleType (e.g. Array<String>) #292

Description

@bastiankemmer

Hey there,

my WSDL looks like that:

<wsdl:types>
    <xs:schema elementFormDefault="qualified" targetNamespace="http://.../wsdl/example">
      <xs:simpleType name="EmplnoType">
        <xs:restriction base="xs:string">
          <xs:minLength value="0"/>
          <xs:maxLength value="10"/>
          <xs:whiteSpace value="collapse"/>
        </xs:restriction>
      </xs:simpleType>
      <xs:element name="ExampleRequest">
        <xs:complexType>
          <xs:sequence>
            <xs:element maxOccurs="unbounded" minOccurs="0" name="id" type="tns:EmplnoType"/>
          </xs:sequence>
        </xs:complexType>
      </xs:element>
...

I have a SimpleType "EmplnoType" which is a String. The request takes a sequence of "EmplnoType". Unfortunatly, the library seems to be unable to create a sequence of SimpleTypes. Is that true?

Is there any workaround I could use to make it work?

FormParams look like that:

[
  "xpath:/ExampleRequest/id[0]" -> 1,
  "xpath:/ExampleRequest/id[1]" -> 2
]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions