Troubleshooting
Problem
If a WSDLs Port name is changed in WID an "java.lang.IllegalArgumentException: The specified url can not be null" error will be thrown when trying to publish the application to the server.
Cause
Since there is no automatic refactoring functionality in WID for changing a webservices name one could miss to modify all necessary places that need to be changed. For example if the name is only changed in the wsdl as shown in the screenshot below, this will result in the error message as mentioned.

Resolving The Problem
Open the Web Services Ports/PMRTestHttpPort in the XML editor

and change the names in the following locations to your need:
![]()
as well as here:
![]()
Furthermore you have to change the name within the export file. Therefore please open the Navigator View (Window -> Show View -> Navigator). In your Module search for the *.export file (according to your webservice component) open it and change the following line accordingly:
![]()
![]()
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21499916