| Summary | This article clarifies how to instantiate a service endpoint. |
|---|---|
| Article Number | 37089 |
| Environment | Artix 4.x,5.x JAX-RPC All Supported Operating Systems |
| Question/Problem Description |
Unable to initialize an Artix server. |
| Clarifying Information | When initializing a service endpoint in an Artix Server the following steps are necessary: Bus bus = Bus.init(busArgs); String portName = "MySoapHttpPort"; QName qname = new QName("http://xxx.com/wsdl","MyService"); Servant servant = new SingleInstanceServant(new MyServicePortImpl(), wsdlPath, bus); bus.registerServant(servant, qname, portName); For further programming details please see the "Developing Artix Applications with JAX-RPC" guide. |
| Error Message | Service http://xxx.com/wsdl/:MyService not found in wsdl file:/files/wsdl/MyService.wsdl |
| Defect/Enhancement Number | |
| Cause | This issues is caused if the namespace and/or service definitions in the QName do not match the definitions in the WSDL file. |
| Resolution | Ensure the QName in the code matches the definitions in the WSDL. These definitions are case sensitive. |
| Workaround | |
| Notes | |
| Attachment |
| Created date: | 02 January 2013 |
|---|---|
| Last Modified: | 12 February 2013 |
| Last Published: | 02 January 2013 |
| First Published date: | 02 January 2013 |
#Orbix
#KnowledgeDocs




