I was looking for this feature. I want to configure
the services on the client side in the same way as is
done on the server. I tried this. I put .aar files and
loaded the configuration using the
FileBasedConfiguration loader. The problem is that
somewhere deep down, in the code that parses all the
service definition, there is a flag for isServerSide.
This flag by default is true and there's no way for
reseting this flag in the high level api. As a result
my out-in Operation is actually created as an in-out
operation.

The ServiceClient has a method which loads services
from a WSDL url. This method turns off the isServer
flag first and that's how the ServiceClient is able to
use the right MEP.

I want to preload services on the client side using
the configuration instead of loading from the WSDL
urls. 

One way to provide this would be to have a flag in the
config.xml  and have the ConfigurationLoader pass this
down to the Service Factory that loads the services.

Any comments? 

-Sandeep

--- "Jeff Barrett (JIRA)" <[EMAIL PROTECTED]> wrote:

>      [
>
http://issues.apache.org/jira/browse/AXIS2-1183?page=all
> ]
> 
> Jeff Barrett updated AXIS2-1183:
> --------------------------------
> 
>     Attachment: 1183_patch.txt
> 
> Fixed per Description.
> 
> > Client-side metadata improvements to create
> service and use fully qualified service name
> >
>
----------------------------------------------------------------------------------------
> >
> >                 Key: AXIS2-1183
> >                 URL:
> http://issues.apache.org/jira/browse/AXIS2-1183
> >             Project: Apache Axis 2.0 (Axis2)
> >          Issue Type: Improvement
> >          Components: jaxws
> >            Reporter: Jeff Barrett
> >         Attachments: 1183_patch.txt
> >
> >
> > The client-side metadata layer needs to create a
> named service (not an anonymout service) on which to
> hang additional service-specific client side
> configuration.  The name of the service should be
> the fully qualified service QName.  Additionally, a
> method needs to be added to the
> ConfigurationFactoryBuilder to allow a newly created
> service to be passed in for any final client-side
> configuration to be added.
> > I am working on a patch for this and will submit
> it shortly.
> 
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of
> the administrators:
>
http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
> 
>         
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to