Generate WSDL: Configurability of ports?
Hello everyone,
here's an example WSDL generated for one of our service packages:
Hello everyone,
here's an example WSDL generated for one of our service packages:
<?xml version="1.0" encoding="UTF-8"?> <definitions targetNamespace="http://www.myco.com/namespace" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:nslt2="http://www.myco.com/otherNamespace" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.myco.com/namespace" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <types> <xsd:schema> <xsd:import namespace="http://www.myco.com/otherNamespace" schemaLocation="https://url/to/schema.xsd"/> </xsd:schema> </types> <message name="GetAntragStatus"> <part name="GetAntragStatusRequest" element="nslt2:GetAntragStatusRequest"> </part> </message> <message name="GetAntragStatusResponse"> <part name="GetAntragStatusResponse" element="nslt2:GetAntragStatusResponse"> </part> </message> <portType name="ServicesType"> <operation name="GetAntragStatus"> <input message="tns:GetAntragStatus"> </input> <output message="tns:GetAntragStatusResponse"> </output> </operation> </portType> <binding name="ServicesBindingSOAP" type="tns:ServicesType"> <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="GetAntragStatus"> <soap:operation soapAction="urn:PegaRULES:SOAP:IAVAntrag:Services#GetAntragStatus" style="document"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> <binding name="ServicesBindingSOAP12" type="tns:ServicesType"> <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="GetAntragStatus"> <soap12:operation soapAction="urn:PegaRULES:SOAP:IAVAntrag:Services#GetAntragStatus" style="document"/> <input> <soap12:body use="literal"/> </input> <output> <soap12:body use="literal"/> </output> </operation> </binding> <service name="ServicesService"> <port name="ServicesPortSOAP" binding="tns:ServicesBindingSOAP"> <soap:address location="https://url.to.prpc/prweb/PRSOAPServlet/SOAP/IAVAntrag/Services"/> </port> <port name="ServicesPortSOAP12" binding="tns:ServicesBindingSOAP12"> <soap12:address location="https://url.to.prpc/prweb/PRSOAPServlet/SOAP/IAVAntrag/Services"/> </port> </service> </definitions>
Within the service element there are two port child elements, each referencing a defined binding.
Is there a way to configure which ports are generated and (ServicesPortSOAP and/or ServicesPortSOAP12 and or additional ones) and also is there a way to configure the names of the generated bindings?
I'd be happy about concrete information or links to relevant documentation as I haven't found any.
Thank you