Make namespace in D-ESDL to match the namespace in scapps
Description
Conclusion
Activity
Paul Schultes July 31, 2018 at 6:29 PM
Per today's (7/31/18) DESDL project call, this item was deemed High priority and needs to be included in the HPCC 7.0.0 release.
Jiafu Gao June 15, 2018 at 9:33 PM
Here is the design (agreed by Tony):
- Add an option in the esp service binding to specify namespace template
The template is an XPATH, with possible variables and functions
The following variables are predefined:
version
service: the mixed case service name (as defined in ecm file)
method: the mixed case method name
So for WsAccurint namespace, the namespace template is:
For WsHealthcare (using esdl_svc_engine), the namespace template is:
concat(‘rn:lnrisk:ws:’,lower-case($service),’:@ver=’,$version)
Note that the following does not work (due the special character @ in it: @ver will be treated as attribute ver):
rn:lnrisk:ws:lower-case($service):@ver=$version
Rodrigo Pastrana May 18, 2018 at 4:32 PM
From: Pastrana, Rodrigo (RIS-BCT)
Sent: Tuesday, May 08, 2018 12:47 PM
To: Gao, Jiafu (RIS-BCT) <Jiafu.Gao@lexisnexisrisk.com>; Ma, Yanrui (RIS-BCT) <Yanrui.Ma@lexisnexisrisk.com>
Cc: Fishbeck, Anthony (RIS-BCT) <Anthony.Fishbeck@lexisnexisrisk.com>; Klemm, Tim (RIS-BCT) <Tim.Klemm@lexisnexisrisk.com>
Subject: RE: Dev server for Dynamic ESDL testing
We found a few discrepancies between the oss and scapps WSDLs and will put them here for discussion:
1 – OSS targetnamespace reports methodname if available
2 – OSS targetnamespace reports esdl optionals encapsulated in params immediately following service/methodname
3 - OSS targetnamespace reports version delineated by @
4 – OSS wsdl:service/wsdl:port/soap:address/@location reports address:port (no service/method URI, nor url params)
Scapps provides address:port/service?urlparams
5 - OSS binding/soap:binding /operation/soap:operation/@soapAction seems to always prefix the literal “custom” followed by methodname ?ver_=X.Y
Scapps Servicename/methodname?URLparmas including optionals &ver_=x.y
Anthony Fishbeck May 18, 2018 at 4:25 PM
@Rodrigo Pastrana can you enumerate what the WSDL issues were?
I think 1 was a bug in the way the SOAP ACTION was formed.
Anthony Fishbeck May 18, 2018 at 4:23 PM
Yes, for the namespace I think we need a way of configuring the exact literal value,..
but things like client version still need to be added at runtime, so perhaps a configured value that can include a few variables.
For example, you could configure:
<namespace>http://x/y/z?ver_=\{clientVersion}</namespace>
Just a suggestion, we can work out the details.
This is needed for scapps to HPCC/D-ESDL migration.