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 "Malte Christensen (JIRA)" <ji...@apache.org> on 2007/06/07 14:55:25 UTC

[jira] Created: (AXIS2-2781) Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...

Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...
--------------------------------------------------------------------------------------------------------

                 Key: AXIS2-2781
                 URL: https://issues.apache.org/jira/browse/AXIS2-2781
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Addressing
    Affects Versions: 1.2
         Environment: Windows XP - JDK 1.4_08 - Apache Tomcat/4.1.36
            Reporter: Malte Christensen
            Priority: Blocker


Given a wsdl received from a ws provider, I created a Client using wsdl2java.

The client works fine.

I need to provide my own ws which uses the client to acces the provider's ws.

Therefore, I created a server skeleton using the same wsdl, but changed the endpoint to point to my own 
http://localhost:8080/axis2/services/...

I built the server and implemented the skeleton to call the client. Adding a main method and testing the server before deployment works fine. 

I then deployed the server, including the client's client.jar.

I then used the server's wsdl to create a client for (my own) the ws. The client calls my localhost and I get the
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is http://172.31.102.170:8080/axis2/services/A1WebServiceImpl and the WSA Action = 

The only change I made to the stub was to add env.build(); just before _operationClient.execute(true); I do not believe that that has anything to do with the problem. I have no module.xml. Only the files wsdl2java created plus my own client.java files.

I can provide the sample wsdl files the services.xml file (which is unaltered by me).

Thank you in advance for any pointers to where I went wrong.

Malte Christensen

-- 
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


[jira] Commented: (AXIS2-2781) Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502328 ] 

Davanum Srinivas commented on AXIS2-2781:
-----------------------------------------

Yes, please upload the wsdl/xsd's.

thanks,
dims

> Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...
> --------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2781
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2781
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>    Affects Versions: 1.2
>         Environment: Windows XP - JDK 1.4_08 - Apache Tomcat/4.1.36
>            Reporter: Malte Christensen
>            Priority: Blocker
>         Attachments: tmp.zip
>
>
> Given a wsdl received from a ws provider, I created a Client using wsdl2java.
> The client works fine.
> I need to provide my own ws which uses the client to acces the provider's ws.
> Therefore, I created a server skeleton using the same wsdl, but changed the endpoint to point to my own 
> http://localhost:8080/axis2/services/...
> I built the server and implemented the skeleton to call the client. Adding a main method and testing the server before deployment works fine. 
> I then deployed the server, including the client's client.jar.
> I then used the server's wsdl to create a client for (my own) the ws. The client calls my localhost and I get the
> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is http://172.31.102.170:8080/axis2/services/A1WebServiceImpl and the WSA Action = 
> The only change I made to the stub was to add env.build(); just before _operationClient.execute(true); I do not believe that that has anything to do with the problem. I have no module.xml. Only the files wsdl2java created plus my own client.java files.
> I can provide the sample wsdl files the services.xml file (which is unaltered by me).
> Thank you in advance for any pointers to where I went wrong.
> Malte Christensen

-- 
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


[jira] Commented: (AXIS2-2781) Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...

Posted by "Malte Christensen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502343 ] 

Malte Christensen commented on AXIS2-2781:
------------------------------------------

Gotta go clean some egg off of my face. Had to REM out <module ref="addressing"/> in axis2.xml.

Now it works as expected.

Sorry for any inconvenience.

Malte Christensen

> Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...
> --------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2781
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2781
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>    Affects Versions: 1.2
>         Environment: Windows XP - JDK 1.4_08 - Apache Tomcat/4.1.36
>            Reporter: Malte Christensen
>            Priority: Blocker
>         Attachments: tmp.zip
>
>
> Given a wsdl received from a ws provider, I created a Client using wsdl2java.
> The client works fine.
> I need to provide my own ws which uses the client to acces the provider's ws.
> Therefore, I created a server skeleton using the same wsdl, but changed the endpoint to point to my own 
> http://localhost:8080/axis2/services/...
> I built the server and implemented the skeleton to call the client. Adding a main method and testing the server before deployment works fine. 
> I then deployed the server, including the client's client.jar.
> I then used the server's wsdl to create a client for (my own) the ws. The client calls my localhost and I get the
> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is http://172.31.102.170:8080/axis2/services/A1WebServiceImpl and the WSA Action = 
> The only change I made to the stub was to add env.build(); just before _operationClient.execute(true); I do not believe that that has anything to do with the problem. I have no module.xml. Only the files wsdl2java created plus my own client.java files.
> I can provide the sample wsdl files the services.xml file (which is unaltered by me).
> Thank you in advance for any pointers to where I went wrong.
> Malte Christensen

