I have a few service references, with multiple endpoints, that I've imported into WebMaker and they are working fine. However the only way I am able to change the endpoint urls is to go to Deployment > All Details > Advanced Deployment. I am not able to change them in the publication environment screens or the regular deployment setup screen.
This is obviously becomes an issue when publishing to different environments with potentially different end point urls for the same service.
The 3rd screenshot shows several service proxies that do not appear on the list in the 1st and 2nd screenshot.
This is obviously becomes an issue when publishing to different environments with potentially different end point urls for the same service.
The 3rd screenshot shows several service proxies that do not appear on the list in the 1st and 2nd screenshot.
Attachment
RE: service endpoint urls not available for setup
There is no clear reason why you should not be able to do what you have stated. We would need to review the project to investigate the issue.
RE: service endpoint urls not available for setup
We have had a look at the projects you have provided, and are seeing the same behaviour.
Unfortunately there seems to be a bug preventing all the details from being displayed. We have fixed the problem for the upcoming v4 release, but in the meantime you will need to work around it.
As you mention, you can use the advanced deploy screen to adjust the endpoints used for your local deployment and testing.
For the publication setup, you will need to manually add the entries to a configuration file. Once they are there, you should be able to see the details on the publication screen, and edit them as needed.
The relevant file is called publication_environments.xml and can be found within the application directory for your project within the repository. (eg <install path>/design/repository/<workspace>/mvc/<project>/application/publication_environments.xml)
This file provides details of all the publication environments you have defined, and you will need to add a line to the existing agent_configuration section in each environment for every endpoint that is not appearing.
As an example, for your TravelReady_Request project you would need to add the following lines:
<xfact:agent agent_id="mvc-TravelReady_Request-MailSender_Proxy-MailSenderHttpEndpoint" http_hdr="false" instance="" protocol="http" type="http_service" /> <xfact:agent agent_id="mvc-TravelReady_Request-MailSender_Proxy-MailSenderHttpSoap11Endpoint" http_hdr="false" instance="" protocol="http" type="soap_service" /> <xfact:agent agent_id="mvc-TravelReady_Request-ManageProcess_Proxy-ManageProcessHttpEndpoint" http_hdr="false" instance="" protocol="http" type="http_service" /> <xfact:agent agent_id="mvc-TravelReady_Request-ManageProcess_Proxy-ManageProcessHttpsEndpoint" http_hdr="false" instance="" protocol="http" type="http_service" /> <xfact:agent agent_id="mvc-TravelReady_Request-ManageProcess_Proxy-ManageProcessHttpSoap11Endpoint" http_hdr="false" instance="" protocol="http" type="soap_service" /> <xfact:agent agent_id="mvc-TravelReady_Request-ManageProcess_Proxy-ManageProcessHttpsSoap11Endpoint" http_hdr="false" instance="" protocol="http" type="soap_service" />
You should then be able to edit the actual URLs using the edit publication screen within the studio.
I hope this helps.
Regards,
Gerard