You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Saint-Martin Cécile <cs...@symetrx.com> on 2001/05/02 11:54:23 UTC
Re: SOAP and EJBs
We have done this with tomcat, give your deployment descriptor..
Cécile Saint-Martin
csaintmartin@symetrx.com
----- Original Message -----
From: "Nicholas Taylor" <Ni...@stilo.com>
To: <so...@xml.apache.org>
Sent: Monday, April 30, 2001 3:47 PM
Subject: SOAP and EJBs
> I'm trying to deploy a SOAP-EJB adapter which takes soap requests from web
> clients and forwards them to an EJB which does the business stuff. I can't
> find much written about this apart from an article at TheServerSide
> (http://www2.theserverside.com/resources/soapandejb1.jsp) which uses
> WebSphere as the deployement environment...i'm using Tomcat 3.2.1 (with
SOAP
> 2.1).
> If anybody has done this with Tomcat I'd be very interested in seeing the
> deployement descriptor you used cause I don't seem to be able to get past
> this error on the client side:
>
> Call failed:
> Fault Code = SOAP-ENV:Server.BadTargetObjectURI
> Fault String = Unable to resolve target object:
> Fault = [Attributes={}] [faultCode=SOAP-ENV:Server.BadTargetObjectURI]
> [faultString=Unable to resolve target object: ]
> [faultActorURI=/soap/servlet/rpcrouter]
> [DetailEntries=] [FaultEntries=]
>
> Cheers
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: SOAP and EJBs
Posted by Saint-Martin Cécile <cs...@symetrx.com>.
I tried your dd and i had no error.
You should download last version of Apache SOAP.
Cécile Saint-Martin
csaintmartin@symetrx.com
----- Original Message -----
From: "Harshad Nanal" <ha...@mahindrabt.com>
To: <so...@xml.apache.org>
Sent: Thursday, May 03, 2001 1:49 PM
Subject: Re: SOAP and EJBs
> I am trying the same thing with weblogic 5.2 server ( set up is correct
> and tested with addressbook example)
> When i try to deploy the service i get following error on the command
> prompt
>
> D:\soap20\samples\ejb>java org.apache.soap.server.ServiceManagerClient
> http://lo
> calhost:8080/soap/servlet/rpcrouter deploy dd.xml
> Exception in thread "main" java.lang.IllegalArgumentException: invalid
> value for
> type or scope or methods attribute in provider element of deployment
> descriptor
> at
> org.apache.soap.server.DeploymentDescriptor.fromXML(DeploymentDescrip
> tor.java:317)
> at
> org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
> .java:188)
>
>
> dd.xml is
> <?xml version="1.0"?>
> <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
> id="urn:testprovider">
> <isd:provider type="org.apache.soap.providers.StatelessEJBProvider"
> scope="Session" methods="create">
> <isd:java class="HelloService"/>
> <isd:option key="FullHomeInterfaceName" value="HelloServiceHome"/>
> <isd:option key="ContextProviderURL" value="t3://localhost:8080"/>
> <isd:option key="FullContextFactoryName"
> value="weblogic.jndi.WLInitialContextFactory"/>
> </isd:provider>
>
>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListene
r>
> </isd:service>
>
> I have also tried with isd:provider scope as Application / Session /
> Request the error is same.
>
> There is no log on the weblogic server side.
> Please Help
> Harshad
>
>
>
> Saint-Martin Cécile wrote:
> >
> > We have done this with tomcat, give your deployment descriptor..
> >
> > Cécile Saint-Martin
> > csaintmartin@symetrx.com
----------------------------------------------------------------------------
----
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: SOAP and EJBs
Posted by Saint-Martin Cécile <cs...@symetrx.com>.
I tried your dd and i had no error.
You should download last version of Apache SOAP.
Cécile Saint-Martin
csaintmartin@symetrx.com
----- Original Message -----
From: "Harshad Nanal" <ha...@mahindrabt.com>
To: <so...@xml.apache.org>
Sent: Thursday, May 03, 2001 1:49 PM
Subject: Re: SOAP and EJBs
> I am trying the same thing with weblogic 5.2 server ( set up is correct
> and tested with addressbook example)
> When i try to deploy the service i get following error on the command
> prompt
>
> D:\soap20\samples\ejb>java org.apache.soap.server.ServiceManagerClient
> http://lo
> calhost:8080/soap/servlet/rpcrouter deploy dd.xml
> Exception in thread "main" java.lang.IllegalArgumentException: invalid
> value for
> type or scope or methods attribute in provider element of deployment
> descriptor
> at
> org.apache.soap.server.DeploymentDescriptor.fromXML(DeploymentDescrip
> tor.java:317)
> at
> org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
> .java:188)
>
>
> dd.xml is
> <?xml version="1.0"?>
> <isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
> id="urn:testprovider">
> <isd:provider type="org.apache.soap.providers.StatelessEJBProvider"
> scope="Session" methods="create">
> <isd:java class="HelloService"/>
> <isd:option key="FullHomeInterfaceName" value="HelloServiceHome"/>
> <isd:option key="ContextProviderURL" value="t3://localhost:8080"/>
> <isd:option key="FullContextFactoryName"
> value="weblogic.jndi.WLInitialContextFactory"/>
> </isd:provider>
>
>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListene
r>
> </isd:service>
>
> I have also tried with isd:provider scope as Application / Session /
> Request the error is same.
>
> There is no log on the weblogic server side.
> Please Help
> Harshad
>
>
>
> Saint-Martin Cécile wrote:
> >
> > We have done this with tomcat, give your deployment descriptor..
> >
> > Cécile Saint-Martin
> > csaintmartin@symetrx.com
----------------------------------------------------------------------------
----
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
> For additional commands, email: soap-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
Re: SOAP and EJBs
Posted by Harshad Nanal <ha...@mahindrabt.com>.
I am trying the same thing with weblogic 5.2 server ( set up is correct
and tested with addressbook example)
When i try to deploy the service i get following error on the command
prompt
D:\soap20\samples\ejb>java org.apache.soap.server.ServiceManagerClient
http://lo
calhost:8080/soap/servlet/rpcrouter deploy dd.xml
Exception in thread "main" java.lang.IllegalArgumentException: invalid
value for
type or scope or methods attribute in provider element of deployment
descriptor
at
org.apache.soap.server.DeploymentDescriptor.fromXML(DeploymentDescrip
tor.java:317)
at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:188)
dd.xml is
<?xml version="1.0"?>
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:testprovider">
<isd:provider type="org.apache.soap.providers.StatelessEJBProvider"
scope="Session" methods="create">
<isd:java class="HelloService"/>
<isd:option key="FullHomeInterfaceName" value="HelloServiceHome"/>
<isd:option key="ContextProviderURL" value="t3://localhost:8080"/>
<isd:option key="FullContextFactoryName"
value="weblogic.jndi.WLInitialContextFactory"/>
</isd:provider>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
</isd:service>
I have also tried with isd:provider scope as Application / Session /
Request the error is same.
There is no log on the weblogic server side.
Please Help
Harshad
Saint-Martin Cécile wrote:
>
> We have done this with tomcat, give your deployment descriptor..
>
> Cécile Saint-Martin
> csaintmartin@symetrx.com
Re: SOAP and EJBs
Posted by Harshad Nanal <ha...@mahindrabt.com>.
I am trying the same thing with weblogic 5.2 server ( set up is correct
and tested with addressbook example)
When i try to deploy the service i get following error on the command
prompt
D:\soap20\samples\ejb>java org.apache.soap.server.ServiceManagerClient
http://lo
calhost:8080/soap/servlet/rpcrouter deploy dd.xml
Exception in thread "main" java.lang.IllegalArgumentException: invalid
value for
type or scope or methods attribute in provider element of deployment
descriptor
at
org.apache.soap.server.DeploymentDescriptor.fromXML(DeploymentDescrip
tor.java:317)
at
org.apache.soap.server.ServiceManagerClient.main(ServiceManagerClient
.java:188)
dd.xml is
<?xml version="1.0"?>
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:testprovider">
<isd:provider type="org.apache.soap.providers.StatelessEJBProvider"
scope="Session" methods="create">
<isd:java class="HelloService"/>
<isd:option key="FullHomeInterfaceName" value="HelloServiceHome"/>
<isd:option key="ContextProviderURL" value="t3://localhost:8080"/>
<isd:option key="FullContextFactoryName"
value="weblogic.jndi.WLInitialContextFactory"/>
</isd:provider>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
</isd:service>
I have also tried with isd:provider scope as Application / Session /
Request the error is same.
There is no log on the weblogic server side.
Please Help
Harshad
Saint-Martin Cécile wrote:
>
> We have done this with tomcat, give your deployment descriptor..
>
> Cécile Saint-Martin
> csaintmartin@symetrx.com