ValueError: The Decimal type doesn't accept collections as value #24863
-
Hi, I am trying to invoke WSDL to update tracking number for a shipment line in oracle fusion cloud : {http://xmlns.oracle.com/apps/scm/shipping/shipConfirm/deliveries/shipmentLineService/}ShipmentLineService wsdl via python using zeep. Below is the payload that successfully executes in SOAP UI and returns a response. When I invoke the wsdl via python it throws ValueError: The Decimal type doesn’t accept collections as value. Please advice. SOAP Payload: <soapenv:Envelope xmlns:soapenv=“http://schemas.xmlsoap.org/soap/envelope/” xmlns:typ=“http://xmlns.oracle.com/apps/scm/shipping/shipConfirm/deliveries/shipmentLineService/types/” xmlns:ship=“http://xmlns.oracle.com/apps/scm/shipping/shipConfirm/deliveries/shipmentLineService/”> <typ:ShipmentLineInformation> Python Code: import os client = None def get_client_session(username, password): return client with open(filename) as csv_file: parsed_csv = csv.reader(csv_file, delimiter=’\t’) for row in parsed_csv: trackinfo = { print(trackinfo) Error Msg: $ python updateTrackingNumber.py ShipInfo.tsv
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Thanks for your improvement,but that questions are a bit confused. (1)Oracle.com(2)w3.com- this are two different text protocols.It could be better to concentrate on neighboring site whether they support the issuing on developers retrieve. Github associated sites have got retrieve gateway that will directly launch you to the position of that content,this action are found in any new website page. It will be difficult to handle non associated content that is from independent sites.so if developer is not included among the share option, may they have away of repairing their projects. Otherwise thanks for your struggling keep it up👍 |
Beta Was this translation helpful? Give feedback.
-
This issue can be closed. Once I passed the parameters as a named value pair within the service method, the error went away and the service executed successfully. response = client.service.UpdateShipmentLines(apiVersionNumber=1.0,InitMsgList=‘T’,ShipmentLineInformation=shiplineinfo) This solved the problem. Thanks! |
Beta Was this translation helpful? Give feedback.
This issue can be closed. Once I passed the parameters as a named value pair within the service method, the error went away and the service executed successfully.
response = client.service.UpdateShipmentLines(apiVersionNumber=1.0,InitMsgList=‘T’,ShipmentLineInformation=shiplineinfo)
This solved the problem.
Thanks!