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 Glen Daniels <gd...@macromedia.com> on 2001/11/06 22:02:51 UTC

WSDD - proposed change

I'd like to make service deployment easier - WSDD is great (and simple!) in
a number of ways, but the whole service/provider configuration isn't one of
them.  Here's a proposed new scheme:

Instead of <provider> elements which sit inside the service element, we have
a service type attribute which is a QName:

<service name="MyService" type="java:RPC">

Preregistered ones include java:RPC, java:Message, java:EJB, and
axis:Handler.  New ones are pluggable.

Now the issue becomes getting provider-specific options in the right place.
The way the code works right now is that there is a single shared instance
of each type of provider, which pulls options from the Service itself, so I
propose we leave it that way -

<service name="MyService" type="java:RPC">
 <parameter name="className" value="glen.TestService"/>
 <parameter name="methodName" value="*"/>
 <parameter name="otherServiceSpecificOption" value="foo"/>
</service>

What do you think?

--Glen

Specifying Type information where SOAP has none

Posted by Steven Lewis <sm...@lordjoe.com>.
This may be a user question and if of I apologize for posing it to
this group.
I have been trying to call services from .NET - In these the type 
information is
in the WSDL but not the returned SOAP message. I was able to
set a property in the MessageContext called MessageContext.SERVICE_DESCRIPTION
and fill in information in the service description with typing information
The code which handled this has been removed and I am trying to find what 
the intent was in terms of adding type specification information.
Perhaps more important as a design question is that the current axis design 
hard codes the classes to be created in many critical places. The process 
by which
a critical handler may be subclassed and that subclass placed at the proper 
position in the handler chain is not clear.
==============================================================
LordJoe - Java Training and Consulting
http://www.LordJoe.com