Home > other >  How python implementation adjustable JSF interface, can be labeled as code is better
How python implementation adjustable JSF interface, can be labeled as code is better

Time:09-28

Have implemented a python call interface based on webservice way, this is no problem, want to use to achieve the JSF interface call recently, JSF support TCP or HTTP calls itself, its implementation process the following
Webservice way: (module and the government subsidies out here)
Url="http://preOrdersplit.jd.com/orderSplitWebService? WSDL: '
The client=client (url)
SplitResult=client. Service. SplitOrder (orderInfo)
The result of the return to normal,

Under the JSF interface implementation process:
My url: the server/interface name/alias/interface methods
Url='http://192.168.156.109:22000/com.jd.ofc.ordersplit.webservice.jsf.PreOrderSplitServiceJsf/Jsf-PreOrderSplitServiceJsf/splitOrder'
The client=client (url)
SplitResult=client. Service. SplitOrder (orderInfo)
Always prompt: HTTP Error 500: Internal Server Error
Strives for the answer, it is better for the actual code, online, etc... The ball player grant instruction

CodePudding user response:

You call JSF interface finally succeeded in python
  • Related