Untitled
unknown
plain_text
2 years ago
3.6 kB
5
Indexable
I have this soap request. it is supposed to create a CIF for a customer. i have this error in the response. fix the soap request given so that it works Request: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:if="http://ByblosUtility/IF_BYBCreateCust"> <soapenv:Header/> <soapenv:Body> <if:insertCustomer> <input1> <!--Optional:--> <BYBHeader> <!--Optional:--> <affiliateID>4</affiliateID> <!--Optional:--> <RequestChannelId>4</RequestChannelId> <!--Optional:--> <!--Optional:--> <authorization> <!--Optional:--> <username>api</username> <!--Optional:--> <password>api123</password> </authorization> </BYBHeader> <!--Optional:--> <branchNo>220</branchNo> <!--Optional:--> <clientFName>test1</clientFName> <!--Optional:--> <fatherName>test2</fatherName> <!--Optional:--> <motherName>test3</motherName> <!--Optional:--> <clientFamilyName>test4</clientFamilyName> <!--Optional:--> <fatherFamilyName>test5</fatherFamilyName> <!--Optional:--> <motherFamilyName>test6</motherFamilyName> <industrty>1</industrty> <!--Optional:--> <language>1</language> <!--Optional:--> <maritalStatus>S</maritalStatus> <!--Optional:--> <name>TEST12344</name> <!--Optional:--> <nationality>LB</nationality> <!--Optional:--> <residence>B</residence> <!--Optional:--> <sector>5</sector> <!--Optional:--> <sex>M</sex> <!--Optional:--> <shortName>?</shortName> <!--Optional:--> <type>?</type> <!--Optional:--> <street>?</street> <!--Optional:--> <target>4</target> <townCountry>Beirut</townCountry> </input1> </if:insertCustomer> </soapenv:Body> </soapenv:Envelope> Response : <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <NS1:insertCustomerResponse xmlns:NS1="http://ByblosUtility/IF_BYBCreateCust"> <output1> <returnCode>99</returnCode> <returnDescription>CIF NOT CREATED: 183663/IIB233521876944195.00/-1/NO,SECTOR:1:1=MISSING SECTOR - RECORD,SECTOR:1:1=MISSING SECTOR - RECORD,INDUSTRY:1:1=MISSING INDUSTRY - RECORD,INDUSTRY:1:1=MISSING INDUSTRY - RECORD,TARGET:1:1=MISSING TARGET - RECORD,TARGET:1:1=MISSING TARGET - RECORD,RESIDENCE:1:1=MISSING COUNTRY - RECORD,RESIDENCE:1:1=MISSING COUNTRY - RECORD,BIRTH.INCORP.DATE:1:1=INPUT MISSING,INDUSTRY:1:1=Industry is out of range,INDUSTRY:1:1=Industry is out of range,ACCOUNT.OFFICER:1:1=MISSING CUSTOMER.DEFAULT - RECORD,INDUSTRY:1:1=MISSING INDUSTRY - RECORD,TARGET:1:1=MISSING TARGET - RECORD,CUSTOMER.STATUS:1:1=MISSING CUSTOMER.DEFAULT - RECORD,RESIDENCE:1:1=MISSING COUNTRY - RECORD</returnDescription> </output1> </NS1:insertCustomerResponse> </soapenv:Body> </soapenv:Envelope>
Editor is loading...
Leave a Comment