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 cradel21 <cm...@opnetwork.com> on 2012/08/26 01:10:34 UTC
Re: [axis2-1.6.1] samples/java_first_jaxws project
Hi Jose, did you receive an answer? This is actually the problem with
several of the examples, including the CalculatorService example.
José wrote:
>
> Hi Axis2 - JAX-WS developers,
>
> maybe one can help me.
>
>
>
> I've built the axis2-1.6.1/samples/java_first_jaxws project with maven
> from a cmd windows, fine, all success.
>
> I followed strictly the build and setup instruction given in the
> ./target/README
>
> BUT
> when I use the stand allone axis2server.bat, I was unable first to
> connect with the given information found in the README:
>
> http://localhost:8080/axis2/services/HelloWorld.HelloWorldImplPort?wsdl
> results in
> <faultstring>The endpoint reference (EPR) for the Operation not found is
> /axis2/services/HelloWorld.HelloWorldImplPort?wsdl and the WSA Action =
> null. If this EPR was previously reachable, please contact the server
> administrator.</faultstring>
>
>
> BUT
>
> using
> http://localhost:8080/axis2/services/HelloWorld?wsdl
> WORKS fine and and results in
> <?xml version="1.0" encoding="UTF-8" ?>
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <definitions
> name="HelloWorld" targetNamespace="http://server.hw.demo/"
> xmlns="http://schemas.xmlsoap.org/wsdl/"
> xmlns:tns="http://server.hw.demo/"
> xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <types>
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <xsd:schema>
> <xsd:import namespace="http://server.hw.demo/"
> schemaLocation="HelloWorld?xsd=HelloWorld_schema1.xsd" />
> </xsd:schema>
> </types>
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <message
> name="sayHi">
> <part name="parameters" element="tns:sayHi" />
> </message>
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <message
> name="sayHiResponse">
> <part name="parameters" element="tns:sayHiResponse" />
> </message>
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <portType
> name="HelloWorld">
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <operation
> name="sayHi">
> <input message="tns:sayHi" />
> <output message="tns:sayHiResponse" />
> </operation>
> </portType>
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <binding
> name="HelloWorldImplPortBinding" type="tns:HelloWorld">
> <soap:binding style="document"
> transport="http://schemas.xmlsoap.org/soap/http" />
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <operation
> name="sayHi">
> <soap:operation soapAction="" />
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <input>
> <soap:body use="literal" />
> </input>
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <output>
> <soap:body use="literal" />
> </output>
> </operation>
> </binding>
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <service
> name="HelloWorld">
> - <http://localhost:8080/axis2/services/HelloWorld?wsdl> <port
> name="HelloWorldImplPort" binding="tns:HelloWorldImplPortBinding">
> <soap:address
> location="http://localhost:8080/axis2/services/HelloWorld/" />
> </port>
> </service>
> </definitions>
>
>
> OK - then - lets do it from Tomcat-6.0.26 on a Vista Platform
>
> I createde under axis2-1.6-1/WEB-INF/servicejars (I use two
> axis installations @ axis2 and @ axis2-1.6.1)
> and deployed the java_first_jaxws.jar into this directory;
> I can see how Tomcat deploys it;
>
> . . .
> INFO: Deploying web application archive axis2-1.6.1.war
> [INFO] Deploying JAXWS annotated class demo.hw.server.HelloWorldImpl as
> a service - HelloWorld
> [INFO] Clustering has been disabled
> [INFO] Deploying module: addressing-1.6.1 - file:/C:/Program
> Files/Apache Software Foundation/Apache Tomcat
> 6.0.26/webapps/axis2-1.6.1/WEB-INF/modules/addressing-1.6.1.mar
> [INFO] Deploying module: jaxws-1.6.1 - file:/C:/Program Files/Apache
> Software Foundation/Apache Tomcat
> 6.0.26/webapps/axis2-1.6.1/WEB-INF/modules/axis2-jaxws-mar-1.6.1.mar
> [INFO] Deploying module: metadataExchange-1.6.1 - file:/C:/Program
> Files/Apache Software Foundation/Apache Tomcat
> 6.0.26/webapps/axis2-1.6.1/WEB-INF/modules/mex-1.6.1.mar
> [INFO] Deploying module: mtompolicy-1.6.1 - file:/C:/Program
> Files/Apache Software Foundation/Apache Tomcat
> 6.0.26/webapps/axis2-1.6.1/WEB-INF/modules/mtompolicy-1.6.1.mar
> [INFO] Deploying module: ping-1.6.1 - file:/C:/Program Files/Apache
> Software Foundation/Apache Tomcat
> 6.0.26/webapps/axis2-1.6.1/WEB-INF/modules/ping-1.6.1.mar
> [INFO] Deploying module: script-1.6.1 - file:/C:/Program Files/Apache
> Software Foundation/Apache Tomcat
> 6.0.26/webapps/axis2-1.6.1/WEB-INF/modules/scripting-1.6.1.mar
> [INFO] Deploying module: soapmonitor-1.6.1 - file:/C:/Program
> Files/Apache Software Foundation/Apache Tomcat
> 6.0.26/webapps/axis2-1.6.1/WEB-INF/modules/soapmonitor-1.6.1.mar
> [INFO] Deploying Web service: version-1.6.1.aar - file:/C:/Program
> Files/Apache Software Foundation/Apache Tomcat
> 6.0.26/webapps/axis2-1.6.1/WEB-INF/services/version-1.6.1.aar
> [INFO] Deploying artifact : C:\Program Files\Apache Software
> Foundation\Apache Tomcat
> 6.0.26\webapps\axis2-1.6.1\WEB-INF\servicejars\java_first_jaxws-1.6.1.ja
> r
> [INFO] Deploying JAXWS annotated class demo.hw.server.HelloWorldImpl as
> a service - HelloWorld
> . . .
>
> http://localhost:8080/axis2-1.6.1/services/HelloWorld?wsdl
> results in
> - <http://localhost:8080/axis2-1.6.1/services/HelloWorld?wsdl> <error>
> <description>Unable to generate WSDL 1.1 for this
> service</description>
> <reason>If you wish Axis2 to automatically generate the WSDL 1.1, then
> please set useOriginalwsdl as false in your services.xml</reason>
> javax.xml.ws.WebServiceException: Error occurred generating WSDL file
> for Web service implementation class {demo.hw.server.HelloWorldImpl} at
> org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.generate
> Wsdl(JAXWSRIWSDLGenerator.java:198) at
> org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.initiali
> ze(JAXWSRIWSDLGenerator.java:390) at
> org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.getWSDL(
> JAXWSRIWSDLGenerator.java:383) at
> org.apache.axis2.description.AxisService.printWSDL(AxisService.java:1394
> ) at
> org.apache.axis2.transport.http.ListingAgent.handleWSDLRequest(ListingAg
> ent.java:327) at
> org.apache.axis2.transport.http.ListingAgent.processListService(ListingA
> gent.java:183) at
> org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:260)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
> tionFilterChain.java:290) at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
> erChain.java:206) at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
> e.java:233) at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
> e.java:191) at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
> :127) at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
> :102) at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
> java:109) at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
> 98) at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:85
> 2) at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
> Http11Protocol.java:588) at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.j
> ava:396) at
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
> r.java:886) at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> va:908) at java.lang.Thread.run(Thread.java:662) Caused by:
> java.lang.NoClassDefFoundError: com/sun/xml/ws/api/server/Container at
> java.lang.Class.getDeclaredMethods0(Native Method) at
> java.lang.Class.privateGetDeclaredMethods(Class.java:2427) at
> java.lang.Class.getMethod0(Class.java:2670) at
> java.lang.Class.getMethod(Class.java:1603) at
> org.apache.axis2.jaxws.description.builder.JAXWSRIWSDLGenerator.generate
> Wsdl(JAXWSRIWSDLGenerator.java:179) ... 22 more Caused by:
> java.lang.ClassNotFoundException: com.sun.xml.ws.api.server.Container at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
> .java:1516) at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
> .java:1361) ... 27 more
> </error>
>
> How can we prevent this error ? WE DO NOT HAVE A SERVICE.XML
> and this is just an example for jaxws newbies like me.
>
> AND
> http://localhost:8080/axis2-1.6.1/services/HelloWorld?wsdl2
> results in
> - <http://localhost:8080/axis2-1.6.1/services/HelloWorld?wsdl2>
> <wsdl2:description xmlns:wsdl2="http://www.w3.org/ns/wsdl"
> xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
> xmlns:tns="http://server.hw.demo/"
> xmlns:wsoap="http://www.w3.org/ns/wsdl/soap"
> xmlns:wrpc="http://www.w3.org/ns/wsdl/rpc"
> xmlns:wsdlx="http://www.w3.org/ns/wsdl-extensions"
> xmlns:whttp="http://www.w3.org/ns/wsdl/http"
> targetNamespace="http://server.hw.demo/">
> <wsdl2:types />
> - <http://localhost:8080/axis2-1.6.1/services/HelloWorld?wsdl2>
> <wsdl2:interface name="ServiceInterface">
> - <http://localhost:8080/axis2-1.6.1/services/HelloWorld?wsdl2>
> <wsdl2:operation name="sayHi"
> pattern="http://www.w3.org/ns/wsdl/in-out">
> <wsdl2:input element="#none"
> wsaw:Action="http://server.hw.demo/HelloWorld/sayHiRequest" />
> <wsdl2:output element="#none"
> wsaw:Action="http://server.hw.demo/HelloWorld/sayHiResponse" />
> </wsdl2:operation>
> </wsdl2:interface>
> <wsdl2:binding name="HelloWorldSoap11Binding"
> interface="tns:ServiceInterface" type="http://www.w3.org/ns/wsdl/soap"
> wsoap:version="1.1" />
> - <http://localhost:8080/axis2-1.6.1/services/HelloWorld?wsdl2>
> <wsdl2:service name="HelloWorld" interface="tns:ServiceInterface">
> <wsdl2:endpoint name="HelloWorldImplPort"
> binding="tns:HelloWorldSoap11Binding"
> address="http://166.9.88.60:8080/axis2-1.6.1/services/HelloWorld.HelloWo
> rldImplPort/" />
> </wsdl2:service>
> </wsdl2:description>
>
> seams to work, but how can I make use of it?
>
> Now I pass the servicejars directory with the HelloWorld service to my
> other axis2 installtion, the one which has loggers confiogured (be
> patient)
> ...
> 562021 [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\java_first_jaxws-1.6.1.jar
> 562130 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl -
> ServiceDescriptionImpl(HashMap<String,DescriptionBuilderComposite>,Confi
> gurationContext)
> 562130 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl - entry
> 562130 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl -
> composite =
> org.apache.axis2.jaxws.description.builder.DescriptionBuilderComposite@a
> d8dbc
> ClassName: demo.hw.server.HelloWorldImpl; SuperClass:java.lang.Object
> Class modifiers:
> is Service Provider: true
> wsdlURL: null
> has wsdlDefinition?: false
> Interfaces: demo.hw.server.HelloWorld;
> WebService:
> @WebService.name=
> @WebService.serviceName= HelloWorld
> @WebService.endpointInterface= demo.hw.server.HelloWorld
> @WebService.targetNamespace=
> @WebService.wsdlLocation=
> @WebService.portName=
>
> Number of Method Descriptions: 2
> org.apache.axis2.jaxws.description.builder.MethodDescriptionComposite@34
> 57f1
> Name: sayHi; ReturnType: java.lang.String
> Exceptions:
> Number of Parameter Descriptions: 1
> org.apache.axis2.jaxws.description.builder.ParameterDescriptionComposite
> @79b43f; ParameterType: java.lang.String
> org.apache.axis2.jaxws.description.builder.MethodDescriptionComposite@28
> c7a1
> Name: <init>; ReturnType: null
> Exceptions:
> Number of Parameter Descriptions: 0
> Number of Field Descriptions: 0
> 562177 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl -
> configContext = org.apache.axis2.context.ConfigurationContext@a0187c
> 562177 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl -
> serviceQName = null
> 562177 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl -
> setupWsdlDefinition()
> 562177 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl - Get
> the wsdl location from the SEI composite.
> 562239 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl - Get
> the wsdl location from the impl class composite.
> 562239 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl - No
> PortComposites found for implementation class:
> demo.hw.server.HelloWorldImpl
> 562255 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl - entry
> EndpointDescriptionImpl(ServiceDescriptionImpl, String, Map<String,
> Object>, Integer)
> 562255 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl -
> parent=org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl@15
> 01026
> ServiceQName: null
> isWSDLSpecified: false; WSDL Location: null
> WSDL Definition available: false; Generated WSDL Definition available:
> false
> isServerSide: true
> handlerChainAnnotation: null
> handlerChainsType: null
> Number of defined ports: 0
> Port QNames: start
> compositeorg.apache.axis2.jaxws.description.builder.DescriptionBuilderCo
> mposite@ad8dbc
> ClassName: demo.hw.server.HelloWorldImpl; SuperClass:java.lang.Object
> Class modifiers:
> is Service Provider: true
> wsdlURL: null
> has wsdlDefinition?: false
> Interfaces: demo.hw.server.HelloWorld;
> WebService:
> @WebService.name=
> @WebService.serviceName= HelloWorld
> @WebService.endpointInterface= demo.hw.server.HelloWorld
> @WebService.targetNamespace=
> @WebService.wsdlLocation=
> @WebService.portName=
>
> Number of Method Descriptions: 2
> org.apache.axis2.jaxws.description.builder.MethodDescriptionComposite@34
> 57f1
> Name: sayHi; ReturnType: java.lang.String
> Exceptions:
> Number of Parameter Descriptions: 1
> org.apache.axis2.jaxws.description.builder.ParameterDescriptionComposite
> @79b43f; ParameterType: java.lang.String
> org.apache.axis2.jaxws.description.builder.MethodDescriptionComposite@28
> c7a1
> Name: <init>; ReturnType: null
> Exceptions:
> Number of Parameter Descriptions: 0
> Number of Field Descriptions: 0
> end composite
>
> Number of EndpointDescrptions: 0
> RuntimeDescriptions:0
>
> 562302 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl -
> serviceImplName=org.apache.axis2.jaxws.description.impl.ServiceDescripti
> onImpl@1501026
> ServiceQName: null
> isWSDLSpecified: false; WSDL Location: null
> WSDL Definition available: false; Generated WSDL Definition available:
> false
> isServerSide: true
> handlerChainAnnotation: null
> handlerChainsType: null
> Number of defined ports: 0
> Port QNames: start
> compositeorg.apache.axis2.jaxws.description.builder.DescriptionBuilderCo
> mposite@ad8dbc
> ClassName: demo.hw.server.HelloWorldImpl; SuperClass:java.lang.Object
> Class modifiers:
> is Service Provider: true
> wsdlURL: null
> has wsdlDefinition?: false
> Interfaces: demo.hw.server.HelloWorld;
> WebService:
> @WebService.name=
> @WebService.serviceName= HelloWorld
> @WebService.endpointInterface= demo.hw.server.HelloWorld
> @WebService.targetNamespace=
> @WebService.wsdlLocation=
> @WebService.portName=
>
> Number of Method Descriptions: 2
> org.apache.axis2.jaxws.description.builder.MethodDescriptionComposite@34
> 57f1
> Name: sayHi; ReturnType: java.lang.String
> Exceptions:
> Number of Parameter Descriptions: 1
> org.apache.axis2.jaxws.description.builder.ParameterDescriptionComposite
> @79b43f; ParameterType: java.lang.String
> org.apache.axis2.jaxws.description.builder.MethodDescriptionComposite@28
> c7a1
> Name: <init>; ReturnType: null
> Exceptions:
> Number of Parameter Descriptions: 0
> Number of Field Descriptions: 0
> end composite
>
> Number of EndpointDescrptions: 0
> RuntimeDescriptions:0
>
> 562364 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl -
> portCompositeIndex=null
> 562364 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl - Set
> serviceQName to null
> 562473 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl -
> Setting @WebService.name value on the HelloWorld AxisService to:
> HelloWorld
> 562473 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl - No
> custom WSDL generator was supplied, so WSDL can not be generated
> 562473 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl - Start
> configureWebServiceFeatures().
> 562505 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl - No
> WebServiceFeatureAnnotation instances were found on the composite.
> 562505 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl - Exit
> configureWebServiceFeatures().
> 562505 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl - exit
> EndpointDescriptionImpl(ServiceDescriptionImpl, String, Map<String,
> Object>, Integer)
> 562520 [Timer-4] DEBUG
> org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl - exit
> org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl@1501026
> ServiceQName: {http://server.hw.demo/}HelloWorld
> isWSDLSpecified: false; WSDL Location: null
> WSDL Definition available: false; Generated WSDL Definition available:
> false
> isServerSide: true
> handlerChainAnnotation: null
> handlerChainsType: null
> Number of defined ports: 1
> Port QNames: {http://server.hw.demo/}HelloWorldImplPort; start
> compositeorg.apache.axis2.jaxws.description.builder.DescriptionBuilderCo
> mposite@ad8dbc
> ClassName: demo.hw.server.HelloWorldImpl; SuperClass:java.lang.Object
> Class modifiers:
> is Service Provider: true
> wsdlURL: null
> has wsdlDefinition?: false
> Interfaces: demo.hw.server.HelloWorld;
> WebService:
> @WebService.name=
> @WebService.serviceName= HelloWorld
> @WebService.endpointInterface= demo.hw.server.HelloWorld
> @WebService.targetNamespace=
> @WebService.wsdlLocation=
> @WebService.portName=
>
> Number of Method Descriptions: 2
> org.apache.axis2.jaxws.description.builder.MethodDescriptionComposite@34
> 57f1
> Name: sayHi; ReturnType: java.lang.String
> Exceptions:
> Number of Parameter Descriptions: 1
> org.apache.axis2.jaxws.description.builder.ParameterDescriptionComposite
> @79b43f; ParameterType: java.lang.String
> org.apache.axis2.jaxws.description.builder.MethodDescriptionComposite@28
> c7a1
> Name: <init>; ReturnType: null
> Exceptions:
> Number of Parameter Descriptions: 0
> Number of Field Descriptions: 0
> end composite
>
> Number of EndpointDescrptions: 1
> org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl@17d1256
> Name: HelloWorldImpl; Endpoint Address: null
> ServiceQName: {http://server.hw.demo/}HelloWorld; PortQName:
> {http://server.hw.demo/}HelloWorldImplPort; TargetNamespace:
> http://server.hw.demo/
> Service Mode: null; Binding Type:
> http://schemas.xmlsoap.org/wsdl/soap/http; Client Binding Type:
> http://schemas.xmlsoap.org/wsdl/soap/http
> Is provider-based: false; Is proxy-based: true; Is WSDL fully specified:
> false
> AxisService: HelloWorld
> EndpointInterfaceDescription:
> org.apache.axis2.jaxws.description.impl.EndpointInterfaceDescriptionImpl
> @3f0b70
> Name: HelloWorld; PortType: {http://server.hw.demo/}HelloWorld
> SOAP Style: DOCUMENT; SOAP Use: LITERAL; SOAP Paramater Style: WRAPPED
> Number of operations: 1
> Operation:
> org.apache.axis2.jaxws.description.impl.OperationDescriptionImpl@1080f38
> Name: sayHi; Operation Name: sayHi; Action:
> Operation excluded: false; Is oneway: false; Is returning result: true;
> Is result header: false; Is JAXWS Client Async method: false
> SOAP Style: DOCUMENT; SOAP Use: LITERAL; SOAP Paramater Style: WRAPPED
> Result name: return; Result part name: return; Result type: class
> java.lang.String; Result actual type: class java.lang.String
> Request Wrapper class: null; Response Wrapper class: null
> Java declaring class name: demo.hw.server.HelloWorld
> Java method name: sayHi
> Java paramaters: [java.lang.String]
> Service Implementation method: null
> Axis Operation: org.apache.axis2.description.InOutAxisOperation@1e5a0cb
> Number of Parameter Descriptions: 1
> Parameter Description:
> org.apache.axis2.jaxws.description.impl.ParameterDescriptionImpl@9f9761
> Name: arg0
> Namespace:
> PartName: arg0
> Is header: false; Is holder: false
> Mode: IN
> Type: class java.lang.String; Actual type: class java.lang.String
> No Fault Descriptions
> No Attachment Descriptions
> RuntimeDescriptions:0
>
> RuntimeDescriptions:0
>
> 562567 [Timer-4] INFO org.apache.axis2.jaxws.framework.JAXWSDeployer -
> Deploying JAXWS annotated class demo.hw.server.HelloWorldImpl as a
> service - HelloWorld
> 562567 [Timer-4] DEBUG org.apache.axis2.engine.Phase - Handler
> MustUnderstandChecker added to Phase OperationInPhase
> 562567 [Timer-4] DEBUG org.apache.axis2.engine.Phase - Handler
> DispatchOperationHandler added to Phase OperationOutPhase
> 562567 [Timer-4] DEBUG org.apache.axis2.engine.Phase - Handler
> MustUnderstandChecker added to Phase OperationInFaultPhase
> 562629 [Timer-4] DEBUG org.apache.axis2.engine.AxisConfiguration -
> Adding service to allServices map: [HelloWorld]
> 562629 [Timer-4] DEBUG org.apache.axis2.engine.AxisConfiguration -
> Adding service to allEndpoints map: (HelloWorld,HelloWorldImplPort)
> 562629 [Timer-4] DEBUG org.apache.axis2.engine.AxisConfiguration -
> After adding to allEndpoints map, size is 13
>
>
> Why is this request on Tomcat not working as it works under the
> axis2server stand allone server?
>
> What is it and how do I pass a custom WSDL generator
>
> Josef
>
>
--
View this message in context: http://old.nabble.com/-axis2-1.6.1---samples-java_first_jaxws-project-tp33554099p34348172.html
Sent from the Axis - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org