You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Tony Lewis (JIRA)" <ji...@apache.org> on 2010/04/08 19:03:37 UTC
[jira] Created: (AXIS2-4674) Unable to get WSDL2 doc for services
on WebSphere 7.0 and Axis2 1.5.1
Unable to get WSDL2 doc for services on WebSphere 7.0 and Axis2 1.5.1
---------------------------------------------------------------------
Key: AXIS2-4674
URL: https://issues.apache.org/jira/browse/AXIS2-4674
Project: Axis2
Issue Type: Bug
Components: wsdl
Affects Versions: 1.5.1
Environment: Linux Redhat, Websphere 7.0, Axis2, 1.5.1
Reporter: Tony Lewis
Accessing
websphereurl:port/axis/services/MyService?wsdl2 throws a null pointer exception.
E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0068E: Uncaught exception created in one of the service methods of the servlet AxisServlet in application axis2_war. Exception created : java.lang.NullPointerException
at org.apache.axis2.description.AxisService.printWSDL2(AxisService.java:1594)
at org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent.java:252)
at org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1443)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:790)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:443)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:175)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3610)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:274)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:926)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1557)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:173)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:455)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:384)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:272)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1527)
Problem lies on line 250 of org.apache.axis2.transport.http.ListingAgent.java. req.getParameter("wsdl2") returns null if the url does not contain the wsdl file name as a parameter.
The following works:
websphereurl:port/axis/services/MyService?wsdl2=
websphereurl:port/axis/services/MyService?wsdl2=MyService.wsdl
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org