Categorygithub.com/OpenShopChannel/WiiSOAP
modulepackage
0.3.0
Repository: https://github.com/openshopchannel/wiisoap.git
Documentation: pkg.go.dev

# README

WiiSOAP

A SOAP Server, designed specifically to handle Wii Shop Channel SOAP. Slowly in development.

WiiSOAP is being rewritten in the future, therefore Pull Requests may be ignored.

What's the difference between this repo and that other SOAP repo?

This is the SOAP Server Software. The other repository only has the communication templates between a Wii and WSC's server.

Changelog

Versions on this software are based on goals. (e.g 0.2 works towards SQL support. 0.3 works towards NUS support, etc.)

0.3.x Tanuki

0.3.0

  • Migrates to using PostgreSQL
  • Add routes and XML niceties
  • Implement most routes

0.2.x Kawauso

0.2.6

This version of WiiSOAP Server was brought to you by Apfel. Thank you for your contribution.

  • Fixed error handling.
  • Moved configuration example.
  • Added go.mod for an easier installation.
  • Changed SQLPort to SQLAddress in the config.xml file.

0.2.5

This version of WiiSOAP Server was brought to you by Apfel. Thank you for your contribution.

  • Fixed lint errors.
  • Uses Fprintf properly now.
  • Uses if err = action(); os.IsExist(err) {} now. This makes error checks a little bit shorter.
  • Changed Port to Address in the config.xml file.

0.2.4

  • Added SQL skeleton.
  • Edited config template.

0.2.3

  • Added TODO Items.
  • Improved Error Handling.
  • Bug fixes.

Fixed an issue where converting string to byte in the switch cases would cause the program to not compile. Since converting to byte in switch is not possible. The program should now compile without any errors.

  • Organized the script to make it easier to read.
  • No changes to SQL have been made in this update.

0.2.2

  • Switched from if else to switch case. This makes the script cleaner, and makes the program faster.
  • No changes to SQL have been made in this update.

0.2.1

  • Added working Config.
  • SQL now works. (In terms of opening a connection.)
  • You can now choose what port to run WiiSOAP on.

0.2.0

  • Added SQL Driver.
  • SOAP-GO-OSC is now just called WiiSOAP.

0.1 (No Codename)

0.1.2

  • Optimised the software. (Structures are now in their own file.)

0.1.1

  • Added IAS Support.

0.1.0

  • Added ECS Support.

# Functions

NewEnvelope returns a new Envelope with proper attributes initialized.
NewRoute produces a new route struct with appropriate header defaults.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
SharedChallenge represents a static value to this nonsensical challenge response system.
No description provided by the author

# Structs

Action contains information about how a specified action should be handled.
Balance represents a common XML structure.
Body represents the nested soapenv:Body element as a child on the root element, containing the response intended for the action being handled.
Config - WiiSOAP Configuration data.
Envelope represents the root element of any response, soapenv:Envelope.
KVField represents an individual node in form of <XMLName>Contents</XMLName>.
Response describes the inner response format, along with common fields across requests.
Route defines a header to be checked for actions, and an array of actions to handle.
RoutingGroup defines a group of actions for a given service type.
Tickets represents the format to inform a console of available titles for its consumption.
Transactions represents a common XML structure.