Hi Gerardo Lisboa,
We are using wm 9.7. I have managed to edit location by editing “Port address” property in Binder tab, editing URL Alias didn’t change anything (maybe I am doing something wrong).
- My URL Alias:
Alias: wsdlAlias
URL Path: ws/name.space:service/port_name
Package: Namespace
In package Namespace I created service "name.space:method: and wsd “name.space:service”.
WSDL definition:
<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" name="service" targetNamespace="http://www.organization.com" xmlns:soapjms="http://www.w3.org/2010/soapjms/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.organization.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/">
<wsdl:types>
<xsd:schema targetNamespace="http://www.organization.com" xmlns:tns="http://www.organization.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="method" type="tns:method"/>
<xsd:complexType name="method">
<xsd:sequence>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="service_PortType_method">
<wsdl:part name="parameters" element="tns:method">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="service_PortType">
<wsdl:operation name="method">
<wsdl:input message="tns:service_PortType_method">
</wsdl:input>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="name_space_service_Binder" type="tns:service_PortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="method">
<soap:operation soapAction="name_space_service_Binder_method" style="document"/>
<wsdl:input>
<soap:body parts="parameters" use="literal"/>
</wsdl:input>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="name.space.service">
<wsdl:port name="port_name" binding="tns:name_space_service_Binder">
<soap:address location="http://10.33.1.21:5555/ws/name.space:service/port_name"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
I am not sure which property should I edit to change “/ws/name.space:service/port_name” to alias.
#webMethods#Integration-Server-and-ESB