Skip to content

benasocj/soapser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Purpose

This tool can be used to accept SOAP messages which are then written to a specified path as plain XML data.

TODO

Required

  • Implement receiveItemMaster.

Optional

  • Move common code in tests into fixtures
  • Use a config file to configurate output directory.
  • Implement custom validation with native validation since soft or lxml 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 the NullServer as well.

Design

  • 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>
    

Testing

  • Use examples/testing/helloworld_null.py.

About

Write SOAP messages into plain XML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages