You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Carrion, Fabien (GE, Corporate, consultant)" <fa...@ge.com> on 2006/12/08 22:37:19 UTC

org.apache.axis.client.ServiceFactory.getObjectInstance

Hi,

I'm currently implementing the service-ref tag in the tomcat application server.
The architecture of the implementation of a resource tag (like service-ref, ejb,...) is to do a class which is going to call the ServiceFactory.getObjectInstance. In the case of Axis it is org.apache.axis.client.ServiceFactory.getObjectInstance. And I saw this class. So I have some questions about its behaviour (I'm sorry I haven't find any documentation but the source...)

I can see the association only for the following : 

"web-app/service-ref/service-interface" is SERVICE_CLASSNAME
"web-app/service-ref/wsdl-file" is WSDL_LOCATION
"web-app/service-ref/service-qname/namespaceURI" is SERVICE_NAMESPACE
"web-app/service-ref/service-qname/localpart" is SERVICE_LOCAL_PART

I don't know what is MAINTAIN_SESSION, SERVICE_IMPLEMENTATION_NAME_PROPERTY correspondance in service-ref declaration.

I haven't find :

"web-app/service-ref/jaxrpc-mapping-file"
"web-app/service-ref/port-component-ref/service-endpoint-interface"
"web-app/service-ref/port-component-ref/port-component-link"
"web-app/service-ref/handler"

Is it implemented ? Is it going to be implemented ? Especialy about the handlers and the jaxrpc-mapping-file, which are used during a web service configuration.

I hope you can help me a little bit :)
Thanks and regards

Fabien Carrion
Parque Tecnopolo
Carr. Positos Jesús María
Lote: 7
Junto al ITESM (campus Ags.)
Municipio: Jesús María, Ags. Mexico.
Phone: 011 52(449)910-9232
Dial comm: *879-9232
http://supportcentral.ge.com/products/sup_products.asp?prod_id=18712
http://fabien.carrion.free.fr

IMPORTANT: The documents and files attached to this transmission contain confidential information that must be kept secret by law. This information is for the exclusive use of the specified recipient whose name appears in this transmission. If you have received this message by mistake, please notify us immediately by return e-mail and delete the file and its attachments. You are hereby notified that any dissemination, copying, distribution or adoption of any action arising from the confidential information contained herein is strictly prohibited. Any violation will be penalized by law.



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


Re: org.apache.axis.client.ServiceFactory.getObjectInstance

Posted by Guillaume Sauthier <Gu...@objectweb.org>.
Hi Fabien

Service-ref is part of the JSR 109 specification.
This is not implemented directly by Axis 1.X.

Only J2EE 1.4 Application Server (like JOnAS) have implemented that spec 
(including jaxrpc-mapping-file and others ...)

BTW, in order to support jaxrpc-mapping file, you need to use Apche EWS 
(http://ws.apache.org/ews)

Regards
Guillaume

Carrion, Fabien (GE, Corporate, consultant) wrote:
> Hi,
>
> I'm currently implementing the service-ref tag in the tomcat application server.
> The architecture of the implementation of a resource tag (like service-ref, ejb,...) is to do a class which is going to call the ServiceFactory.getObjectInstance. In the case of Axis it is org.apache.axis.client.ServiceFactory.getObjectInstance. And I saw this class. So I have some questions about its behaviour (I'm sorry I haven't find any documentation but the source...)
>
> I can see the association only for the following : 
>
> "web-app/service-ref/service-interface" is SERVICE_CLASSNAME
> "web-app/service-ref/wsdl-file" is WSDL_LOCATION
> "web-app/service-ref/service-qname/namespaceURI" is SERVICE_NAMESPACE
> "web-app/service-ref/service-qname/localpart" is SERVICE_LOCAL_PART
>
> I don't know what is MAINTAIN_SESSION, SERVICE_IMPLEMENTATION_NAME_PROPERTY correspondance in service-ref declaration.
>
> I haven't find :
>
> "web-app/service-ref/jaxrpc-mapping-file"
> "web-app/service-ref/port-component-ref/service-endpoint-interface"
> "web-app/service-ref/port-component-ref/port-component-link"
> "web-app/service-ref/handler"
>
> Is it implemented ? Is it going to be implemented ? Especialy about the handlers and the jaxrpc-mapping-file, which are used during a web service configuration.
>
> I hope you can help me a little bit :)
> Thanks and regards
>
> Fabien Carrion
> Parque Tecnopolo
> Carr. Positos Jes�s Mar�a
> Lote: 7
> Junto al ITESM (campus Ags.)
> Municipio: Jes�s Mar�a, Ags. Mexico.
> Phone: 011 52(449)910-9232
> Dial comm: *879-9232
> http://supportcentral.ge.com/products/sup_products.asp?prod_id=18712
> http://fabien.carrion.free.fr
>
> IMPORTANT: The documents and files attached to this transmission contain confidential information that must be kept secret by law. This information is for the exclusive use of the specified recipient whose name appears in this transmission. If you have received this message by mistake, please notify us immediately by return e-mail and delete the file and its attachments. You are hereby notified that any dissemination, copying, distribution or adoption of any action arising from the confidential information contained herein is strictly prohibited. Any violation will be penalized by law.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-dev-help@ws.apache.org
>
>
>