You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2008/12/01 19:57:44 UTC

[jira] Commented: (AXIS2-4156) ?wsdl returns an AxisFault if the port address of the wsdl is blank and modifyUserWSDLPortAddress set to true in services.xml

    [ https://issues.apache.org/jira/browse/AXIS2-4156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652095#action_12652095 ] 

Andreas Veithen commented on AXIS2-4156:
----------------------------------------

Instead of leaving the location attribute blank, you should put any (syntactically) valid HTTP URL, e.g.:

<soap:address location="http://REPLACE_THIS"/>

Axis2 uses this information to determine the protocol over which you want to expose the service.

> ?wsdl returns an AxisFault if the port address of the wsdl is blank and modifyUserWSDLPortAddress set to true in services.xml
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4156
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4156
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>         Environment: winxp, jdk15
>            Reporter: Charitha Kankanamge
>         Attachments: calculatorService.aar
>
>
> Please deploy the attached service in axis2 and issue ?wsdl. You will get the following exception.
> org.apache.axis2.AxisFault: invalid epr is given epr ==>
>         at org.apache.axis2.description.AxisService.getLocationURI(AxisService.java:1446)
>         at org.apache.axis2.description.AxisService.setPortAddress(AxisService.java:1372)
>         at org.apache.axis2.description.AxisService.printDefinitionObject(AxisService.java:1045)
>         at org.apache.axis2.description.AxisService.printUserWSDL(AxisService.java:1066)
>         at org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1314)
>         at org.wso2.carbon.core.transports.util.Wsdl11Processor$1.printWSDL(Wsdl11Processor.java:43)
>         at org.wso2.carbon.core.transports.util.AbstractWsdlProcessor.printWSDL(AbstractWsdlProcessor.java:51)
>         at org.wso2.carbon.core.transports.util.Wsdl11Processor.process(Wsdl11Processor.java:57)
>         at org.wso2.carbon.core.transports.CarbonServlet.doGet(CarbonServlet.java:129)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90)
>         at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111)
>         at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:67)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.wso2.carbon.bridge.BridgeServlet.service(BridgeServlet.java:116)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
>         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
>         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
>         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
>         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
>         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
>         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
>         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
>         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
>         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
>         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
>         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
>         at java.lang.Thread.run(Thread.java:595)
> This occurs if the service archive includes a wsdl and the wsdl has blank endpoint address. And the services.xml has following parameters.
>  <parameter name="useOriginalwsdl">true</parameter>
>         <parameter name="modifyUserWSDLPortAddress">true</parameter>

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org