RE: Dodging the spam filter Axis admin won't start
check commons-fileupload-1.2.jar in located on your %CLASSPATH% my commons-fileupload-1.2.jar is located on \axis2-1.5\stagingRepo\axis2-1.5\lib\commons-fileupload-1.2.jar HTH Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we ask politely to report. Each unauthorized forwarding or manufacturing of a copy is inadmissible. This message serves only for the exchange of information and has no legal binding effect. Due to the easy manipulation of emails we cannot take responsibility over the the contents. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: ckn...@onebox.com > To: axis-user@ws.apache.org > Subject: Dodging the spam filter Axis admin won't start > Date: Wed, 15 Apr 2009 19:13:44 -0400 > > Log entries appear in: > > C:\geronimo\geronimo-tomcat6-javaee5-2.1.4\var\log\geronimo.log > > The relevant section starts with: > > 2009-04-15 18:25:42,609 ERROR [[AxisAdminServlet]] Allocate exception for > servlet AxisAdminServlet > java.lang.ClassNotFoundException: > org.apache.commons.fileupload.FileUploadException in classloader > org.apache.geronimo.configs/axis2/2.1.4/car > > At face value, it looks like a class that should have been included in the > download doesn't seem to have been there. > > What do you suggest? > -- > Charles Knell > ckn...@onebox.com - email _ Rediscover Hotmail®: Now available on your iPhone or BlackBerry http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile1_042009
Dodging the spam filter Axis admin won't start
Log entries appear in: C:\geronimo\geronimo-tomcat6-javaee5-2.1.4\var\log\geronimo.log The relevant section starts with: 2009-04-15 18:25:42,609 ERROR [[AxisAdminServlet]] Allocate exception for servlet AxisAdminServlet java.lang.ClassNotFoundException: org.apache.commons.fileupload.FileUploadException in classloader org.apache.geronimo.configs/axis2/2.1.4/car At face value, it looks like a class that should have been included in the download doesn't seem to have been there. What do you suggest? -- Charles Knell ckn...@onebox.com - email
RE: Raw beginner needs help with Axis admin page
check for errors in %TOMCAT_HOME%/logs/localhost.-MM-DD.log Martin __ Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de déni et de confidentialité This message is confidential. If you should not be the intended receiver, then we ask politely to report. Each unauthorized forwarding or manufacturing of a copy is inadmissible. This message serves only for the exchange of information and has no legal binding effect. Due to the easy manipulation of emails we cannot take responsibility over the the contents. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: ckn...@onebox.com > To: axis-user@ws.apache.org > Subject: Raw beginner needs help with Axis admin page > Date: Wed, 15 Apr 2009 18:33:14 -0400 > > I've installed Axis on the Geronimo/Tomcat server. > The Axis2 Happiness Page appears at > "http://localhost:8090/axis2/axis2-web/HappyAxis.jsp";. > > I now want to log in to the admin page, however, when I try the URL > "http://localhost:8090/axis2/axis2-admin/login";, I get an "Internal server > error" message. > > Can anyone point me in the right direction? > > Thanks. > > -- > Charles Knell > ckn...@onebox.com - email > > _ Rediscover Hotmail®: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009
Raw beginner needs help with Axis admin page
I've installed Axis on the Geronimo/Tomcat server. The Axis2 Happiness Page appears at "http://localhost:8090/axis2/axis2-web/HappyAxis.jsp";. I now want to log in to the admin page, however, when I try the URL "http://localhost:8090/axis2/axis2-admin/login";, I get an "Internal server error" message. Can anyone point me in the right direction? Thanks. -- Charles Knell ckn...@onebox.com - email
RE: Axis2 commons-httpclient 3.1 dependencies
There was recent discussion on HTTP client on the axis2 dev list. I suggest you ask there. George _ From: Jeudy, Guillaume [mailto:gje...@teksystems.com] Sent: Wednesday, April 15, 2009 7:57 AM To: axis-user@ws.apache.org Subject: Axis2 commons-httpclient 3.1 dependencies Hi, I'm considering upgrading axis2 to use the new httpclient 4.0 in conjunction with jcifs library in order to support HTTP NTLMv2 connections. I need feedback from axis2 contributors/developers. Please confirm what steps I should take to achieve that. 1. Implement a new TransportSender using httpclient 4.0. I'm hoping I can base my code on the existing CommonsHTTPTransportSender and port it to use httpclient 4.0. 2. Modify axis2.xml to use my new TransportSender. Can anyone tell me if there are any hidden runtime dependencies I should be aware of? Based on the axis2 source code analysis I made; it seems like httpclient 3.1 is only used in CommonsHTTPTransportSender class and that class can be completely ignored at runtime if axis2.xml is not configured to use it, please correct me if i'm wrong. Thank you! -Guillaume Jeudy _ This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you.
adding schema reference to Soap Envelope
Hi, I am new to Axis2 and was wondering how can get a handle to response SoapEnvelope? I want to update the response SoapEnvelop element (generated by Axis2 ) as: original: http://www.w3.org/2003/05/soap-envelope";> update it to: http://www.w3.org/2003/05/soap-envelope"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://www.w3.org/2003/05/soap-envelope http://www.w3.org/2003/05/soap-envelope/soap-envelope.xsd";> The reason I want to do is because my response payload within the body has following 3 things: 1) return code (string) 2) memberId (Long) 3) xml document ( of type String) Since this is a xml document -- its root element also defines xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance"and xsi:schemaLocation... Now if I don't wrap this element in CDATA section - then XMLSpy says -- The element declaration was not found for root element But if I don't wrap it with CDATA section and update soapenv:Envelope to have xmlns:xsi and xsi:schemaLocation (as stated above) --- then everything is fine. So I was wondering where and how should I update the outgoing soapEnvelope to have above mentioned references. Please let me know - really appreciate your help. -Rishi
Use of XXXcallbackhandler.java
Hi all, I have a question on the code generated by wsdl2java There is a class named CallbackHandler.java And I used this callbackhandler in my asynchronous client code with service.startAction(request, callbackhandler); but the service is not called and callbackhandler is not invoked somehow. Also, if I engage the addressing, the exception will be thrown Unable to engage module : addressing Does someone know an example to use callbackhandler? or I have to use non blocking invocation? I am using Axis2-1.4.1 and ran the client from Eclipse my code looked like SimpleServiceStub service = new SimpleServiceStub(); ConcatRequest request = new ConcatRequest(); ServiceClient client = service._getServiceClient(); Options options = client.getOptions(); options.setAction("urn:concat"); //Callback to handle the response SimpleServiceCallbackHandler call = new SimpleServiceCallbackHandler(){ public void receiveResultconcat(ConcatResponse result) { System.out.println(result.getConcatResponse()); } }; client.setOptions(options); //Cause Unable to engage module : addressing //client.engageModule("addressing"); request.setS1("123"); request.setS2("456"); service.startconcat(request, call); Thank you in advance David
[ANNOUNCE] Axis2 1.5 Release Candidate ready for testing
Hi all! After a failed set of attempts to use the Maven release plugin, I've built and uploaded a Release Candidate for Axis2 1.5. Please check it out, kick the tires, etc. If I don't hear anything back in the next day or so I'll start a VOTE to release these bits as 1.5. You can find the distribution files in here: http://people.apache.org/~gdaniels/stagingRepo/org/apache/axis2/distribution/1.5/ And the M2 repository with everything is of course: http://people.apache.org/~gdaniels/stagingRepo Thanks, --Glen
Message Receiver not found for AxisOperation error with Axis2 1.4.1 and service built using JAX-WS
Hi All I am getting below error when a client calls a web service operation built using Axis2 1.4.1, Java 1.6, JAX-WS and Tomcat 6.0.18: [ERROR] Message Receiver not found for AxisOperation: {http://service/}getQuote org.apache.axis2.AxisFault: Message Receiver not found for AxisOperation: {http: //service/}getQuote Here are the steps followed: 1) Axis2 war file is deployed in Tomcat 6.0.18. 2) Using top-down model with existing wsdl. Generated server and client side code using wsimport tool part of Java 1.6. Added Java implementation class for interface and deployed the service under services folder in axis2 WEB-INF.The service is deployed and it is active. 3) When I run the client I get an exception with above exception message 4) I also built service using axis2 WSDL2Java tool (adb as data binding) and deployed it. When I ran the client (which is built using JAX-WS api) it works fine. So the error is in service side with JAX-WS. Is it a bug in axis2 1.4.1 implememtation or some thing I am missing? Please help me resolve this issue. Below are the service implementation class, services.xml and wsdl files: Prj71Impl.java --- package service; import javax.jws.WebService; import javax.xml.ws.BindingType; import javax.xml.ws.soap.SOAPBinding; @WebService(endpointInterface = "service.Prj71", serviceName = "Prj71Service", wsdlLocation="META-INF/Prj71Service.wsdl", portName= "Prj71Port") public class Prj71Impl implements Prj71 { public GetQuoteResponse getQuote(GetQuoteRequest req) { GetQuoteResponse res = new GetQuoteResponse(); res.setReturn(100); return res; } } services.xml http://www.w3.org/2004/08/wsdl/in-out"; class="org.apache.axis2.jaxws.server.JAXWSMessageReceiver"/> service.Prj71Impl true true http://www.w3.org/2004/08/wsdl/in-out"; namespace="http://service/";> tns:getQuote http://service/Prj71/getQuoteResponse Prj7Service.wsdl - http://service/"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:tns="http://service/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";> http://service/"; schemaLocation="Prj71Service_schema1.xsd"/> http://schemas.xmlsoap.org/soap/http"; style="document"/> http://localhost:8080/axis2/services/Prj71Service"/> Thanks Ramesh DTCC DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify us immediately and delete the email and any attachments from your system. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
Axis2 commons-httpclient 3.1 dependencies
Hi, I'm considering upgrading axis2 to use the new httpclient 4.0 in conjunction with jcifs library in order to support HTTP NTLMv2 connections. I need feedback from axis2 contributors/developers. Please confirm what steps I should take to achieve that. 1. Implement a new TransportSender using httpclient 4.0. I'm hoping I can base my code on the existing CommonsHTTPTransportSender and port it to use httpclient 4.0. 2. Modify axis2.xml to use my new TransportSender. Can anyone tell me if there are any hidden runtime dependencies I should be aware of? Based on the axis2 source code analysis I made; it seems like httpclient 3.1 is only used in CommonsHTTPTransportSender class and that class can be completely ignored at runtime if axis2.xml is not configured to use it, please correct me if i'm wrong. Thank you! -Guillaume Jeudy This electronic mail (including any attachments) may contain information that is privileged, confidential, and/or otherwise protected from disclosure to anyone other than its intended recipient(s). Any dissemination or use of this electronic email or its contents (including any attachments) by persons other than the intended recipient(s) is strictly prohibited. If you have received this message in error, please notify us immediately by reply email so that we may correct our internal records. Please then delete the original message (including any attachments) in its entirety. Thank you.
Re: How to monitor SOAP messages in the Client without changing the server?
On Wed, Apr 15, 2009 at 9:44 AM, robert lazarski wrote: > On Tue, Apr 14, 2009 at 11:25 PM, Joe Smithian wrote: >> Hi all, >> >> Can any one please let me know how can I display SOAP request and response >> messages in a SOAP AXIS2 Client GUI application? > > Umm, the soap monitor perhaps? > > http://ws.apache.org/axis2/1_4_1/soapmonitor-module.html > > There's also tcpmon: > > https://tcpmon.dev.java.net/ > > - R > Oops, I'm just waking up and I just noticed you can't use either of those. Maybe try the Logging Module and get the info you need from there. http://ws.apache.org/axis2/1_4/modules.html - R
Re: How to monitor SOAP messages in the Client without changing the server?
On Tue, Apr 14, 2009 at 11:25 PM, Joe Smithian wrote: > Hi all, > > Can any one please let me know how can I display SOAP request and response > messages in a SOAP AXIS2 Client GUI application? Umm, the soap monitor perhaps? http://ws.apache.org/axis2/1_4_1/soapmonitor-module.html There's also tcpmon: https://tcpmon.dev.java.net/ - R
Re: href mistake on "Creating Client" page of User's Guide
John, I corrected this and it will be fixed for the Axis2 1.5 documentation. Thanks for reporting this. Andreas On Tue, Apr 14, 2009 at 17:27, John wrote: > At http://ws.apache.org/axis2/1_3/userguide-creatingclients.html#adb, it > reads: > > == > Axis Data Binding (ADB) > To create a client using ADB, execute the following steps: The short story: > 1. href="http://ws.apache.org/axis2/download/1_3/download.cgi#std-bin"; > Download and unpack the Apache Axis2 Standard Distribution... > == > > There is a mistake with the href attribute of the anchor tag. Rather then > having the "download" link take the reader to the URL, the href attribute > appears directly on the page. > >