| Summary | While starting Artix web service "Service not found" error occurs |
|---|---|
| Article Number | 37088 |
| Environment | Artix-All |
| Question/Problem Description | When trying to run Artix web server, it gives the following error : "service not found in the wsdl file" In the WSDL there are 2 services but the interface, server and client classes are generated only for one service but not generated for the other service. This issue happens when there are more than one Service is defined in the wsdl. |
| Clarifying Information | |
| Error Message | |
| Defect/Enhancement Number | |
| Cause | |
| Resolution | The default way when running wsdltojava is to generate code for the first service. Passing the -e flag will allow to generate code for a specific service. From the documents: -e service:port Specifies the name of the service, and optionally the port, for which the tool will generate code. The default is to use the first service listed in the contract. Specifying multiple services results in the generation of code for all the named service/port combinations. If no port is given, all ports defined in a service will be activated. |
| Workaround | |
| Notes | |
| Attachment |
| Created date: | 01 January 2013 |
|---|---|
| Last Modified: | 29 January 2013 |
| Last Published: | 29 January 2013 |
| First Published date: | 01 January 2013 |
#Orbix
#KnowledgeDocs




