kodlian/AlamofireXMLRPC

can't do parsing

Closed this issue · 0 comments

my response (odoo)

<methodResponse>
	<params>
		<param>
			<value>
				<array>
					<data>
						<value>
							<struct>
								<member>
									<name>id</name>
									<value>
										<int>21</int>
									</value>
								</member>
								<member>
									<name>name</name>
									<value>
										<string>Akbar</string>
									</value>
								</member>
								<member>
									<name>login</name>
									<value>
										<string>myemail@email.com</string>
									</value>
								</member>
								<member>
									<name>partner_id</name>
									<value>
										<array>
											<data>
												<value>
													<int>258</int>
												</value>
												<value>
													<string>Akbar</string>
												</value>
											</data>
										</array>
									</value>
								</member>
								<member>
									<name>company_ids</name>
									<value>
										<array>
											<data>
												<value>
													<int>1</int>
												</value>
											</data>
										</array>
									</value>
								</member>
								<member>
									<name>company_id</name>
									<value>
										<array>
											<data>
												<value>
													<int>1</int>
												</value>
												<value>
													<string>PT. Comp</string>
												</value>
											</data>
										</array>
									</value>
								</member>
								<member>
									<name>env_company_id</name>
									<value>
										<array>
											<data>
												<value>
													<int>1</int>
												</value>
												<value>
													<string>PT. Comp</string>
												</value>
											</data>
										</array>
									</value>
								</member>
								<member>
									<name>company_employee_id</name>
									<value>
										<int>39</int>
									</value>
								</member>
								<member>
									<name>employee_ids</name>
									<value>
										<array>
											<data>
												<value>
													<int>39</int>
												</value>
											</data>
										</array>
									</value>
								</member>
								<member>
									<name>employee_id</name>
									<value>
										<int>39</int>
									</value>
								</member>
								<member>
									<name>clearing_residuals_sum</name>
									<value>
										<double>0.0</double>
									</value>
								</member>
								<member>
									<name>partner_mobile</name>
									<value>
										<string>+62 823</string>
									</value>
								</member>
								<member>
									<name>partner_email</name>
									<value>
										<string>myemail@email.com</string>
									</value>
								</member>
								<member>
									<name>partner_street</name>
									<value>
										<string>Street RT.001/RW.001</string>
									</value>
								</member>
								<member>
									<name>partner_street2</name>
									<value>
										<string>My District</string>
									</value>
								</member>
								<member>
									<name>partner_city</name>
									<value>
										<string>Gowa</string>
									</value>
								</member>
								<member>
									<name>partner_state_id</name>
									<value>
										<array>
											<data>
												<value>
													<int>63</int>
												</value>
												<value>
													<string>Sulawesi Selatan</string>
												</value>
											</data>
										</array>
									</value>
								</member>
								<member>
									<name>partner_country_id</name>
									<value>
										<array>
											<data>
												<value>
													<int>100</int>
												</value>
												<value>
													<string>Indonesia</string>
												</value>
											</data>
										</array>
									</value>
								</member>
								<member>
									<name>mobile_app_last_version</name>
									<value>
										<string>2.9</string>
									</value>
								</member>
								<member>
									<name>mobile_app_last_version_url</name>
									<value>
										<string>https://dre.google.com/uc?export=download&amp;id=myid</string>
									</value>
								</member>
							</struct>
						</value>
					</data>
				</array>
			</value>
		</param>
	</params>
</methodResponse>```