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 "Krithika Raghunath (JIRA)" <ji...@apache.org> on 2017/02/07 05:04:41 UTC

[jira] [Updated] (AXIS2-5837) Curl command not working with newly generated stubs using axis2 1.7.4

     [ https://issues.apache.org/jira/browse/AXIS2-5837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Krithika Raghunath updated AXIS2-5837:
--------------------------------------
    Description: 
I am trying to upgrade axis2 from version 1.6.2. to 1.7.4.
As part of this, I have regenerated stubs using a WSDL and XSD files.

With these generated stubs, the business logic is getting deployed as expected in tomcat. But with curl command, I am getting an error as so:

curl -m 10 --data @request.xml -H "Content-Type:text/xml;Charset='UTF-8'" http://<username>:<password>@localhost:8080/NE3S/1.0/<Service>

<faultstring>The endpoint reference (EPR) for the Operation not found is http://localhost:8080/NE3S/1.0/<Service> and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.</faultstring>

Previously generated stubs with the same WSDL and XSD with axis2 1.6.2 are working fine. Could someone please let me what is the issue?

  was:
I am trying to upgrade axis2 from version 1.6.2. to 1.7.4.
As part of this, I have regenerated stubs using a WSDL and XSD files.

With these generated stubs, the business logic is getting deployed as expected in tomcat. But with curl command, I am getting an error as so:

curl -m 10 --data @request.xml -H "Content-Type:text/xml;Charset='UTF-8'" http://<username>:<password>@localhost:8080/NE3S/1.0/<Service>
Warning: Couldn't read data from file "request.xml", this makes an empty POST.
<faultstring>The endpoint reference (EPR) for the Operation not found is http://localhost:8080/NE3S/1.0/<Service> and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.</faultstring>

Previously generated stubs with the same WSDL and XSD with axis2 1.6.2 are working fine. Could someone please let me what is the issue?


> Curl command not working with newly generated stubs using axis2 1.7.4 
> ----------------------------------------------------------------------
>
>                 Key: AXIS2-5837
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5837
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.7.4
>         Environment: OpenJDK 8u31, Axis2 1.7.4, Red Hat Enterprise Linux Server release 6.4 (Santiago), Tomcat 8.0.39
>            Reporter: Krithika Raghunath
>            Priority: Blocker
>
> I am trying to upgrade axis2 from version 1.6.2. to 1.7.4.
> As part of this, I have regenerated stubs using a WSDL and XSD files.
> With these generated stubs, the business logic is getting deployed as expected in tomcat. But with curl command, I am getting an error as so:
> curl -m 10 --data @request.xml -H "Content-Type:text/xml;Charset='UTF-8'" http://<username>:<password>@localhost:8080/NE3S/1.0/<Service>
> <faultstring>The endpoint reference (EPR) for the Operation not found is http://localhost:8080/NE3S/1.0/<Service> and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.</faultstring>
> Previously generated stubs with the same WSDL and XSD with axis2 1.6.2 are working fine. Could someone please let me what is the issue?



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org