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 Joerg Buchberger <li...@joerg-buchberger.de> on 2003/04/09 12:28:36 UTC

[newbie] FooSoapBindingSkeleton instantiation

Hi.

Assuming a webservice Foo that was created using wsdl2java (thus a class
FooSoapBindingSkeleton would be contained on the server-side):

If I'm not wrong, this is the process flow upon service call by some client:
AxisServlet -> AxisEngine/Server (...transport...provider) ->
myService/skeleton/impl ?
(Where the provider (e.g. RPCProvider) creates (or receives?) an instance of my
skeleton class. It finds the skeleton based on the classname which I provided
for my service in its xml-tag in "server-config.wsdd".)

Can someone point me to the class/source/method where the object of my
skeleton-class is actually created? 


Cheers.
Joerg


Re: [newbie] FooSoapBindingSkeleton instantiation

Posted by Joerg Buchberger <li...@joerg-buchberger.de>.
Alright. I guess I found it:

org.apache.axis.providers.java.makeNewServiceObject(MessageContext msgContext,
String clsName)
this method returns my skeleton class

org.apache.axis.util.cache.*
these classes create my skeleton instance and return it from cache on later
invocations

Cheers.
Joerg



Joerg Buchberger schrieb am 09.04.2003:
>Hi.
>
>Assuming a webservice Foo that was created using wsdl2java (thus a class
>FooSoapBindingSkeleton would be contained on the server-side):
>
>If I'm not wrong, this is the process flow upon service call by some client:
>AxisServlet -> AxisEngine/Server (...transport...provider) ->
>myService/skeleton/impl ?
>(Where the provider (e.g. RPCProvider) creates (or receives?) an instance of my
>skeleton class. It finds the skeleton based on the classname which I provided
>for my service in its xml-tag in "server-config.wsdd".)
>
>Can someone point me to the class/source/method where the object of my
>skeleton-class is actually created? 
>
>
>Cheers.
>Joerg
>