Enable the Create user Web Services for ofbiz, and search for the article in front of me.
http://192.168.1.107:8080/webtools/control/SOAPService/createPersonAndUserLogin?wsdl
Make
Use the Eclipse Web Services Explorer to construct your own request body
http://127.0.0.1:49862/wse/wsexplorer/wsexplorer.jsp
<map-Map>
<ns0:map-Entry>
<ns0:map-Key>
<ns0:std-string value= "CurrentPassword "/>
</ns0:map-Key>
<ns0:map-Value>
<ns0:std-string value=" current "/>
</ ns0:map-value>
</ns0:map-Entry>
<ns0:map-Entry>
<ns0:map-Key>
<ns0: Std-string value= "currentpasswordverify"/>
</ns0:map-Key>
<ns0:map-Value>
<ns0 : std-string value= "current"/>
</ns0:map-Value>
</ns0:map-Entry>
<ns0:map-entry >
<ns0:map-Key>
<ns0:std-string value= "Userloginid"/>
</ns0:map-Key>
<ns0:map-Value>
<ns0:std-string value= "zzzz"/>
</ns0:map-Value>
</ns0: Map-entry>
</map-Map>
SOAP Requests:
<soapenv:envelope xmlns:soapenv= "http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0= "http// ofbiz.apache.org/service/"xmlns:xsd=" Http://www.w3.org/2001/XMLSchema "xmlns:xsi=" http://www.w3.org/2001/ Xmlschema-instance "> <soapenv:Body> <ns0:createPersonAndUserLogin> <map-Map> <ns0:ma p-entry> <ns0:map-Key> <ns0:std-string value= "CurrentPassword"/> </ns0:map-Key> < ;ns0:map-value> <ns0:std-string value= "current"/> </ns0:map-Value> </ns0:map-Entry> < ;ns0:map-entry> <ns0:map-Key> <ns0:std-string value= "currentpasswordverify"/> </ns0:map-ke y> <ns0:map-Value> <ns0:std-string value= "current"/> </ns0:map-Value> </ns0:map-en try> <ns0:map-Entry> <ns0:map-Key> <ns0:std-string value= "Userloginid"/> </ns0:map -key> <ns0:map-Value> <ns0:std-string Value= "zzzz"/> </ns0:map-Value> </ns0:map-Entry> </map-Map> </NS0:CREATEPERSONANDUSERLOGIN&G
T </soapenv:Body> </soapenv:Envelope>
Soap Returns the result:
<soapenv:envelope xmlns:soapenv= "http://schemas.xmlsoap.org/soap/envelope/" > <soapenv:Body> <creat
Epersonanduserloginresponse xmlns= "http://ofbiz.apache.org/service/" > <map-Map> <map-Entry>
<map-Key> <std-string value= "Responsemessage"/> </map-Key> <map-Value> <std-string value= "Success"/> </map-Value> </ma
p-entry> <map-Entry> <map-Key> <std-string value= "Newuserlogin"/> </map-Key> <map-Value> <eeval-userlogin createdstamp= "2016-10-18 0 6:56:53.933 "createdtxstamp=" 2016-10-18 06:56:53.465 "currentpassword=" $SHA $o60vewxuu0s$ Vnoxf3s6su-rlve20rqyzi4gfdy "lastupdatedstamp=" 2016-10-18 06:56:53.933 "lastupdatedtxstamp=" 2016-10-18 06:56:53.465 "partyid=" 10010 "userloginid=" zzzz "/> </map-value> </map-Entry> <map-Entry> <map-Key> <std-string val Ue= "PartyId"/> </map-Key> <map-Value> <std-string value= "10010"/ > </map-Value> </map-Entry> </map-Map> </createpersonanduserloginrespo
Nse> </soapenv:Body> </soapenv:Envelope>
Test:
Log in with an increased user name Zzzz/current ofbiz e-commerce platform Http://xxxx:8080/ecommerce,happy shopping bar