I have the same problem. I copied the night-built lib to the
/web-inf/lib and tried to deploy a service and I got 404 error. Could
someone tell me how to fix it?

-Henry

>>> [EMAIL PROTECTED] 6/25/2004 7:48:36 AM >>>
I have the same problem. I copied the night-built lib to the
/web-inf/lib and tried to deploy a service and I got 404 error. Could
someone tell me how to fix it?

-Henry

>>> [EMAIL PROTECTED] 6/24/2004 1:07:04 AM >>>
Found its the AdminClient problem.. thanks!
Stanly
 
-----Original Message-----
From: Dhanush Gopinath [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 24, 2004 12:47 PM
To: [EMAIL PROTECTED] 
Subject: Re: Problem deploying Service
 
After copying the Dir structure  .. have you run the AdmiClient ?
 
If not then do that ...
 
If still the problem persists try copying the deploy.wsdd of ur
service
(from <service> to </service>) and paste it in the server-config.wsdd.
 
This is bcos in some cases the the AdminClient won't work. .. 
 
Dhanush
----- Original Message ----- 
From: David <mailto:[EMAIL PROTECTED]>  Song 
To: [EMAIL PROTECTED] 
Sent: Wednesday, June 23, 2004 10:48 PM
Subject: RE: Problem deploying Service
 
I should be clear in my problem statement.  I have trouble deploying
the
service after generating all the java files from WSDL2Java.  It
generates the package structure, and I copied the directory structure
to
"axis/WEB-INF/classes" but Axis still cannot find the service.
 
Thanks for your help!
David
 
-----Original Message-----
From: Dhanush Gopinath [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 22, 2004 11:45 PM
To: [EMAIL PROTECTED] 
Subject: Re: Problem deploying Service
 
AdminClient doesnt deploy your classes.
The classes must be copied to the correct directory structure ..
/webapps/classes  under  Axis for eg. 
 
Adminclient will deploy your deployment descriptor file (deploy.wsdd)
.
In short the details of ur service will be copied on to the
server-config.wsdd file. 
 
Once this is done u must copy the classes to the correct dir
structure.
 
Cheers 
Dhanush
----- Original Message ----- 
From: David Song <mailto:[EMAIL PROTECTED]>  
To: [EMAIL PROTECTED] 
Sent: Tuesday, June 22, 2004 11:45 PM
Subject: Problem deploying Service
 
I used the AdminClient to deploy a custom service.  It wrote to the
"server-config.wsdd" correctly, but when I invoke the service it gave
the following error message:

org.apache.axis.ConfigurationException: Could not find class for the
service named: FooService
Hint: you may need to copy your class files/tree into the right
location
(which depends on the servlet system you are using).; nested exception

Where does the "AdminClient" deposit the .class file for the service?

Thanks!
David
-----Original Message-----
From: Davanum Srinivas [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 22, 2004 8:17 AM
To: [EMAIL PROTECTED] 
Subject: Re: Collection,WS-I compliant file and wscompile

Edited the wsdl file by hand slightly....let me know if this works.

-- dims

On Tue, 22 Jun 2004 11:10:00 +0200, Pascal Prioux <[EMAIL PROTECTED]>
wrote:
> 
> Hi,
> I've downloaded the nightly build (22/06/2004)
> 
> I've always the same error with the wscompile tools bundled with
JMESDK 2.1
> from sun
> 
> All works fine now expect witch  method wich returns a collection of
objects
> 
> The wscompile tools say that the soapenc is not "namespaced" and
it's
true
> the wsdl generated by axis by the following ant task generate a bad
wsdl
> file
> Here is the wsdl error:
> 
>    <complexType name="ArrayOf_tns2_anyType">
>     <complexContent>
>      <restriction base="soapenc:Array">
>       <attribute ref="soapenc:arrayType"
wsdl:arrayType="tns2:anyType[]"/>
>      </restriction>
>     </complexContent>
>    </complexType>
> 
> Thanks for your help ...
> 
> Ant Task:
> 
>  <axis-java2wsdl
> 
>
output="${java.local.projects.webapps.dir}/${application.name}/${applica
tion
>
.name}${java.local.webapps.application.name.web.suffix}/${java.local.web
.dep
> loy.service.config.reldir}/${application.name}-doc.wsdl"
> 
>
location="http://${location.host.name}.${location.host.domain.name}:${lo
<http://$%7blocation.host.name%7d.$%7blocation.host.domain.name%7d:$%7bl


o> 
cati
> on.host.port}/${application.name}${location.host.service.url}"
> 
>
classname="enitab.webapps.${application.name}.web.controller.soap.Soap${
appl
> ication.class.name}Session"
>   namespace="urn:${application.name}-rpc-service"
>   style="wrapped"
>   use="literal"
>    >
> 
>   <complextype
>
classname="enitab.tools.server.entreprise.control.event.ESTLoginEvent"
>       namespace="event.control.entreprise.server.tools.enitab" />
> 
>   <complextype
>
classname="enitab.tools.server.entreprise.control.event.ESTLogoutEvent"
>       namespace="event.control.entreprise.server.tools.enitab" />
>     </axis-java2wsdl>
> 
> the wsdl generated:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <wsdl:definitions targetNamespace="urn:jmeprovisioning-rpc-service"
> xmlns:apachesoap="http://xml.apache.org/xml-soap";
> xmlns:impl="urn:jmeprovisioning-rpc-service"
> xmlns:intf="urn:jmeprovisioning-rpc-service"
> xmlns:tns1="http://schemas.xmlsoap.org/soap/encoding/";
> xmlns:tns2="http://www.w3.org/1999/XMLSchema";
> xmlns:tns3="event.control.entreprise.server.tools.enitab"
> xmlns:tns4="http://event.control.entreprise.server.tools.enitab";
> xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
> xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/";
> xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> <!--WSDL created by Apache Axis version: 1.2beta
> Built on Jun 22, 2004 (12:02:22 PDT)-->
>  <wsdl:types>
>   <schema elementFormDefault="qualified"
> targetNamespace="urn:jmeprovisioning-rpc-service"
> xmlns="http://www.w3.org/2001/XMLSchema";>
>    <import
namespace="event.control.entreprise.server.tools.enitab"/>
>    <import
namespace="http://event.control.entreprise.server.tools.enitab"/>
>    <element name="loadMIDPRecordStore">
>     <complexType>
>      <sequence>
>       <element name="_recordStoreIdentifier" type="tns1:string"/>
>      </sequence>
>     </complexType>
>    </element>
>    <element name="loadMIDPRecordStoreResponse">
>     <complexType/>
>    </element>
>    <element name="getVectorOfMIDPRecordStoreRecord">
>     <complexType>
>      <sequence>
>       <element name="_startRecordIndex" type="tns1:int"/>
>       <element name="_endRecordIndex" type="tns1:int"/>
>      </sequence>
>     </complexType>
>    </element>
>    <element name="getVectorOfMIDPRecordStoreRecordResponse">
>     <complexType>
>      <sequence>
>       <element name="getVectorOfMIDPRecordStoreRecordReturn"
> type="impl:ArrayOf_tns2_anyType"/>
>      </sequence>
>     </complexType>
>    </element>
>    <complexType name="ArrayOf_tns2_anyType">
>     <complexContent>
>      <restriction base="soapenc:Array">
>       <attribute ref="soapenc:arrayType"
wsdl:arrayType="tns2:anyType[]"/>
>      </restriction>
>     </complexContent>
>    </complexType>
>    <element name="getMIDPDataLenth">
>     <complexType/>
>    </element>
>    <element name="getMIDPDataLenthResponse">
>     <complexType>
>      <sequence>
>       <element name="getMIDPDataLenthReturn" type="xsd:long"/>
>      </sequence>
>     </complexType>
>    </element>
>    <element name="getMIDPRecordCount">
>     <complexType/>
>    </element>
>    <element name="getMIDPRecordCountResponse">
>     <complexType>
>      <sequence>
>       <element name="getMIDPRecordCountReturn" type="xsd:long"/>
>      </sequence>
>     </complexType>
>    </element>
>    <element name="login">
>     <complexType>
>      <sequence>
>       <element name="_loginEvent" type="tns3:ESTLoginEvent"/>
>      </sequence>
>     </complexType>
>    </element>
>    <element name="loginResponse">
>     <complexType/>
>    </element>
>    <element name="logout">
>     <complexType/>
>    </element>
>    <element name="logoutResponse">
>     <complexType/>
>    </element>
>    <element name="initSession">
>     <complexType>
>      <sequence>
>       <element name="_clientApplicationName" type="tns1:string"/>
>      </sequence>
>     </complexType>
>    </element>
>    <element name="initSessionResponse">
>     <complexType>
>      <sequence>
>       <element name="initSessionReturn" type="tns1:string"/>
>      </sequence>
>     </complexType>
>    </element>
>    <element name="setSessionTimeOut">
>     <complexType>
>      <sequence>
>       <element name="_sessionTimeOut" type="tns1:int"/>
>      </sequence>
>     </complexType>
>    </element>
>    <element name="setSessionTimeOutResponse">
>     <complexType/>
>    </element>
>    <element name="sendMail">
>     <complexType>
>      <sequence>
>       <element name="_toEMailAddress" type="tns1:string"/>
>       <element name="_fromEMailAddress" type="tns1:string"/>
>       <element name="_fromPersonalEMailAddress" type="tns1:string"/>
>       <element name="_subject" type="tns1:string"/>
>       <element name="_body" type="tns1:string"/>
>       <element name="_synchronousMode" type="tns1:boolean"/>
>      </sequence>
>     </complexType>
>    </element>
>    <element name="sendMailResponse">
>     <complexType/>
>    </element>
>   </schema>
>   <schema elementFormDefault="qualified"
>
targetNamespace="http://event.control.entreprise.server.tools.enitab";
> xmlns="http://www.w3.org/2001/XMLSchema";>
>    <import
namespace="event.control.entreprise.server.tools.enitab"/>
>    <import namespace="urn:jmeprovisioning-rpc-service"/>
>    <complexType name="ESTServerEventSupport">
>     <sequence>
>      <element name="eventName" nillable="true" type="tns1:string"/>
>     </sequence>
>    </complexType>
>   </schema>
>   <schema elementFormDefault="qualified"
> targetNamespace="event.control.entreprise.server.tools.enitab"
> xmlns="http://www.w3.org/2001/XMLSchema";>
>    <import namespace="urn:jmeprovisioning-rpc-service"/>
>    <import
namespace="http://event.control.entreprise.server.tools.enitab"/>
>    <complexType name="ESTLoginEvent">
>     <complexContent>
>      <extension base="tns4:ESTServerEventSupport">
>       <sequence>
>        <element name="identifier" nillable="true"
type="tns1:string"/>
>        <element name="password" nillable="true" type="tns1:string"/>
>       </sequence>
>      </extension>
>     </complexContent>
>    </complexType>
>   </schema>
>  </wsdl:types>
> 
>    <wsdl:message name="getVectorOfMIDPRecordStoreRecordResponse">
> 
>       <wsdl:part
element="impl:getVectorOfMIDPRecordStoreRecordResponse"
> name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="sendMailRequest">
> 
>       <wsdl:part element="impl:sendMail" name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="loadMIDPRecordStoreResponse">
> 
>       <wsdl:part element="impl:loadMIDPRecordStoreResponse"
> name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="getVectorOfMIDPRecordStoreRecordRequest">
> 
>       <wsdl:part element="impl:getVectorOfMIDPRecordStoreRecord"
> name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="getMIDPDataLenthRequest">
> 
>       <wsdl:part element="impl:getMIDPDataLenth" name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="getMIDPRecordCountResponse">
> 
>       <wsdl:part element="impl:getMIDPRecordCountResponse"
> name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="setSessionTimeOutRequest">
> 
>       <wsdl:part element="impl:setSessionTimeOut"
name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="loginRequest">
> 
>       <wsdl:part element="impl:login" name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="getMIDPRecordCountRequest">
> 
>       <wsdl:part element="impl:getMIDPRecordCount"
name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="sendMailResponse">
> 
>       <wsdl:part element="impl:sendMailResponse" name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="setSessionTimeOutResponse">
> 
>       <wsdl:part element="impl:setSessionTimeOutResponse"
> name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="logoutResponse">
> 
>       <wsdl:part element="impl:logoutResponse" name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="initSessionRequest">
> 
>       <wsdl:part element="impl:initSession" name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="loadMIDPRecordStoreRequest">
> 
>       <wsdl:part element="impl:loadMIDPRecordStore"
name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="logoutRequest">
> 
>       <wsdl:part element="impl:logout" name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="initSessionResponse">
> 
>       <wsdl:part element="impl:initSessionResponse"
name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="getMIDPDataLenthResponse">
> 
>       <wsdl:part element="impl:getMIDPDataLenthResponse"
name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:message name="loginResponse">
> 
>       <wsdl:part element="impl:loginResponse" name="parameters"/>
> 
>    </wsdl:message>
> 
>    <wsdl:portType name="SoapJMEProvisioningSession">
> 
>       <wsdl:operation name="loadMIDPRecordStore">
> 
>          <wsdl:input message="impl:loadMIDPRecordStoreRequest"
> name="loadMIDPRecordStoreRequest"/>
> 
>          <wsdl:output message="impl:loadMIDPRecordStoreResponse"
> name="loadMIDPRecordStoreResponse"/>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="getVectorOfMIDPRecordStoreRecord">
> 
>          <wsdl:input
message="impl:getVectorOfMIDPRecordStoreRecordRequest"
> name="getVectorOfMIDPRecordStoreRecordRequest"/>
> 
>          <wsdl:output
> message="impl:getVectorOfMIDPRecordStoreRecordResponse"
> name="getVectorOfMIDPRecordStoreRecordResponse"/>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="getMIDPDataLenth">
> 
>          <wsdl:input message="impl:getMIDPDataLenthRequest"
> name="getMIDPDataLenthRequest"/>
> 
>          <wsdl:output message="impl:getMIDPDataLenthResponse"
> name="getMIDPDataLenthResponse"/>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="getMIDPRecordCount">
> 
>          <wsdl:input message="impl:getMIDPRecordCountRequest"
> name="getMIDPRecordCountRequest"/>
> 
>          <wsdl:output message="impl:getMIDPRecordCountResponse"
> name="getMIDPRecordCountResponse"/>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="login">
> 
>          <wsdl:input message="impl:loginRequest"
name="loginRequest"/>
> 
>          <wsdl:output message="impl:loginResponse"
name="loginResponse"/>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="logout">
> 
>          <wsdl:input message="impl:logoutRequest"
name="logoutRequest"/>
> 
>          <wsdl:output message="impl:logoutResponse"
name="logoutResponse"/>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="initSession">
> 
>          <wsdl:input message="impl:initSessionRequest"
> name="initSessionRequest"/>
> 
>          <wsdl:output message="impl:initSessionResponse"
> name="initSessionResponse"/>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="setSessionTimeOut">
> 
>          <wsdl:input message="impl:setSessionTimeOutRequest"
> name="setSessionTimeOutRequest"/>
> 
>          <wsdl:output message="impl:setSessionTimeOutResponse"
> name="setSessionTimeOutResponse"/>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="sendMail">
> 
>          <wsdl:input message="impl:sendMailRequest"
name="sendMailRequest"/>
> 
>          <wsdl:output message="impl:sendMailResponse"
> name="sendMailResponse"/>
> 
>       </wsdl:operation>
> 
>    </wsdl:portType>
> 
>    <wsdl:binding name="servicesSoapBinding"
> type="impl:SoapJMEProvisioningSession">
> 
>       <wsdlsoap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http"/>
> 
>       <wsdl:operation name="loadMIDPRecordStore">
> 
>          <wsdlsoap:operation soapAction=""/>
> 
>          <wsdl:input name="loadMIDPRecordStoreRequest">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:input>
> 
>          <wsdl:output name="loadMIDPRecordStoreResponse">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:output>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="getVectorOfMIDPRecordStoreRecord">
> 
>          <wsdlsoap:operation soapAction=""/>
> 
>          <wsdl:input name="getVectorOfMIDPRecordStoreRecordRequest">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:input>
> 
>          <wsdl:output
name="getVectorOfMIDPRecordStoreRecordResponse">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:output>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="getMIDPDataLenth">
> 
>          <wsdlsoap:operation soapAction=""/>
> 
>          <wsdl:input name="getMIDPDataLenthRequest">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:input>
> 
>          <wsdl:output name="getMIDPDataLenthResponse">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:output>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="getMIDPRecordCount">
> 
>          <wsdlsoap:operation soapAction=""/>
> 
>          <wsdl:input name="getMIDPRecordCountRequest">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:input>
> 
>          <wsdl:output name="getMIDPRecordCountResponse">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:output>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="login">
> 
>          <wsdlsoap:operation soapAction=""/>
> 
>          <wsdl:input name="loginRequest">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:input>
> 
>          <wsdl:output name="loginResponse">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:output>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="logout">
> 
>          <wsdlsoap:operation soapAction=""/>
> 
>          <wsdl:input name="logoutRequest">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:input>
> 
>          <wsdl:output name="logoutResponse">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:output>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="initSession">
> 
>          <wsdlsoap:operation soapAction=""/>
> 
>          <wsdl:input name="initSessionRequest">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:input>
> 
>          <wsdl:output name="initSessionResponse">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:output>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="setSessionTimeOut">
> 
>          <wsdlsoap:operation soapAction=""/>
> 
>          <wsdl:input name="setSessionTimeOutRequest">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:input>
> 
>          <wsdl:output name="setSessionTimeOutResponse">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:output>
> 
>       </wsdl:operation>
> 
>       <wsdl:operation name="sendMail">
> 
>          <wsdlsoap:operation soapAction=""/>
> 
>          <wsdl:input name="sendMailRequest">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:input>
> 
>          <wsdl:output name="sendMailResponse">
> 
>             <wsdlsoap:body use="literal"/>
> 
>          </wsdl:output>
> 
>       </wsdl:operation>
> 
>    </wsdl:binding>
> 
>    <wsdl:service name="SoapJMEProvisioningSessionService">
> 
>       <wsdl:port binding="impl:servicesSoapBinding" name="services">
> 
>          <wsdlsoap:address
>
location="http://ppx-ps.enitab.fr:8080/jmeprovisioning/control/services";
/>
> 
>       </wsdl:port>
> 
>    </wsdl:service>
> 
> </wsdl:definitions>
> 
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/ 

*********************************************************
Disclaimer:        
 
 
 
This message (including any attachments) contains
 
confidential information intended for a specific
 
individual and purpose, and is protected by law.
 
If you are not the intended recipient, you should
 
delete this message and are hereby notified that
 
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
 
is strictly prohibited.
 
*********************************************************
Visit us at http://www.mahindrabt.com
 
 

*********************************************************

Disclaimer:         





This message (including any attachments) contains



confidential information intended for a specific



individual and purpose, and is protected by law.



If you are not the intended recipient, you should



delete this message and are hereby notified that



any disclosure, copying, or distribution of this

message, or the taking of any action based on it,



is strictly prohibited.



*********************************************************

Visit us at http://www.mahindrabt.com 




Reply via email to