I know that The wsdd Deployment Descriptor and the wsdl Description Language
cannot disagree
The WSDL will mirror all information specified from the wsdd
Here is an example (from GetQuote) first the deploy.wsdd (to deploy the
service)
<service name="urn:xmltoday-delayed-quotes" provider="java:RPC">
<parameter name="className" value="samples.stock.StockQuoteService"/>
<!--parameter name="allowedMethods" value="getQuote test"/-->
<parameter name="allowedMethods" value="getQuote"/>
<parameter name="allowedRoles" value="user1,user2"/>
<parameter name="wsdlServicePort" value="GetQuote"/>
Notice the port specification parameter <parameter
name="wsdlServicePort" value="GetQuote"/>
to look at the wsdl for the individual service
<portType name="GetQuote">
<operation name="getQuote" >
<input message="tns:GetQuoteRequest"/>
<output message="tns:GetQuoteResponse"/>
</operation>
<operation name="test" >
<input message="tns:testRequest"/>
<output message="tns:testResponse"/>
</operation>
</portType>
Have you noticed that the Request and Response for each method test as well
as getQuote are specified here
Does this help you?
Viel Gluck,
Martin --
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[email protected]>; "'Martin Gainty'" <[EMAIL PROTECTED]>
Sent: Sunday, May 21, 2006 2:47 PM
Subject: AW: Path from the webapp
I think, there is no special in my service implementation.
Works the interface for you also in the implementation class?
Need I additional configurations in the server-config.wsdd?
My ant task:
<axis-wsdl2java url="${local.wsdl}"
output="${src}"
testcase="false"
deployscope="session"
serverside="true"
skeletonDeploy="true"
implementationclassname="com.name.ServiceImpl"
noimports="false">
<mapping...
</axis-wsdl2java>
-----Ursprüngliche Nachricht-----
Von: Martin Gainty [mailto:[EMAIL PROTECTED]
Gesendet: Sonntag, 21. Mai 2006 20:32
An: [EMAIL PROTECTED]; [email protected]
Betreff: Re: Path from the webapp
Could you explain How your implementation differ from regular AxisServlet
service?
Martin -
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed. If you have received this email message in error, please
notify
the sender immediately by telephone or email and destroy the original
message without making a copy. Thank you.
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[email protected]>; "'Martin Gainty'" <[EMAIL PROTECTED]>
Sent: Sunday, May 21, 2006 10:19 AM
Subject: AW: Path from the webapp
Sorry, I don't understand your solution.
My problem is that the service lifecycle methods are called within axis.
This is the case for the skeleton class but not for my implementation
class.
> Question :
> Instead of calling AxisServlet init method directly Could you achieve
the
> same result by passing in the requisite initialisation parameters in
> web.xml?
>
> Viel Gluck,
> Martin --
>
> This email message and any files transmitted with it contain
confidential
> information intended only for the person(s) to whom this email message
is
> addressed. If you have received this email message in error, please
> notify
> the sender immediately by telephone or email and destroy the original
> message without making a copy. Thank you.
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Sunday, May 21, 2006 8:57 AM
> Subject: AW: Path from the webapp
>
>
> Hi,
>
> first thanks for your help but I have still problems with this.
>
> First I think you meant the javax.xml.rpc.server.ServiceLifecycle
> and not the ServletLifecycle interface?
>
> I tried now code like this
> http://forum.java.sun.com/thread.jspa?forumID=331&threadID=621841.
>
> The big problem is, that the init Method is never called. I am using
> Tomcat
> 5.0.28. I tried several version of Apache Axis 1.x including 1.4 Final.
>
> This problem keeps me busy now more than 3 hours and I'm too stupid to
> find
> a solution. That's why, please help me.
>
> I also tried to add this class as listener in web.xml?!
>
> In an handler class this is no problem but in a service class....
>
> Additional hints for me?
>
> Regards,
> Ralph
>
> > -----Ursprüngliche Nachricht-----
> > Von: Dies Koper [mailto:[EMAIL PROTECTED]
> > Gesendet: Donnerstag, 18. Mai 2006 12:01
> > An: [email protected]
> > Betreff: Re: Path from the webapp
> >
> > Hello Ralph,
> >
> > Check out the JAX-RPC spec.
> > You can get to the servlet context by implementing the
ServletLifecycle
> > interface in your implementation class.
> >
> > Regards,
> > Dies
> >
> > [EMAIL PROTECTED] wrote:
> > > Hi,
> > >
> > > I use Axis 1.4.
> > >
> > > In the axis web app I have a directory 'update'.
> > > In my service implementation I want to read the files in the
> directory.
> > > String directory = ...;
> > > File file = new File(directory);
> > >
> > > The first problem is how I can get the string directory dynamically
> from
> > the
> > > xxxServiceBindingImplementation. I have no servlet context there.
> > > I need the directory in the form like d://tomcat/webapps/update.
> > >
> > > Another problem:
> > > Can I get the url from the xxxServiceBindingImplementation for
> instance:
> > > http://localhost:8080/myapp?
> > >
> > > Can anybody help me?
> > >
> > > Thanks!
> > >
> > > Regards,
> > > Ralph
>
>
> ---------------------------------------------------------------------
> 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]
---------------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]