Skip to content
This repository has been archived by the owner on Oct 17, 2020. It is now read-only.

Commit

Permalink
Merge pull request #19 from xyphoid/master
Browse files Browse the repository at this point in the history
Add customer username to Magento API.
  • Loading branch information
Sylvain Rayé committed Sep 8, 2015
2 parents 50775b9 + 3f1d8c9 commit 3d91411
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/app/code/community/Diglin/Username/etc/wsdl.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:typens="urn:{{var wsdl.name}}" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/"
name="{{var wsdl.name}}" targetNamespace="urn:{{var wsdl.name}}">
<types>
<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Magento">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocation="http://schemas.xmlsoap.org/soap/encoding/" />
<complexType name="customerCustomerEntityToCreate">
<all>
<element name="username" type="xsd:string" minOccurs="0" />
</all>
</complexType>
<complexType name="customerCustomerEntity">
<all>
<element name="username" type="xsd:string" minOccurs="0" />
</all>
</complexType>
</schema>
</types>
</definitions>
22 changes: 22 additions & 0 deletions src/app/code/community/Diglin/Username/etc/wsi.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:typens="urn:{{var wsdl.name}}"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
name="{{var wsdl.name}}"
targetNamespace="urn:{{var wsdl.name}}">
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:{{var wsdl.name}}">
<xsd:complexType name="customerCustomerEntityToCreate">
<xsd:sequence>
<xsd:element name="username" type="xsd:string" minOccurs="0" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="customerCustomerEntity">
<xsd:sequence>
<xsd:element name="username" type="xsd:string" minOccurs="0" />
</xsd:sequence>
</xsd:complexType>
</wsdl:types>
</wsdl:definitions>

0 comments on commit 3d91411

Please sign in to comment.