<?xml version="1.0" encoding="ISO-8859-1"?>
<definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="urn:womb" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:womb">
<types><xsd:schema targetNamespace="urn:womb"
>
 <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
 <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
</xsd:schema>
</types>
<message name="authUserRequest"><part name="userName" type="xsd:string" /><part name="userPass" type="xsd:string" /></message>
<message name="authUserResponse"><part name="status" type="xsd:boolean" /><part name="sessionID" type="xsd:string" /></message>
<message name="getUserInfoRequest"><part name="sessionID" type="xsd:string" /></message>
<message name="getUserInfoResponse"><part name="status" type="xsd:boolean" /><part name="gender" type="xsd:string" /><part name="firstName" type="xsd:string" /><part name="lastName" type="xsd:string" /><part name="dateOfBirth" type="xsd:string" /><part name="emalAddress" type="xsd:string" /><part name="phone" type="xsd:string" /><part name="country" type="xsd:string" /><part name="state" type="xsd:string" /><part name="city" type="xsd:string" /><part name="streetAddress" type="xsd:string" /><part name="receiveNews" type="xsd:boolean" /><part name="credits" type="xsd:int" /><part name="booksTotal" type="xsd:int" /><part name="booksAvailToOrder" type="xsd:int" /><part name="allowInternationalOrders" type="xsd:boolean" /></message>
<message name="registerUserRequest"><part name="userName" type="xsd:string" /><part name="firstName" type="xsd:string" /><part name="lastName" type="xsd:string" /><part name="email" type="xsd:string" /><part name="streetAddress" type="xsd:string" /><part name="postCode" type="xsd:string" /><part name="city" type="xsd:string" /><part name="state_province" type="xsd:string" /><part name="country" type="xsd:string" /><part name="allowIntOrders" type="xsd:boolean" /><part name="password" type="xsd:string" /></message>
<message name="registerUserResponse"><part name="status" type="xsd:boolean" /><part name="errorCode" type="xsd:int" /><part name="errorText" type="xsd:string" /></message>
<message name="registerBookByISBNRequest"><part name="sessionID" type="xsd:string" /><part name="ISBN" type="xsd:string" /><part name="tags" type="xsd:string" /><part name="comment" type="xsd:string" /></message>
<message name="registerBookByISBNResponse"><part name="status" type="xsd:boolean" /><part name="errorCode" type="xsd:int" /><part name="errorText" type="xsd:string" /></message>
<portType name="wombWSDLPortType"><operation name="authUser"><documentation>This request is used to authenticate a user. It should be called first. If success, return sessionID, which is used in future requests.</documentation><input message="tns:authUserRequest"/><output message="tns:authUserResponse"/></operation><operation name="getUserInfo"><documentation>This request returns all available information about user.</documentation><input message="tns:getUserInfoRequest"/><output message="tns:getUserInfoResponse"/></operation><operation name="registerUser"><documentation>This request register a new user. userName and email must be unique. userName, firstName, lastName, email, streetAddress, postCode, City, state_province, country, password are required.</documentation><input message="tns:registerUserRequest"/><output message="tns:registerUserResponse"/></operation><operation name="registerBookByISBN"><documentation>Register book by ISBN. All information about book is retrieved from Amason. tags and comment are required.</documentation><input message="tns:registerBookByISBNRequest"/><output message="tns:registerBookByISBNResponse"/></operation></portType>
<binding name="wombWSDLBinding" type="tns:wombWSDLPortType"><soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="authUser"><soap:operation soapAction="urn:womb#authUser" style="rpc"/><input><soap:body use="encoded" namespace="urn:womb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:womb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="getUserInfo"><soap:operation soapAction="urn:womb#getUserInfo" style="rpc"/><input><soap:body use="encoded" namespace="urn:womb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:womb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="registerUser"><soap:operation soapAction="urn:womb#registerUser" style="rpc"/><input><soap:body use="encoded" namespace="urn:womb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:womb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation><operation name="registerBookByISBN"><soap:operation soapAction="urn:womb#registerBookByISBN" style="rpc"/><input><soap:body use="encoded" namespace="urn:womb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:womb" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation></binding>
<service name="wombWSDL"><port name="wombWSDLPort" binding="tns:wombWSDLBinding"><soap:address location="http://whatsonmybookshelf.com/api/soap.php"/></port></service>
</definitions>