[ http://issues.apache.org/jira/browse/AXIS-2106?page=all ]
     
Davanum Srinivas resolved AXIS-2106:
------------------------------------

    Resolution: Cannot Reproduce

neal,

Please add the following init-param in your web.xml for AxisServlet, you will 
get more stack traces. look at the logs too on the server-side and post more 
details. don't have enough to work with right now.

    <init-param>
      <param-name>axis.development.system</param-name>
      <param-value>true</param-value>
    </init-param>    

thanks,
dims

> 500 Internal Server error  at 
> org.apache.axis.transport.http.HTTPSender.readFromSocket
> --------------------------------------------------------------------------------------
>
>          Key: AXIS-2106
>          URL: http://issues.apache.org/jira/browse/AXIS-2106
>      Project: Apache Axis
>         Type: Bug
>     Versions: 1.2.1
>  Environment: Orion 2.0 application server with Axis installed as a webapp
>     Reporter: neal neal
>     Priority: Critical

>
> When I try to consume a webservice I get this error
> I can see the wsdl of the webservice.
> The webservice was basically a function in one of my EJBs ..being exposed as 
> a webservice, iow.
> (The code [shown below error] works in my jdeveloper env (with axis installed 
> similarly as on sturdy orion server)
> Jdeveloper has a mini-me orion server in it...so hypothetically things should 
> work same in both places...but on Orion server ..No)
> ===Start error==============
> AxisFault
>  faultCode: {http://xml.apache.org/axis/}HTTP
>  faultSubcode:
>  faultString: (500)Internal Server Error
>  faultActor:
>  faultNode:
>  faultDetail:
>         {}:return code:  500
> &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;500 Internal Server 
> Error&lt;/TITLE&gt;&lt;
> /HEAD&gt;&lt;BODY&gt;&lt;H1&gt;500 Internal Server 
> Error&lt;/H1&gt;&lt;PRE&gt;ja
> &lt;br&gt;      at 
> org.apache.axis.Message.&amp;lt;init&amp;gt;(Message.java:232
> &lt;br&gt;      at 
> org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet
> &lt;br&gt;      at 
> org.apache.axis.transport.http.AxisServletBase.service(AxisSe
> &lt;br&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;&lt;/BODY&gt;&lt;/HTML&gt;:336)
>         {http://xml.apache.org/axis/}HttpErrorCode:500
> (500)Internal Server Error
>         at 
> org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
> ava:744)
>         at 
> org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
>         at 
> org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
> y.java:32)
>         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
>         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
>         at org.apache.axis.client.Call.invoke(Call.java:2748)
>         at org.apache.axis.client.Call.invoke(Call.java:2424)
>         at org.apache.axis.client.Call.invoke(Call.java:2347)
>         at org.apache.axis.client.Call.invoke(Call.java:1804)
>         at <line in my application which says call.invoke()>
>         at 
> org.apache.struts.action.RequestProcessor.processActionPerform(Reques
> tProcessor.java:484)
>         at 
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
> va:274)
>         at 
> org.apache.struts.action.ActionServlet.process(ActionServlet.java:148
> 2)
>         at 
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:211)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
>         at com.evermind._cub._phd(.:518)
>         at com.evermind._cub._bgc(.:174)
>         at com.evermind._ax._lqc(.:614)
>         at com.evermind._ax._tvb(.:189)
>         at com.evermind._bf.run(.:62)
> ====End Error========
> ==Start code===
> try
>                 {
>                     String endpoint = 
> "http://localhost:8081/axis/services/ValidateCreditCardService";;
>                     Service service = new Service();
>                     Call call = (Call)service.createCall();
>                     call.setTargetEndpointAddress(endpoint);
>                     call.setOperationName(new QName("validateCreditCardWS"));
>                     Object ret = call.invoke(new Object[] {
>                         "abcd", "u000001", "90210", "junglee jaanwar", 
> "4111111111111111", "02", "06", "", "2.30"
>                     });
>                     System.out.println("return from validate credit card web 
> service: " + ret);
>                 }
>                 catch(Exception e)
>                 {
>                     e.printStackTrace();
>                 }
> ====End code===

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to