You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by monna <at...@fujixerox.co.jp> on 2009/06/23 03:54:15 UTC
aar made by jax-ws
I don't know how to deploy aar made by jax-ws.
[Configuration]
Axis2 1.5
Java 1.6
[behavior]
1) deploy jar into servicejars
service-name.port-name appeared in
http://localhost:8080/axis2/services/ like "EchoService.EchoServicePort"
The client can get correct response by accessing EPR
(http://localhost:8080/axis2/services/EchoService.EchoServicePort).
2) deploy aar into services
service-name appeared in http://localhost:8080/axis2/services/ like
"EchoService"
A) The client get error (A) by accessing EPR
(http://localhost:8080/axis2/services/EchoService.EchoServicePort).
javax.xml.ws.soap.SOAPFaultException: The service cannot be found
for the endpoint reference (EPR)
127.0.0.1/axis2/services/EchoService.EchoServicePort
B) The client get error (B) by accessing EPR
(http://localhost:8080/axis2/services/EchoService).
javax.xml.ws.soap.SOAPFaultException: The service class cannot be
found for this AxisService.
[test]
I used Axis2 1.5 Samples/jaxws-sample/echo.
1) changed location
/wsdl:definitions/wsdl:service/wsdl:port/soap:address@location in
Echo.wsdl to "http://localhost:8080/axis2/services/EchoService".
Server Side:
2) generated source by wsimprt(jdk1.6.0_13).
3) using implement class (EchoServicePortImpl.java)
comment out wsdLocation in @WebService and @HandlerChain
4) made aar (attachment:service.xml) and deployed services
Client Side:
5) generated source by wsimprt(jdk1.6.0_13).
6) using client (attachment:JaxwsClient.java)
//
Re: aar made by jax-ws
Posted by Lars Ericsson <la...@yahoo.com>.
Mona!
what is the problem here!
just put aar, on the axis2/service/
......
________________________________
From: monna <at...@fujixerox.co.jp>
To: axis-user@ws.apache.org
Sent: Tuesday, June 23, 2009 3:54:15 AM
Subject: aar made by jax-ws
I don't know how to deploy aar made by jax-ws.
[Configuration]
Axis2 1.5
Java 1.6
[behavior]
1) deploy jar into servicejars
service-name.port-name appeared in
http://localhost:8080/axis2/services/ like "EchoService.EchoServicePort"
The client can get correct response by accessing EPR
(http://localhost:8080/axis2/services/EchoService.EchoServicePort).
2) deploy aar into services
service-name appeared in http://localhost:8080/axis2/services/ like
"EchoService"
A) The client get error (A) by accessing EPR
(http://localhost:8080/axis2/services/EchoService.EchoServicePort).
javax.xml.ws.soap.SOAPFaultException: The service cannot be found
for the endpoint reference (EPR)
127.0.0.1/axis2/services/EchoService.EchoServicePort
B) The client get error (B) by accessing EPR
(http://localhost:8080/axis2/services/EchoService).
javax.xml.ws.soap.SOAPFaultException: The service class cannot be
found for this AxisService.
[test]
I used Axis2 1.5 Samples/jaxws-sample/echo.
1) changed location
/wsdl:definitions/wsdl:service/wsdl:port/soap:address@location in
Echo.wsdl to "http://localhost:8080/axis2/services/EchoService".
Server Side:
2) generated source by wsimprt(jdk1.6.0_13).
3) using implement class (EchoServicePortImpl.java)
comment out wsdLocation in @WebService and @HandlerChain
4) made aar (attachment:service.xml) and deployed services
Client Side:
5) generated source by wsimprt(jdk1.6.0_13).
6) using client (attachment:JaxwsClient.java)
//