frankframework icon indicating copy to clipboard operation
frankframework copied to clipboard

Generate multiple operations in WSDL

Open jacodg opened this issue 2 years ago • 0 comments

Describe the issue We need to provide the following WSDL (which for now we provide as a static resource) which has multiple operations:

https://github.com/Sudwest-Fryslan/WebformulierenVerwerker/blob/main/configurations/WebformulierenVerwerker/webcontent/GeneriekeFormulierAfhandeling.wsdl

		...
		<wsdl:operation name="Version">
			<soap:operation soapAction="http://tempuri.org/IGeneriekeFormulierAfhandeling/Version" style="document"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
		<wsdl:operation name="Info">
			<soap:operation soapAction="http://tempuri.org/IGeneriekeFormulierAfhandeling/Info" style="document"/>
			<wsdl:input>
				<soap:body use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body use="literal"/>
			</wsdl:output>
		</wsdl:operation>
		...

The above WSDL has several operations whereas the by F!F generated WSDL has only one operation:

		<wsdl:operation name="Operation___wsdl.WebformulierenVerwerker.WebformulierenVerwerker.soapAction_">
			<soap:operation style="document"/>
			<wsdl:input>
				<soap:body parts="Part_Version" use="literal"/>
			</wsdl:input>
			<wsdl:output>
				<soap:body parts="Part_VersionResponse" use="literal"/>
			</wsdl:output>
		</wsdl:operation>

WebformulierenVerwerker.wsdl.zip

I would like the have several operations based on the csv in the soapBody:

https://github.com/Sudwest-Fryslan/WebformulierenVerwerker/blob/main/configurations/WebformulierenVerwerker/Configuration_WebformulierenVerwerkerDispatcher.xml#L27

With the WSDL as a static resource it only works for one environment as the soapAction url at the bottom of the WSDL should be different for D, T, A and P.

Reporter Jaco de Groot

jacodg avatar Jul 13 '23 16:07 jacodg