Here is my problem:
================================================================================================

I am trying to run through the Caculator example, and am having trouble
getting Axis to deploy correctly on WebSphere 3.5.2

I have mapped *.jws to AxisServlet and then when I call URL/Calculator.jws,
I get:

/ice/axis/Calculator.jws
C:\WebSphere\AppServer\ICE\webapps\WEB-INF


Hi there, this is an AXIS service!


Perhaps there will be a form for invoking the service here...





============================================================


The Calculator.jws, or Calculator.java did not get compiled by AxisServlet
as noted in the user guide. Then I tried to call the CalcClient from the
command line and got:


C:\WebSphere\AppServer\ICE\webapps\axis>java CalcClient add -p80 2 5
Create service obj
create Call obj
set target
set Operation
Add param 1
Add param 2
Invoke the call.
Exception in thread "main" The AXIS engine could not find a target service
to invoke!  targetService
 is
        at java.lang.Class.newInstance0(Native Method)
        at java.lang.Class.newInstance(Class.java:237)
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:120)
        at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:67
1)
        at
org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
        at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1436)
        at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScan
ner.java:1260)
        at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1035)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:374)
        at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:204)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:378)
        at org.apache.axis.client.Call.invoke(Call.java:1268)
        at org.apache.axis.client.Call.invoke(Call.java:1113)
        at org.apache.axis.client.Call.invoke(Call.java:1043)
        at org.apache.axis.client.Call.invoke(Call.java:1069)
        at org.apache.axis.client.Call.invoke(Call.java:674)
        at CalcClient.main(CalcClient.java:45)

C:\WebSphere\AppServer\ICE\webapps\axis>



==============================================================================================
Then I also tried to list the deployed services, and got:

C:\WebSphere\AppServer\ICE\webapps\axis>java
org.apache.axis.client.AdminClient list
Doing a list
AxisFault
  faultCode: http://xml.apache.org/axis/:Server.userException
  faultString: java.net.ConnectException: Connection refused: connect
  faultActor: null
  faultDetail:
        exceptionName: java.net.ConnectException
        stackTrace: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:355)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:142)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:129)
        at java.net.Socket.<init>(Socket.java:273)
        at java.net.Socket.<init>(Socket.java:100)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:265)
        at
org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:104)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:178)
        at org.apache.axis.client.Call.invoke(Call.java:1254)
        at org.apache.axis.client.Call.invoke(Call.java:658)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:323)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:294)
        at org.apache.axis.client.AdminClient.list(AdminClient.java:156)
        at org.apache.axis.client.AdminClient.list(AdminClient.java:149)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:242)
        at org.apache.axis.client.AdminClient.main(AdminClient.java:344)


==========================================================================================================


I created a calc.wsdd:

<!-- Use this file to deploy some handlers/chains and services  -->
<!-- Two ways to do this:                                       -->
<!--   java org.apache.axis.utils.Admin deploy.wsdd              -->
<!--      from the same dir that the Axis engine runs           -->
<!-- or                                                         -->
<!--   java org.apache.axis.client.http.AdminClient deploy.wsdd  -->
<!--      after the axis server is running                      -->

<deployment xmlns="http://localhost/ice/axis/Calculator";
            xmlns:java="http://localhost/ice/axis/AxisServlet";>

 <service name="Calculator" provider="java:RPC">
  <parameter name="className" value="Calculator"/>
  <parameter name="methodName" value="*"/>
 </service>

</deployment>



===========================================================================================================

Tried to deploy it, but got this:

C:\WebSphere\AppServer\ICE\webapps\axis>java
org.apache.axis.client.AdminClient calc.wsdd
Processing file calc.wsdd
AxisFault
  faultCode: http://xml.apache.org/axis/:Server.userException
  faultString: java.net.ConnectException: Connection refused: connect
  faultActor: null
  faultDetail:
        exceptionName: java.net.ConnectException
        stackTrace: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:355)
        at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:142)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:129)
        at java.net.Socket.<init>(Socket.java:273)
        at java.net.Socket.<init>(Socket.java:100)
        at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:265)
        at
