[axis2] global initialization with 'request scope'
Title: [axis2] global initialization with 'request scope' Hi. I would like to keep my service in 'request scope', but I would also like to be able to do some sort of startup initialization once and for all (for example to create a JAXBContext object) and to be able to access this in each service invocation. Is this at all possible using Axis2? Kind regards, Jan Bauer Nielsen Center of Knowledge Technology, Technical Knowledge Center of Denmark Anker Engelunds Vej 1, Postboks 777, 2800 Kongens Lyngby, Denmark Direct: (+45) 4525 7221, [EMAIL PROTECTED]
Re: [Axis2] Yet another security/rampart question
Thanks again Ruchith. useReqSigCert was exactly what I was looking for. Jan Ruchith Fernando wrote: Hi, Yes !! This is possible.. In this case the value has to be "useReqSigCert" And the client must send a signed request to the service to pick the cert to encrypt with. thanks, Ruchith On 7/20/06, Jan Bauer Nielsen <[EMAIL PROTECTED]> wrote: Hi. I'm still a novice concerning ws-security but I have been studying the security sample from the axis2 distribution and I think I have a fair understanding of how it works. But now I am considering a use case where a number of clients each has its ows certificate. This excludes me from using in the server side services.xml. So is it possible to set this dynamically from the service class to get the response encrypted with the public key of the current client and how would I go about doing it? Kind regards, -- Jan Bauer Nielsen Center of Knowledge Technology, Technical Knowledge Center of Denmark Anker Engelunds Vej 1, Postboks 777, 2800 Kongens Lyngby, Denmark Direct: (+45) 4525 7221, [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] Yet another security/rampart question
Hi. I'm still a novice concerning ws-security but I have been studying the security sample from the axis2 distribution and I think I have a fair understanding of how it works. But now I am considering a use case where a number of clients each has its ows certificate. This excludes me from using in the server side services.xml. So is it possible to set this dynamically from the service class to get the response encrypted with the public key of the current client and how would I go about doing it? Kind regards, -- Jan Bauer Nielsen Center of Knowledge Technology, Technical Knowledge Center of Denmark Anker Engelunds Vej 1, Postboks 777, 2800 Kongens Lyngby, Denmark Direct: (+45) 4525 7221, [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2] unable to run security sample.
Thanks a lot Ruchith. Now everything seems to work as expected. :-) Jan Ruchith Fernando wrote: Hi Wan, My bad... I forgot to mention one more jar !! Please add this [1] in to both service and client classpath. Thanks, Ruchith [1] http://people.apache.org/repository/axis2/jars/axis2-rahas-SNAPSHOT.jar On 7/19/06, Wan Kaveevivitchai <[EMAIL PROTECTED]> wrote: Dear Ruchith, i had changed now the modules in my client_repo/modules from addressing-1.0.mar and rampart-1.0.mar to addressing-SNAPSHOT.mar and rampart-SNAPSHOT.mar. then i ran ant, and i got the following result Buildfile: build.xml securitySample: [java] 19.07.2006 12:44:21 org.apache.axis2.deployment.DeploymentEngine prepareRepository [java] INFO: no services directory found , new one created [java] 19.07.2006 12:44:21 org.apache.axis2.deployment.DeploymentEngine doDeploy [java] INFO: Deploying module : addressing [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/rahas/TrustException [java] at java.lang.Class.forName0(Native Method) [java] at java.lang.Class.forName(Class.java:219) [java] at org.apache.axis2.deployment.util.Utils.getHandlerClass(Utils.java:198) [java] at org.apache.axis2.deployment.util.Utils.addFlowHandlers(Utils.java:58) [java] at org.apache.axis2.deployment.DeploymentEngine.addNewModule(DeploymentEngine.java:335) [java] at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:690) [java] at org.apache.axis2.deployment.RepositoryListener.init(RepositoryListener.java:165) [java] at org.apache.axis2.deployment.RepositoryListener.(RepositoryListener.java:53) [java] at org.apache.axis2.deployment.DeploymentEngine.loadRepository(DeploymentEngine.java:109) [java] at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:120) [java] at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:60) [java] at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:166) [java] at sample.security.Client.main(Client.java:48) [java] Java Result: 1 BUILD SUCCESSFUL Total time: 2 seconds there was nothing return at the server side. please take a look Wan >From: "Ruchith Fernando" <[EMAIL PROTECTED]> >Reply-To: axis-user@ws.apache.org >To: axis-user@ws.apache.org >Subject: Re: [Axis2] unable to run security sample. >Date: Wed, 19 Jul 2006 15:58:58 +0530 > >Hi, > >since you are using the latest nightly you have to use >rampart-SNAPSHOT.mar [1] and addressing-SNAPSHOT.mar [2] not the 1.0 >release. > >Also please use wss4j-SNAPSHOT.jar [3]. > >I will update the README.txt. > >Thanks, >Ruchith > >[1] http://people.apache.org/repository/axis2/mars/rampart-SNAPSHOT.mar >[2] http://people.apache.org/repository/axis2/mars/addressing-SNAPSHOT.mar >[3] http://people.apache.org/repository/wss4j/jars/wss4j-SNAPSHOT.jar > >On 7/19/06, Jan Bauer Nielsen <[EMAIL PROTECTED]> wrote: >>Just to follow up on my own question. >> >>I can get the sample to work if I copy the secUtil.jar file to the >>axis2/WEB-INF/lib/ directory. But according to the 4th step in the >>README.txt this shouldn't be necessary. Can anyone shed some light on >>this? >> >>Jan >> >>Jan Bauer Nielsen wrote: >> > Hi. >> > >> > Using the latest nightly builds and following the steps in the README >> > file I get the following error from the server. Can anyone please >> > explain why this is so? >> > >> > $ ant securitySample >> > Buildfile: build.xml >> > >> > securitySample: >> > [java] Jul 19, 2006 9:34:44 AM >> > org.apache.axis2.deployment.DeploymentEngine prepareRepository >> > [java] INFO: no services directory found , new one created >> > [java] Jul 19, 2006 9:34:45 AM >> > org.apache.axis2.deployment.DeploymentEngine doDeploy >> > [java] INFO: Deploying module : rampart-1.0 >> > [java] Jul 19, 2006 9:34:45 AM >> > org.apache.axis2.deployment.DeploymentEngine doDeploy >> > [java] INFO: Deploying module : addressing-1.0 >> > [java] org.apache.axis2.AxisFault: WSHandler: cannot load password >> > callback class: sample.security.PWCallback; nested exception is: >> > [java] java.lang.ClassNotFoundException: >> > sample.security.PWCallback >> > [java] at >> > >>org
Re: [Axis2] unable to run security sample.
Just to follow up on my own question. I can get the sample to work if I copy the secUtil.jar file to the axis2/WEB-INF/lib/ directory. But according to the 4th step in the README.txt this shouldn't be necessary. Can anyone shed some light on this? Jan Jan Bauer Nielsen wrote: Hi. Using the latest nightly builds and following the steps in the README file I get the following error from the server. Can anyone please explain why this is so? $ ant securitySample Buildfile: build.xml securitySample: [java] Jul 19, 2006 9:34:44 AM org.apache.axis2.deployment.DeploymentEngine prepareRepository [java] INFO: no services directory found , new one created [java] Jul 19, 2006 9:34:45 AM org.apache.axis2.deployment.DeploymentEngine doDeploy [java] INFO: Deploying module : rampart-1.0 [java] Jul 19, 2006 9:34:45 AM org.apache.axis2.deployment.DeploymentEngine doDeploy [java] INFO: Deploying module : addressing-1.0 [java] org.apache.axis2.AxisFault: WSHandler: cannot load password callback class: sample.security.PWCallback; nested exception is: [java] java.lang.ClassNotFoundException: sample.security.PWCallback [java] at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:289) [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:538) [java] at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:472) [java] at sample.security.Client.main(Client.java:58) [java] Caused by: java.lang.Exception: org.apache.axis2.AxisFault: WSHandler: cannot load password callback class: sample.security.PWCallback; nested exception is: [java] java.lang.ClassNotFoundException: sample.security.PWCallback; nested exception is: [java] org.apache.ws.security.WSSecurityException: WSHandler: cannot load password callback class: sample.security.PWCallback; nested exception is: [java] java.lang.ClassNotFoundException: sample.security.PWCallback [java] at org.apache.axis2.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:336) [java] at org.apache.axis2.security.handler.WSDoAllHandler.invoke(WSDoAllHandler.java:82) [java] at org.apache.axis2.engine.Phase.invoke(Phase.java:380) [java] at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:523) [java] at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:492) [java] at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284) [java] at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:615) [java] at javax.servlet.http.HttpServlet.service(HttpServlet.java:688) [java] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) [java] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) [java] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) [java] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) [java] at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:272) [java] at org.apache.geronimo.tomcat.valve.TransactionContextValve.invoke(TransactionContextValve.java:53) [java] at org.apache.geronimo.tomcat.valve.ComponentContextValve.invoke(ComponentContextValve.java:47) [java] at org.apache.geronimo.tomcat.valve.InstanceContextValve.invoke(InstanceContextValve.java:60) [java] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) [java] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) [java] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) [java] at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526) [java] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) [java] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) [java] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744) [java] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) [java] at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) [java] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) [java] at java.lang.Thread.run(Thread.java:595) [java] Caused by: org.apache.ws.security.WSSecurityException: WSHandler: cannot
[Axis2] unable to run security sample.
.security.WSDoAllReceiver.processMessage(WSDoAllReceiver.java:147) [java] ... 27 more [java] Caused by: java.lang.ClassNotFoundException: sample.security.PWCallback [java] at java.net.URLClassLoader$1.run(URLClassLoader.java:200) [java] at java.security.AccessController.doPrivileged(Native Method) [java] at java.net.URLClassLoader.findClass(URLClassLoader.java:188) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) [java] at org.apache.geronimo.tomcat.TomcatClassLoader.loadClass(TomcatClassLoader.java:62) [java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) [java] at java.lang.Class.forName0(Native Method) [java] at java.lang.Class.forName(Class.java:164) [java] at org.apache.ws.security.util.Loader.loadClass(Loader.java:162) [java] at org.apache.ws.security.util.Loader.loadClass(Loader.java:135) [java] at org.apache.ws.security.handler.WSHandler.getPasswordCB(WSHandler.java:820) [java] ... 28 more [java] at org.apache.axis2.AxisFault.(AxisFault.java:159) [java] ... 4 more BUILD SUCCESSFUL Total time: 5 seconds Kind regards, -- Jan Bauer Nielsen Center of Knowledge Technology, Technical Knowledge Center of Denmark Anker Engelunds Vej 1, Postboks 777, 2800 Kongens Lyngby, Denmark Direct: (+45) 4525 7221, [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[Axis2] Insert raw xml string using axiom?
Hi, Being new to both Axis and axiom, I was wondering if is possible to insert a raw xml string in the outgoing envelope using axiom? Having fx. String ".."; SOAPFactory factory = OMAbstractFactory.getSOAP12Factory(); OMNamespace namespace = factory.createOMNamespace("http://ws.cvt.dk/deep-thought/";, "dpth"); OMElement resultElement = factory.createOMElement("answer",namespace); How would I be able to insert as child element of in one go? Kind regards, -- Jan Bauer Nielsen Center of Knowledge Technology, Technical Knowledge Center of Denmark Anker Engelunds Vej 1, Postboks 777, 2800 Kongens Lyngby, Denmark Direct: (+45) 4525 7221, [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Internal server error
Hi. Can anyone explain to me why the following request gives me an internal server error? I have attached the wsdl file. http://www.w3.org/2001/XMLSchema-instance"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";> xmlns="http://userguide.axis2.apache.org/Axis2SampleDocLit";> TEST1 org.apache.axiom.om.OMException org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265) org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.hasNext(OMChildrenQNameIterator.java:75) org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:222) org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.getHeader(SOAPEnvelopeImpl.java:76) org.apache.axis2.engine.AxisEngine.createFaultMessageContext(AxisEngine.java:183) org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:168) org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:153) javax.servlet.http.HttpServlet.service(HttpServlet.java:615) javax.servlet.http.HttpServlet.service(HttpServlet.java:688) Kind regards, -- Jan Bauer Nielsen Center of Knowledge Technology, Technical Knowledge Center of Denmark Anker Engelunds Vej 1, Postboks 777, 2800 Kongens Lyngby, Denmark Direct: (+45) 4525 7221, [EMAIL PROTECTED] http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="http://userguide.axis2.apache.org/Axis2SampleDocLit"; xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"; xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:xsd1="http://userguide.axis2.apache.org/xsd"; xmlns="http://schemas.xmlsoap.org/wsdl/"; targetNamespace="http://userguide.axis2.apache.org/Axis2SampleDocLit";>http://www.w3.org/2001/XMLSchema"; targetNamespace="http://userguide.axis2.apache.org/xsd"; elementFormDefault="qualified" attributeFormDefault="unqualified"> http://schemas.xmlsoap.org/soap/http"; />http://userguide.axis2.apache.org/Axis2SampleDocLit"; use="literal" />http://userguide.axis2.apache.org/Axis2SampleDocLit"; use="literal" />http://userguide.axis2.apache.org/Axis2SampleDocLit"; use="literal" />http://userguide.axis2.apache.org/Axis2SampleDocLit"; use="literal" />http://userguide.axis2.apache.org/Axis2SampleDocLit"; use="literal" />http://userguide.axis2.apache.org/Axis2SampleDocLit"; use="literal" />http://schemas.xmlsoap.org/soap/http"; />http://userguide.axis2.apache.org/Axis2SampleDocLit"; use="literal" />http://userguide.axis2.apache.org/Axis2SampleDocLit"; use="literal" />http://userguide.axis2.apache.org/Axis2SampleDocLit"; use="literal" />http://userguide.axis2.apache.org/Axis2SampleDocLit"; use="literal" />http://userguide.axis2.apache.org/Axis2SampleDocLit"; use="literal" />http://userguide.axis2.apache.org/Axis2SampleDocLit"; use="literal" />http://localhost:8080/axis2/services/Axis2SampleDocLitService"; />http://localhost:8080/axis2/services/Axis2SampleDocLitService"; />http://localhost:8080/axis2/rest/Axis2SampleDocLitService"; /> - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [Axis2] Axis2SampleDocLitService not working.
Hi, There is an XBeans-packaged.jar which I added to classpath, but the errors still persist. Jan Ajith Ranabahu wrote: Hi, For XMLbeans you'll have to add the generated xsb files to the classpath. if you've used the jar.client ant target then there should be xmlbeans-packaged.jar file in the build folder. Add that to the classpath and that should solve the problem :) Ajith On 6/15/06, Jan Bauer Nielsen <[EMAIL PROTECTED]> wrote: Hello. I am an Axis2 novice and I am therefore trying to work my way through the examples provided in the Axis2 userguide, but I am having getting the data binding examples to work. I am currently working on a debian sarge install with a Java 2 Standard Edition (build 1.5.0_06-b05). Axis2 v1.0 is deployed on a Geronimo v1.0 web application server. I created the skeleton using the following command: % sh WSDL2Java.sh -uri ../samples/wsdl/Axis2SampleDocLit.wsdl -ss -sd -d xmlbeans -o ../samples -p org.apache.axis2.userguide I added the code suggested to Axis2SampleDocLitServiceSkeleton.java and then ran % ant jar.server Finally I successfully deployed the service, I am not so sure it is working though. Testing from SOAP::Lite gives me Request: POST /axis2/services/Axis2SampleDocLitService HTTP/1.1 TE: deflate,gzip;q=0.3 Connection: TE, close Accept: text/xml Accept: multipart/* Accept: application/soap Host: localhost:8080 User-Agent: SOAP::Lite/Perl/0.67 Content-Length: 459 Content-Type: text/xml; charset=utf-8 SOAPAction: "#echoString" http://www.w3.org/2001/XMLSchema-instance"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";> xsi:type="xsd:string">Axis2 Echo Response: HTTP/1.1 500 Internal Server Error Server: Apache-Coyote/1.1 Content-Type: text/html;charset=utf-8 Content-Length: 1901 Date: Thu, 15 Jun 2006 10:56:29 GMT Connection: close Apache Tomcat/5.5.9 - Error report<!--H1 </pre><tt>{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} </tt><tt> </tt><pre style="margin: 0em;"> H2 </pre><tt>{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} </tt><tt> </tt><pre style="margin: 0em;"> H3 </pre><tt>{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} </tt><tt> </tt><pre style="margin: 0em;"> BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B </pre><tt>{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} </tt><tt> </tt><pre style="margin: 0em;"> P </pre><tt>{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A </tt><tt> </tt><pre style="margin: 0em;"> {color : black;}A.name {color : black;}HR {color : #525D76;}--> HTTP Status 500 - type Exception reportmessage description The server encountered an internal error () that prevented it from fulfilling this request.exception org.apache.axiom.om.OMException org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265) org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.hasNext(OMChildrenQNameIterator.java:75) org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:222) org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.getHeader(SOAPEnvelopeImpl.java:76) org.apache.axis2.engine.AxisEngine.createFaultMessageContext(AxisEngine.java:183) org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:168) org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:153) javax.servlet.http.HttpServlet.service(HttpServlet.java:615) javax.servlet.http.HttpServlet.service(HttpServlet.java:688) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.9 logs.Apache Tomcat/5.5.9 So obviously I have done something wrong somewhere? As a further ado I also tried to build a client stub % sh WSDL2Java.sh -uri ../samples/build/classes/META-INF/Axis2SampleDocLitService.wsdl -d xmlbeans -o ../samples -p org.apache.axis2.userguide % jar.client I then wrote this simple client class: import org.apache.axis2.userguide.*; public class Client { public static void main(String[] args) { try { Axis2SampleDocLitServiceStub stub = new Axis2SampleDocLitServiceStub(null, "http://localhost:8080/axis2/services/Axis2SampleDocLitService";); EchoStringParamDocument reqDoc = EchoStringParamDocument.Factory.newInstance(); reqDoc.setEchoStringParam("Axis2 Echo&qu
[Axis2] Axis2SampleDocLitService not working.
xis2-std-1.0-bin/lib/axis2-adb-1.0.jar:/home/jbn/axis2-std-1.0-bin/lib/axis2-codegen-1.0.jar:/home/jbn/axis2-std-1.0-bin/lib/axis2-jibx-1.0.jar:/home/jbn/axis2-std-1.0-bin/lib/axis2-kernel-1.0.jar:/home/jbn/axis2-std-1.0-bin/lib/axis2-tools-1.0.jar:/home/jbn/axis2-std-1.0-bin/lib/axis2-xmlbeans-1.0.jar:/home/jbn/axis2-std-1.0-bin/lib/backport-util-concurrent-2.1.jar:/home/jbn/axis2-std-1.0-bin/lib/commons-codec-1.3.jar:/home/jbn/axis2-std-1.0-bin/lib/commons-fileupload-1.0.jar:/home/jbn/axis2-std-1.0-bin/lib/commons-httpclient-3.0.jar:/home/jbn/axis2-std-1.0-bin/lib/commons-logging-1.0.4.jar:/home/jbn/axis2-std-1.0-bin/lib/geronimo-spec-activation-1.0.2-rc4.jar:/home/jbn/axis2-std -1.0-bin/lib/geronimo-spec-javamail-1.3.1-rc5.jar:/home/jbn/axis2-std-1.0-bin/lib/geronimo-spec-jms-1.1-rc4.jar:/home/jbn/axis2-std-1.0-bin/lib/jaxen-1.1-beta-8.jar:/home/jbn/axis2-std-1.0-bin/lib/jaxme2-0.5.1.jar:/home/jbn/axis2-std-1.0-bin/lib/jaxmeapi-0.5.1.jar:/home/jbn/axis2-std-1.0-bin/lib/jaxmejs-0.5.1.jar:/home/jbn/axis2-std-1.0-bin/lib/jaxmexs-0.5.1.jar:/home/jbn/axis2-std-1.0-bin/lib/log4j-1.2.13.jar:/home/jbn/axis2-std-1.0-bin/lib/neethi-1.0.1.jar:/home/jbn/axis2-std-1.0-bin/lib/servletapi-2.3.jar:/home/jbn/axis2-std-1.0-bin/lib/stax-api-1.0.jar:/home/jbn/axis2-std-1.0-bin/lib/stax-utils-20060501.jar:/home/jbn/axis2-std-1.0-bin/lib/wsdl4j-1.5.2.jar:/home/jbn/axis2-std-1.0-bin/lib/wstx-asl-2.9.3.jar:/home/jbn/axis2-std-1.0-bin/lib/xbean-2.1.0.jar:/home/jbn/axis2-std-1.0-bin/lib/XmlSchema-1.0.2.jar Client.java Client.java:8: cannot find symbol symbol : class EchoStringParamDocument location: class Client EchoStringParamDocument reqDoc = EchoStringParamDocument.Factory.newInstance(); ^ Client.java:8: package EchoStringParamDocument does not exist EchoStringParamDocument reqDoc = EchoStringParamDocument.Factory.newInstance(); ^ Client.java:11: cannot find symbol symbol : class EchoStringReturnDocument location: class Client EchoStringReturnDocument resDoc = stub.EchoString(reqDoc); ^ 3 errors Any pointers to what I might possibly be doing wrong are most welcome. Kind regards, -- Jan Bauer Nielsen Center of Knowledge Technology, Technical Knowledge Center of Denmark Anker Engelunds Vej 1, Postboks 777, 2800 Kongens Lyngby, Denmark Direct: (+45) 4525 7221, [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]