axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malte Christensen (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2781) Vanilla code generated from a wsdl triggers org.apache.axis2.AxisFault: The endpoint reference (EPR) ...
Date Thu, 07 Jun 2007 12:55:25 GMT
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


Mime
View raw message