-- 
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


[jira] Updated: (AXIS2-2781) Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...

Posted by "Malte Christensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Malte Christensen updated AXIS2-2781:
-------------------------------------

    Attachment: tmp.zip

I included the wsdl used to created the server and the client and the relevant client/stub files.

> Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...
> --------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2781
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2781
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>    Affects Versions: 1.2
>         Environment: Windows XP - JDK 1.4_08 - Apache Tomcat/4.1.36
>            Reporter: Malte Christensen
>            Priority: Blocker
>         Attachments: tmp.zip
>
>
> Given a wsdl received from a ws provider, I created a Client using wsdl2java.
> The client works fine.
> I need to provide my own ws which uses the client to acces the provider's ws.
> Therefore, I created a server skeleton using the same wsdl, but changed the endpoint to point to my own 
> http://localhost:8080/axis2/services/...
> I built the server and implemented the skeleton to call the client. Adding a main method and testing the server before deployment works fine. 
> I then deployed the server, including the client's client.jar.
> I then used the server's wsdl to create a client for (my own) the ws. The client calls my localhost and I get the
> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is http://172.31.102.170:8080/axis2/services/A1WebServiceImpl and the WSA Action = 
> The only change I made to the stub was to add env.build(); just before _operationClient.execute(true); I do not believe that that has anything to do with the problem. I have no module.xml. Only the files wsdl2java created plus my own client.java files.
> I can provide the sample wsdl files the services.xml file (which is unaltered by me).
> Thank you in advance for any pointers to where I went wrong.
> Malte Christensen

-- 
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


[jira] Closed: (AXIS2-2781) Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...

Posted by "Malte Christensen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Malte Christensen closed AXIS2-2781.
------------------------------------

       Resolution: Invalid
    Fix Version/s: 1.2

axis2.xml needed to be modified to not load addressing

> Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...
> --------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2781
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2781
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>    Affects Versions: 1.2
>         Environment: Windows XP - JDK 1.4_08 - Apache Tomcat/4.1.36
>            Reporter: Malte Christensen
>            Priority: Blocker
>             Fix For: 1.2
>
>         Attachments: tmp.zip
>
>
> Given a wsdl received from a ws provider, I created a Client using wsdl2java.
> The client works fine.
> I need to provide my own ws which uses the client to acces the provider's ws.
> Therefore, I created a server skeleton using the same wsdl, but changed the endpoint to point to my own 
> http://localhost:8080/axis2/services/...
> I built the server and implemented the skeleton to call the client. Adding a main method and testing the server before deployment works fine. 
> I then deployed the server, including the client's client.jar.
> I then used the server's wsdl to create a client for (my own) the ws. The client calls my localhost and I get the
> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is http://172.31.102.170:8080/axis2/services/A1WebServiceImpl and the WSA Action = 
> The only change I made to the stub was to add env.build(); just before _operationClient.execute(true); I do not believe that that has anything to do with the problem. I have no module.xml. Only the files wsdl2java created plus my own client.java files.
> I can provide the sample wsdl files the services.xml file (which is unaltered by me).
> Thank you in advance for any pointers to where I went wrong.
> Malte Christensen

-- 
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


[jira] Commented: (AXIS2-2781) Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...

Posted by "Malte Christensen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502330 ] 

Malte Christensen commented on AXIS2-2781:
------------------------------------------

Uploaded!

> Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...
> --------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2781
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2781
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Addressing
>    Affects Versions: 1.2
>         Environment: Windows XP - JDK 1.4_08 - Apache Tomcat/4.1.36
>            Reporter: Malte Christensen
>            Priority: Blocker
>         Attachments: tmp.zip
>
>
> Given a wsdl received from a ws provider, I created a Client using wsdl2java.
> The client works fine.
> I need to provide my own ws which uses the client to acces the provider's ws.
> Therefore, I created a server skeleton using the same wsdl, but changed the endpoint to point to my own 
> http://localhost:8080/axis2/services/...
> I built the server and implemented the skeleton to call the client. Adding a main method and testing the server before deployment works fine. 
> I then deployed the server, including the client's client.jar.
> I then used the server's wsdl to create a client for (my own) the ws. The client calls my localhost and I get the
> org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is http://172.31.102.170:8080/axis2/services/A1WebServiceImpl and the WSA Action = 
> The only change I made to the stub was to add env.build(); just before _operationClient.execute(true); I do not believe that that has anything to do with the problem. I have no module.xml. Only the files wsdl2java created plus my own client.java files.
> I can provide the sample wsdl files the services.xml file (which is unaltered by me).
> Thank you in advance for any pointers to where I went wrong.
> Malte Christensen

-- 
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