Hello Scott Nichol
Many mnay thanx for trying to help me but it still did not work
I will write all steps one by one
1. creted ejb jarfile which is attached below for the sample example
ejb_weblogic in soap apache
2 deployed in weblogic
3. modify the deployementdescriptor.xml file
4. from command prompt running a batch file
run.bat
set classpath=%classpath%;D:\work\SOPANEW\soap-2_3_1\lib\soap.jar;C:
\Documents and Settings\Rakesh\Desktop\AIS\ALLZIPS\activation.jar;C:
\bea\wlintegration2.1\lib\mail.jar;
set classpath=%classpath%;C:\bea\wlserver6.1\lib\weblogic.jar;c:
\bea\xerces.jar;
java org.apache.soap.server.ServiceManagerClient
http://localhost:7001/soap/servlet/rpcrouter deploy
DeploymentDescriptor.xml
4. As rpcservlet is working http://localhost:7001/soap/servlet/rpcrouter
O/P
SOAP RPC Router
Sorry, I don't speak via HTTP GET- you have to use HTTP POST to talk to me.
5. deployed through running abve Run.bat file
out put
Service Listing
Here are the deployed services (select one to see details)
urn:ejbhello
6. DeploymentDescriptor.xml (????do i need to modfiy the t3 prtocol
information incase of weblogic 6.1)
<?xml version="1.0"?>
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:ejbhello">
<isd:provider type="org.apache.soap.providers.StatefulEJBProvider"
scope="Application"
methods="create">
<isd:java class="SOAPHELLOJNDI"/>
<isd:option key="FullHomeInterfaceName" value
="work.soapPrg.HelloServiceHome" />
<isd:option key="ContextProviderURL" value="
t3://sitka.intraware.com:7081" />
<isd:option key="FullContextFactoryName" value
="weblogic.jndi.WLInitialContextFactory" />
</isd:provider>
<isd:faultListener>org.apache.soap.server.DOMFaultListener</isd:faultListener>
</isd:service>
7. the current error server side and client side.
SERVER SIDE
C:\bea\wlserver6.1>set PATH=.\bin;C:\Program Files\IBM\MQSeries\Java\Bin;C:
\Program Files\IBM\MQSeries\Java\Lib;c:\bea\jdk131\bin;C:\Program
Files\Common Files\WebGain Shared;C:\WebGain\VCafe\Jdk13\Bin;C:
\WebGain\VCafe\Bin;C:\WebGain\BEA\wlserver6.1sp1\bin;C:
\WebGain\QAnalyzer\bin;d:\WEB-SERVICES\bin;
C:\bea\wlserver6.1>set CLASSPATH=.;c:\bea\xerces.jar(ver 1.4.3) .;C:
\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\soap\WEB-INF\lib\soap.jar;.
\lib\weblogic_sp.jar;.\lib\weblogic.jar;
C:\bea\wlserver6.1>echo off
***************************************************
* To start WebLogic Server, use the password *
* assigned to the system user. The system *
* username and password must also be used to *
* access the WebLogic Server console from a web *
* browser. *
***************************************************
C:\bea\wlserver6.1>"C:\bea\jdk131\bin\java" -hotspot -ms64m -mx64m
-classpath ".;c:\bea\xerces.jar;C:
\bea\wlserver6.1\config\mydomain\applications\DefaultWebApp\soap\WEB-INF\lib\soap.jar;.
\lib\weblogic_sp.jar;.\lib\weblogic.jar;" -Dweblogic.Domain=mydomain
-Dweblogic.Name=myserver "-Dbea.home=C:\bea" -Dweblogic.management.password
= -Dweblogic.ProductionModeEnabled=true "-Djava.security.policy==C:
\bea\wlserver6.1/lib/weblogic.policy" weblogic.Server
<Aug 10, 2002 12:18:29 AM IST> <Info> <Security> <Getting boot password
from user.>
Enter password to boot WebLogic server:
Starting WebLogic Server ....
<Aug 10, 2002 12:18:33 AM IST> <Notice> <Management> <Loading configuration
file .\config\mydomain\config.xml ...>
<Aug 10, 2002 12:18:36 AM IST> <Notice> <WebLogicServer> <Starting WebLogic
Admin Server "myserver" for domain "mydomain">
<Aug 10, 2002 12:18:44 AM IST> <Notice> <Management> <Application Poller
not started for production server.>
<Aug 10, 2002 12:18:44 AM IST> <Notice> <WebLogicServer> <SSLListenThread
listening on port 7002>
<Aug 10, 2002 12:18:44 AM IST> <Notice> <WebLogicServer> <ListenThread
listening on port 7001>
<Aug 10, 2002 12:18:45 AM IST> <Notice> <Management> <Starting discovery of
Managed Server... This feature is on by default, you may turn this off by
passing -Dweblogic.management.discover=false>
<Aug 10, 2002 12:18:45 AM IST> <Notice> <WebLogicServer> <Started WebLogic
Admin Server "myserver" for domain "mydomain" running in Production Mode>
Naming Exception caught during InitialContext creation @
t3://sitka.intraware.com:7081
CLIENT SIDE
D:\work\soapPrg>java ejbtest http://localhost:7001/soap/servlet/rpcrouter
helloword
Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client; msg=A
'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must
contain a: 'faultcode' element.; targetEx
ception=java.lang.IllegalArgumentException: A
'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain a:
'faultcode' element.]
at org.apache.soap.rpc.Call.invoke(Call.java:294)
at ejbtest.main(ejbtest.java:124)
(See attached file: DeploymentDescriptor.xml)(See attached file:
ejbtest.java)(See attached file: HelloService.java)(See attached file:
HelloServiceBean.java)(See attached file: HelloServiceHome.java)(See
attached file: soapHello.jar)
Any help will be appreciated ..
thanx for spending your invaluable time
Kind Regards
rakesh
1:00 am past midnight
Scott Nichol
<snicholnews@scott To: [EMAIL PROTECTED]
nichol.com> cc:
Subject: Re: URGENT HELP REQUIRED
12/19/2002 07:42
PM
Please respond to
soap-user
See http://xml.apache.org/soap/faq/faq_chawke.html#Q1_1.
Scott Nichol
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 09, 2002 8:17 AM
Subject: URGENT HELP REQUIRED
>
> ----- Forwarded by Rakesh Kumar/KMGI on 08/09/2002 06:40 PM -----
>
>
> To:
> 08/09/2002 06:30 cc:
> PM
> Please respond to
> soap-user
>
>
>
>
>
>
>
>
>
> hello all
> When i am running sample example of ejb_weblogic . i have
deployed it
> in weblogic6.1 sp2( apache soap-2_3_1)
> when i am running client i am getting below error any help will be
> appreciated .. can anybody tell me where the problem lies. i have
tried
> all possible ways setting classpath for all jar. but still clue less
>
> i have successfully completed test for rpc router . it is working fine
.
>
> Million thanx in advance
> kind regrds
> raky
>
>
> D:\work\soapProg>java ejbtest
http://localhost:8080/soap/servlet/rpcrouter
> helloword
> Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Client;
msg=A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element
must
> contain a: 'faultcode' element.; targetEx
> ception=java.lang.IllegalArgumentException: A
> 'http://schemas.xmlsoap.org/soap/envelope/:Fault' element must contain
a:
> 'faultcode' element.]
> at org.apache.soap.rpc.Call.invoke(Call.java:294)
> at ejbtest.main(ejbtest.java:124)
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
DeploymentDescriptor.xml
Description: Binary data
ejbtest.java
Description: Binary data
HelloService.java
Description: Binary data
HelloServiceBean.java
Description: Binary data
HelloServiceHome.java
Description: Binary data
soapHello.jar
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
