Open GavinCui9 opened 7 years ago
I need to update an object attributes by reading it and update the response message and convert it to Update message, then call Soap Update method.
The problem is that when I convert a XML string/file to WSDL object, all < and > tags will be turned to < and > Is there a way to avoid this?
For example:
Starting test: Test-Update.case1 20170313 10:03:07.655 : INFO : Using WSDL at http://*.*.*.*/subscribermodel-ws/device?wsdl Suds ( https://fedorahosted.org/suds/ ) version: 0.4.1 (beta) build: R705-20101207
Service ( DeviceWebServiceService ) tns="http://." Prefixes (2) ns0 = "http://" ns3 = "http://" Ports (1): (DeviceWebServicePort) Methods (10): create(device device, ) delete(xs:string deviceId, ) echo(xs:string arg0, ) read(xs:string deviceId, ) update(device device, ) Types (28): device deviceArray deviceIdentity deviceIdentityArray deviceIdentityType deviceType user
20170313 10:03:07.659 : INFO : Sending: <?xml version="1.0" ?>
Sorry for the late reply. The message log is quite helpful, but I would also need to see the code you are executing to understand what is going on.
I need to update an object attributes by reading it and update the response message and convert it to Update message, then call Soap Update method.
The problem is that when I convert a XML string/file to WSDL object, all < and > tags will be turned to < and > Is there a way to avoid this?
For example:
Starting test: Test-Update.case1 20170313 10:03:07.655 : INFO : Using WSDL at http://*.*.*.*/subscribermodel-ws/device?wsdl Suds ( https://fedorahosted.org/suds/ ) version: 0.4.1 (beta) build: R705-20101207
Service ( DeviceWebServiceService ) tns="http://." Prefixes (2) ns0 = "http://" ns3 = "http://" Ports (1): (DeviceWebServicePort) Methods (10): create(device device, ) delete(xs:string deviceId, ) echo(xs:string arg0, ) read(xs:string deviceId, ) update(device device, ) Types (28): device deviceArray deviceIdentity deviceIdentityArray deviceIdentityType deviceType user
20170313 10:03:07.659 : INFO : Sending: <?xml version="1.0" ?>