They must be deployed as 2 separate operations.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Gill, John" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 27, 2003 11:33 AM
Subject: RE: Multiple Deployment problems


> Ok, can these two descriptors reside within the same xml document? Or must
> they be deployed as two separate operations?
> 
> John
> 
> -----Original Message-----
> From: Scott Nichol [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 26, 2003 8:44 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Multiple Deployment problems
> 
> John,
> 
> Each class containing service methods must have a unique namespace (the id
> attribute of isd:service).  This means you must deploy your 2 separate
> classes as separate namespaces within the webapp, e.g. you should use 2
> deployment descriptors, such as
> 
> <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment";
>              id="urn:WSServer">
>   <isd:provider type="java" scope="Request" methods="SubmitWS">
>     <isd:java class="org.one.ws.server" static="true"/>
>   </isd:provider>  
> </isd:service>
> 
> <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment";
>              id="urn:WS2Server">
>   <isd:provider type="java" scope="Request" methods="SubmitWS_2.0">
>     <isd:java class="org.one.ws2.server" static="true"/>
>   </isd:provider>
> </isd:service>
> 
> 
> Scott Nichol
> 
> Do not send e-mail directly to this e-mail address,
> because it is filtered to accept only mail from
> specific mail lists.
> ----- Original Message ----- 
> From: "Gill, John" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 26, 2003 4:48 PM
> Subject: Multiple Deployment problems
> 
> 
> > I know I'm doing this wrong, but I can't seem to find a good description
> of
> > how to do it right.
> > 
> > What I'm trying to do is deploy two different soap services within the
> same
> > web app, where the two different services are in different classes.  Am I
> > out of luck? Or just not trying correctly?  
> > 
> > <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment";
> >              id="urn:WSServer">
> >   <isd:provider type="java" scope="Request" methods="SubmitWS">
> >     <isd:java class="org.one.ws.server" static="true"/>
> >   </isd:provider>  
> >   <isd:provider type="java" scope="Request" methods="SubmitWS_2.0">
> >     <isd:java class="org.one.ws2.server" static="true"/>
> >   </isd:provider>
> > 
> > </isd:service>
> > 
> > 
>

Reply via email to