org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:104)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:178)
        at org.apache.axis.client.Call.invoke(Call.java:1254)
        at org.apache.axis.client.Call.invoke(Call.java:658)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:323)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:303)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:310)
        at org.apache.axis.client.AdminClient.process(AdminClient.java:261)
        at org.apache.axis.client.AdminClient.main(AdminClient.java:344)


=====================================================================================================


Please help!


---
Thanks

Mick Knutson
Discover Financial Services
Office: 801-902-4244
Fax: 801-902-4123


                                                                                       
               
                    "Volkmann, Mark"                                                   
               
                    <Mark.Volkmann@AGED        To:     "'[EMAIL PROTECTED]'"    
               
                    WARDS.com>                 <[EMAIL PROTECTED]>              
               
                                               cc:                                     
               
                    02/01/2002 09:01 AM        Subject:     RE: Can't even get "java   
               
                    Please respond to          org.apache.axis.client.AdminClient 
list"    to work!   
                    axis-user                                                          
               
                                                                                       
               
                                                                                       
               




If you are executing AdminClient from a <java> task in an Ant build file,
try adding these as child elements of the <java> element.


  <sysproperty key="http.proxyHost" value="your-proxy-host-name"/>
  <sysproperty key="http.proxyPort" value="your-proxy-port"/>


If you are running it from the command line, try adding this.


java -Dhttp.proxyHost=your-proxy-host-name -Dhttp.proxyPort=your-proxy-port
org.apache.axis.client.AdminClient list


     -----Original Message-----
     From:   [EMAIL PROTECTED]
     [SMTP:[EMAIL PROTECTED]]
     Sent:   Friday, February 01, 2002 10:16 AM
     To:     [EMAIL PROTECTED]
     Subject:        Re: Can't even get "java
     org.apache.axis.client.AdminClient list" to work!



                         Mick Knutson

                                              To:
     [EMAIL PROTECTED]
                         01/31/2002           cc:

                         02:28 PM             Subject:     Can't even get
     "java

     org.apache.axis.client.AdminClient list" to work!










     Can someone please help me? I am behind a firewall and am trying to
     get
     Axis deployed on WebSphere 3.5.2
     Here is what I get running the "AdminClient list" command:


     C:\WebSphere\AppServer\ICE\webapps\axis>java
     org.apache.axis.client.AdminClient list
     Doing a list
     AxisFault
       faultCode: http://xml.apache.org/axis/:Server.userException
       faultString: java.net.ConnectException: Connection refused: connect
       faultActor: null
       faultDetail:
             exceptionName: java.net.ConnectException
             stackTrace: java.net.ConnectException: Connection refused:
     connect
             at java.net.PlainSocketImpl.socketConnect(Native Method)
             at
     java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:355)
             at
     java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:142)
             at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:129)
             at java.net.Socket.<init>(Socket.java:273)
             at java.net.Socket.<init>(Socket.java:100)
             at
     org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:265)
             at
     org.apache.axis.SimpleTargetedChain.invoke(SimpleTargetedChain.java:104)

             at
     org.apache.axis.client.AxisClient.invoke(AxisClient.java:178)
             at org.apache.axis.client.Call.invoke(Call.java:1254)
             at org.apache.axis.client.Call.invoke(Call.java:658)
             at
     org.apache.axis.client.AdminClient.process(AdminClient.java:323)
             at
     org.apache.axis.client.AdminClient.process(AdminClient.java:294)
             at
     org.apache.axis.client.AdminClient.list(AdminClient.java:156)
             at
     org.apache.axis.client.AdminClient.list(AdminClient.java:149)
             at
     org.apache.axis.client.AdminClient.process(AdminClient.java:242)
             at
     org.apache.axis.client.AdminClient.main(AdminClient.java:344)





     ---
     Thanks


     Mick Knutson
     Discover Financial Services
     Office: 801-902-4244
     Fax: 801-902-4123





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

WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
***************************************************************************************



Reply via email to