Hi Josef,
Mentioned syntax (ServiceName.PortName?wsdl) is strange for me also, but
example org\apache\axis2\jaxws\calculator\client\CalculatorService.java,
uses exactly that:
url = new
URL("http://localhost:8080/axis2/services/CalculatorService.CalculatorServicePort?wsdl");
...
CALCULATORSERVICE_WSDL_LOCATION = url;
...
super(CALCULATORSERVICE_WSDL_LOCATION, new
QName("http://calculator.jaxws.axis2.apache.org", "CalculatorService"));
Where super calls new Service(URL wsdlDocumentLocation, QName serviceName).
So, the question is: is URL for WSDL in jaxws-calculator example right,
or not?
-Ognjen
On 3.8.2011 17:07, Stadelmann Josef wrote:
What do you expect from ?wsdl to come back?
a) only information about the CalculatorServicePort OR
b) only information about the CalculatorService where CalculatorServicePort
is only a fragment of information?
Josef
-----Ursprüngliche Nachricht-----
Von: Ognjen Blagojevic [mailto:ognjen.d.blagoje...@gmail.com]
Gesendet: Mittwoch, 3. August 2011 17:01
An: axis-u...@ws.apache.org
Betreff: Stuck with basic jaxws example
Hi,
I am trying to deploy very basic jaxws-calculator example. After
succsessful deployment I try to access WSDL as described in README:
http://localhost:8080/axis2/services/CalculatorService.CalculatorServicePort?wsdl
but I get "The endpoint reference (EPR) for the Operation not found is
/axis2/services/CalculatorService.CalculatorServicePort?wsdl and the WSA
Action = null. If this EPR was previously reachable, please contact the
server administrator."
However, http://localhost:8080/axis2/services/CalculatorService?wsdl
works fine, but that is not the URL used in the client class exmaple.
Which one of those two URLs is right?
-Ognjen
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org