Thank you very much Sagara

 

my fault, if I would have checked the tomcat output log more carefull I
would have found the following

 

2012-04-19 17:45:35,390 INFO
org.apache.axis2.jaxws.framework.JAXWSDeployer - Deploying artifact :
/disk$oracle2/apache/jakarta/tomcat/webapps/axis2/WEB-INF/servicejars/ja
xws-calculator-1.6.1.jar

2012-04-19 17:45:35,650 INFO
org.apache.axis2.jaxws.framework.JAXWSDeployer - Exception creating Axis
Service : null java.lang.NoSuchMethodError:
javax.xml.ws.RequestWrapper.partName()Ljava/lang/String;

 

So the service is now deployed on a PC with JDK 7.0 installed and there
is shows up!

 

BUT - for me this is a pain now -

I short - this service is a no go for OpenVMS 8.4 on ITANIUM, with JDK
6.0 from HP, 

running TOMCAT from HP on JDK 6.0, running APACHE AXIS2 built on a JDK
6.0 Machine using Maven 3.0 on that TOMCAT Application Server.

 

It is a no go because    javax.xml.ws.RequestWrapper.partName()    is a
method not available with JDK 6.0 but only with JDK 7.0 which is not
available from HP

 

Thanks again.

Josef

 

 

 

 

 

 

 

 

Von: Sagara Gunathunga [mailto:sagara.gunathu...@gmail.com] 
Gesendet: Donnerstag, 19. April 2012 15:40
An: java-user@axis.apache.org
Cc: axis-u...@ws.apache.org
Betreff: Re: [axis2] and
http://integ2:8080/axis2/axis2-admin/listService

 

 

On Thu, Apr 19, 2012 at 6:34 PM, Stadelmann Josef
<josef.stadelm...@axa-winterthur.ch> wrote:

Since we got JAXWS, 

web services based on annotations, are

maven built into ./target/jaxws-calculator.jar then

deployed into %AS%/webapps/axis2/WEB-INF/servicejars

where as the AS (Tomcat) output shows that the web service has been
deployed

i.e.

Apr 19, 2012 2:25:22 PM org.apache.catalina.core.ApplicationContext log

INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'

1973775 [Timer-4] INFO  org.apache.axis2.jaxws.framework.JAXWSDeployer
- Undeploying Web service: jaxws-calculator-1.6.1.jar

1973775 [Timer-4] INFO  org.apache.axis2.jaxws.framework.JAXWSDeployer
- Deploying artifact : C:\Program Files\Apache Software
Foundation\Apache Tomcat
6.0.26\webapps\axis2\WEB-INF\servicejars\jaxws-calculator-1.6.1.jar

1974929 [Timer-4] INFO  org.apache.axis2.jaxws.framework.JAXWSDeployer
- Deploying JAXWS annotated class
org.apache.axis2.jaxws.calculator.CalculatorService as a service -
CalculatorService

 

I wonder why this servicejars services are not shown by the 

http://localhost:8080/axis2/axis2-admin/listService
<http://localhost:8080/axis2/axis2-admin/listService>  

web page.

Is that by intention, is it a bug demanding a JIRA or is this just a
short comming on the product axis2, as such on my whish list?

Instead of above reasons this is a issue within your setup. Above page
list out JAX-WS services properly to me I can use following two URL to
reach service listing. 

1. http://localhost:8080/axis2/services/listServices
2. http://localhost:8080/axis2/axis2-admin/listService

Thanks ! 
  

        Regards

        Josef




-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
<http://people.apache.org/%7Esagara/> 
LinkedIn - http://www.linkedin.com/in/ssagara

Reply via email to