You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andreas Goetz <cp...@gmail.com> on 2006/11/21 17:22:38 UTC

No Endpoint error calling service method

Trying to call the hello("string") method on the attached local web
service, I'm receiving this error:

Exception in thread "main" AxisFault
  faultCode: {http://xml.apache.org/axis/}Server.NoEndpoint
  faultSubcode:
  faultString: No endpoint
  faultActor:
  faultNode:
  faultDetail:

{http://xml.apache.org/axis/}exceptionName:org.apache.axis.NoEndPointException
     {http://xml.apache.org/axis/}stackTrace:No endpoint
     at 
videodb.service.VideodbBindingStub.hello(VideodbBindingStub.java:175)
     at test.Test.main(Test.java:24)

     {http://xml.apache.org/axis/}hostname:mobile28

No endpoint
     at 
videodb.service.VideodbBindingStub.hello(VideodbBindingStub.java:175)
     at test.Test.main(Test.java:24)

Service is developed in php/nusoap and is running. SoapUI can call it
fine. I have no clue why it fails, google search didn't give me any
hints. Here is the debug log:

0 [main] DEBUG org.apache.axis.description.OperationDesc  - @1c1ea29
added parameter >name:       name
typeEntry:  null
mode:       IN
position:   0
isReturn:   false
typeQName:  {http://www.w3.org/2001/XMLSchema}string
javaType:   class java.lang.String
inHeader:   false
outHeader:  false
@1f436f5<total parameters:1
0 [main] DEBUG org.apache.axis.description.OperationDesc  -
@1c1ea29setReturnType({http://www.w3.org/2001/XMLSchema}string)
20 [main] DEBUG org.apache.axis.description.OperationDesc  - @ab853b
added parameter >name:       query
typeEntry:  null
mode:       IN
position:   0
isReturn:   false
typeQName:  {http://www.w3.org/2001/XMLSchema}string
javaType:   class java.lang.String
inHeader:   false
outHeader:  false
@b82368<total parameters:1
130 [main] DEBUG org.apache.axis.description.OperationDesc  -
@ab853bsetReturnType({urn:videodb}Items)
130 [main] DEBUG org.apache.axis.description.OperationDesc  - @c53dce
added parameter >name:       id
typeEntry:  null
mode:       IN
position:   0
isReturn:   false
typeQName:  {http://www.w3.org/2001/XMLSchema}int
javaType:   int
inHeader:   false
outHeader:  false
@15cda3f<total parameters:1
140 [main] DEBUG org.apache.axis.description.OperationDesc  -
@c53dcesetReturnType({urn:videodb}Item)
210 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
getBundle(org.apache.axis,org.apache.axis.i18n,resource,null,...)
240 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
loadBundle: Ignoring MissingResourceException: Can't find bundle for
base name org.apache.axis.resource, locale de_DE
240 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  - Created
org.apache.axis.i18n.resource, linked to parent null
270 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
getBundle(org.apache.axis,org.apache.axis.utils,resource,null,...)
270 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
loadBundle: Ignoring MissingResourceException: Can't find bundle for
base name org.apache.axis.utils.resource, locale de_DE
270 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
loadBundle: Ignoring MissingResourceException: Can't find bundle for
base name org.apache.axis.resource, locale de_DE
270 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  - Root
package not found, cross link to org.apache.axis.i18n.resource
270 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  - Root
package not found, cross link to org.apache.axis.i18n.resource
270 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
org.apache.axis.i18n.resource::handleGetObject(engineConfigLoadFactory)
280 [main] DEBUG
org.apache.axis.configuration.EngineConfigurationFactoryFinder  -
Factory org.apache.axis.configuration.EngineConfigurationFactoryServlet
Ignored: unable to load/resolve class.
280 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
org.apache.axis.i18n.resource::handleGetObject(engineFactory)
280 [main] DEBUG
org.apache.axis.configuration.EngineConfigurationFactoryFinder  - Got
EngineFactory:
org.apache.axis.configuration.EngineConfigurationFactoryDefault
290 [main] DEBUG org.apache.axis.AxisEngine  - Enter: AxisEngine::init
751 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
org.apache.axis.i18n.resource::handleGetObject(attachEnabled)
771 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
org.apache.axis.i18n.resource::handleGetObject(oddDigits00)
771 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
org.apache.axis.i18n.resource::handleGetObject(badChars01)
991 [main] DEBUG org.apache.axis.AxisEngine  - Exit: AxisEngine::init
1001 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
org.apache.axis.i18n.resource::handleGetObject(noEndpoint)


Feedback greatly appreciated.

Thanks,
Andreas


Re: No Endpoint error calling service method

Posted by Andreas Goetz <cp...@gmail.com>.
Found the problem. I was directly calling the stub generated instead of 
using the locator to obtain a port:

VideodbBindingStub proxy = new VideodbBindingStub();
proxy.hello("abc");

instead of

VideodbLocator service = new VideodbLocator();
VideodbPortType port = service.getvideodbPort();
port.hello("Horst");

For some reason this seems to work for certain services?

Best,
Andreas

Andreas Goetz wrote:
> Trying to call the hello("string") method on the attached local web
> service, I'm receiving this error:
>
> Exception in thread "main" AxisFault
>  faultCode: {http://xml.apache.org/axis/}Server.NoEndpoint
>  faultSubcode:
>  faultString: No endpoint
>  faultActor:
>  faultNode:
>  faultDetail:
>
> {http://xml.apache.org/axis/}exceptionName:org.apache.axis.NoEndPointException 
>
>     {http://xml.apache.org/axis/}stackTrace:No endpoint
>     at 
> videodb.service.VideodbBindingStub.hello(VideodbBindingStub.java:175)
>     at test.Test.main(Test.java:24)
>
>     {http://xml.apache.org/axis/}hostname:mobile28
>
> No endpoint
>     at 
> videodb.service.VideodbBindingStub.hello(VideodbBindingStub.java:175)
>     at test.Test.main(Test.java:24)
>
> Service is developed in php/nusoap and is running. SoapUI can call it
> fine. I have no clue why it fails, google search didn't give me any
> hints. Here is the debug log:
>
> 0 [main] DEBUG org.apache.axis.description.OperationDesc  - @1c1ea29
> added parameter >name:       name
> typeEntry:  null
> mode:       IN
> position:   0
> isReturn:   false
> typeQName:  {http://www.w3.org/2001/XMLSchema}string
> javaType:   class java.lang.String
> inHeader:   false
> outHeader:  false
> @1f436f5<total parameters:1
> 0 [main] DEBUG org.apache.axis.description.OperationDesc  -
> @1c1ea29setReturnType({http://www.w3.org/2001/XMLSchema}string)
> 20 [main] DEBUG org.apache.axis.description.OperationDesc  - @ab853b
> added parameter >name:       query
> typeEntry:  null
> mode:       IN
> position:   0
> isReturn:   false
> typeQName:  {http://www.w3.org/2001/XMLSchema}string
> javaType:   class java.lang.String
> inHeader:   false
> outHeader:  false
> @b82368<total parameters:1
> 130 [main] DEBUG org.apache.axis.description.OperationDesc  -
> @ab853bsetReturnType({urn:videodb}Items)
> 130 [main] DEBUG org.apache.axis.description.OperationDesc  - @c53dce
> added parameter >name:       id
> typeEntry:  null
> mode:       IN
> position:   0
> isReturn:   false
> typeQName:  {http://www.w3.org/2001/XMLSchema}int
> javaType:   int
> inHeader:   false
> outHeader:  false
> @15cda3f<total parameters:1
> 140 [main] DEBUG org.apache.axis.description.OperationDesc  -
> @c53dcesetReturnType({urn:videodb}Item)
> 210 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
> getBundle(org.apache.axis,org.apache.axis.i18n,resource,null,...)
> 240 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
> loadBundle: Ignoring MissingResourceException: Can't find bundle for
> base name org.apache.axis.resource, locale de_DE
> 240 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  - Created
> org.apache.axis.i18n.resource, linked to parent null
> 270 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
> getBundle(org.apache.axis,org.apache.axis.utils,resource,null,...)
> 270 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
> loadBundle: Ignoring MissingResourceException: Can't find bundle for
> base name org.apache.axis.utils.resource, locale de_DE
> 270 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
> loadBundle: Ignoring MissingResourceException: Can't find bundle for
> base name org.apache.axis.resource, locale de_DE
> 270 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  - Root
> package not found, cross link to org.apache.axis.i18n.resource
> 270 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  - Root
> package not found, cross link to org.apache.axis.i18n.resource
> 270 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
> org.apache.axis.i18n.resource::handleGetObject(engineConfigLoadFactory)
> 280 [main] DEBUG
> org.apache.axis.configuration.EngineConfigurationFactoryFinder  -
> Factory org.apache.axis.configuration.EngineConfigurationFactoryServlet
> Ignored: unable to load/resolve class.
> 280 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
> org.apache.axis.i18n.resource::handleGetObject(engineFactory)
> 280 [main] DEBUG
> org.apache.axis.configuration.EngineConfigurationFactoryFinder  - Got
> EngineFactory:
> org.apache.axis.configuration.EngineConfigurationFactoryDefault
> 290 [main] DEBUG org.apache.axis.AxisEngine  - Enter: AxisEngine::init
> 751 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
> org.apache.axis.i18n.resource::handleGetObject(attachEnabled)
> 771 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
> org.apache.axis.i18n.resource::handleGetObject(oddDigits00)
> 771 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
> org.apache.axis.i18n.resource::handleGetObject(badChars01)
> 991 [main] DEBUG org.apache.axis.AxisEngine  - Exit: AxisEngine::init
> 1001 [main] DEBUG org.apache.axis.i18n.ProjectResourceBundle  -
> org.apache.axis.i18n.resource::handleGetObject(noEndpoint)
>
>
> Feedback greatly appreciated.
>
> Thanks,
> Andreas
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org