local transport is not working
------------------------------

                 Key: XFIRE-714
                 URL: http://jira.codehaus.org/browse/XFIRE-714
             Project: XFire
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2.2
         Environment: Spring 1.2.8, Xfire 1.2.2
            Reporter: Jara Cesnek
         Assigned To: Dan Diephouse


Definition of working webservice from another application server :

@WebService(name="mcdas",serviceName="mcdas",targetNamespace="http://mcdas.ws.daisy.marbes.cz";)
@SOAPBinding(style=SOAPBinding.Style.DOCUMENT,use=SOAPBinding.Use.LITERAL,parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
public class MergedMidas implements  WSIMergedMidas{
...
}

non-working call code from inside server

Service serviceModel = new ObjectServiceFactory().create(WSIMergedMidas.class);
return (WSIMergedMidas) new 
XFireProxyFactory().create(serviceModel,"xfire.local://mcdas");

Always result in exception :

2006-10-17 16:01:05,623 ERROR http-8090-Processor3:pubal [DefaultFaultHandler] 
Could not find service.
org.codehaus.xfire.fault.XFireFault: Could not find a service to invoke.
        at 
org.codehaus.xfire.handler.LocateBindingHandler.invoke(LocateBindingHandler.java:39)
        at 
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
        at 
org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64)
        at 
org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38)
        at 
org.codehaus.xfire.transport.local.LocalChannel.sendViaNewChannel(LocalChannel.java:172)
        at 
org.codehaus.xfire.transport.local.LocalChannel.send(LocalChannel.java:99)
        at 
org.codehaus.xfire.handler.OutMessageSender.invoke(OutMessageSender.java:26)
        at 
org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131)
        at org.codehaus.xfire.client.Invocation.invoke(Invocation.java:75)
        at org.codehaus.xfire.client.Client.invoke(Client.java:335)
        at 
org.codehaus.xfire.client.XFireProxy.handleRequest(XFireProxy.java:77)
        at org.codehaus.xfire.client.XFireProxy.invoke(XFireProxy.java:57)
        at $Proxy28.execOW(Unknown Source)
        at 
cz.marbes.daisy.sysmodules.kernel3.AsynchTools.asynchCall(AsynchTools.java:29)

This bug will not be Major if I know easy way how to get my own http:// address 
(same as in wsdl <wsdlsoap:address location="http://..."/>)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to