This tool can be used to accept SOAP messages which are then written to a specified path as plain XML data.
- Implement
receiveItemMaster
.
- Move common code in tests into fixtures
- Use a config file to configurate output directory.
- Implement custom validation with native validation since
soft
orlxml
validation doesn't work with testing according to Github issue. But before, check if this project tests in a maybe better way as it utilizes theNullServer
as well.
Look at
examples/complex.py
.Why does
_returns=Array(User)
create 2 elements?<xs:complexType name="list_usersResponse"> <xs:sequence> <xs:element name="list_usersResult0" type="s1:User" minOccurs="0" nillable="true"/> <xs:element name="list_usersResult1" type="s1:User" minOccurs="0" nillable="true"/> </xs:sequence> </xs:complexType>
- Use
examples/testing/helloworld_null.py
.