RE: TRACE related defines in AxisTrace.h
Mike, if you did not download the source from subversion I would really recommend you do so. The distributions available for download on the site are very old. The newer subversion files have several bugs fixed from the distributions and the WSDL2Ws tool generates much better (read more correct) soap stubs. -Ryan -Original Message- From: Mike Marchywka [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 8:27 AM To: axis-c-user@ws.apache.org Subject: TRACE related defines in AxisTrace.h Hi, I downloaded the linux source the other day and am trying to build this under cygwin. I don't have ant which AFAIK is your suggested build tool. However, most of the stuff just compiles with a few minor issues in some things like time include files. However, I encountered this thing and I'm not sure what to make of it. I just want to write some simple test programs to exchange SOAP messages with a remote server and would prefer to have any trace/debug tools enabled but at this point a reference to doc's describing these defines would help. Thanks. #ifdef AXISTRACE_LIBRARY extern AxisTraceEntrypoints *g_traceEntrypoints; #elif !defined(AXIS_CLIENTC_LIB) extern AxisTraceEntrypoints g_traceEntrypoints; #endif #ifdef AXISTRACE_LIBRARY_MAINENTRYPOINT AxisTraceEntrypoints *g_traceEntrypoints = NULL; #endif $ for f in `ls *.cpp`; do g=`echo $f| sed -e 's/\.cpp/.o/'` ; if [ ! -e $g ] ; then echo $f; g++ -D__CYGWIN__ -I../../../include -c $f ; fi ; done ChannelFactory.cpp HTTPTransport.cpp HTTPTransportException.cpp HTTPTransportInstantiator.cpp In file included from HTTPTransportInstantiator.cpp:27: ../../common/AxisTrace.h:126: error: conflicting declaration 'axiscpp::AxisTrace Entrypoints*axiscpp::g_traceEntrypoints' ../../common/AxisTrace.h:122: error: 'axiscpp::g_traceEntrypoints' has a previou s declaration as `axiscpp::AxisTraceEntrypoints axiscpp::g_traceEntrypoints' ../../common/AxisTrace.h:126: error: type mismatch with previous external decl o f `axiscpp::AxisTraceEntrypoints*axiscpp::g_traceEntrypoints' ../../common/AxisTrace.h:122: error: previous external decl of `axiscpp::AxisTra ceEntrypoints axiscpp::g_traceEntrypoints' ../../common/AxisTrace.h:126: error: declaration of `axiscpp::AxisTraceEntrypoin ts*axiscpp::g_traceEntrypoints' ../../common/AxisTrace.h:122: error: conflicts with previous declaration `axiscp p::AxisTraceEntrypoints axiscpp::g_traceEntrypoints' URL.cpp AxisConfig.h has this little comment at top, #ifdef ENABLE_AXISTRACE /* TRACE ADDED BY THE TRACE INSTRUMENTOR TOOL */ #include ../common/AxisTrace.h #endif Mike Marchywka 586 Saint James Walk Marietta GA 30067-7165 404-788-1216 (C)- leave message 989-348-4796 (P)- emergency only [EMAIL PROTECTED] Note: If I am asking for free stuff, I normally use for hobby/non-profit information but may use in investment forums, public and private. Please indicate any concerns if applicable. Note: Hotmail is possibly blocking my mom's entire ISP - try me on [EMAIL PROTECTED] if no reply here. Thanks. _ Enjoy 5 GB of free, password-protected online storage. http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_ skydrive_062008 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature
RE: TRACE related defines in AxisTrace.h
Mike, if you did not download the source from subversion I would really Thanks, but I just took the two most recent tarballs for c++ and java. In any case, if it is just a generator bug I'm happy for now. I can't believe I hand generated ( no ant or build tool ) 3 dll's under cygwin and got a program that seems to run- the calculator example hit my echo program with credible xml ( I didn't try to build the mock server, I have listeners for basic stuff). As long as I know that these are just little items I think I will push through to a proof of concept app and then go back and repeat everything more cleanly. I can fix the generated code as long as I have some idea what I'm doing. Mike Marchywka 586 Saint James Walk Marietta GA 30067-7165 404-788-1216 (C)- leave message 989-348-4796 (P)- emergency only [EMAIL PROTECTED] Note: If I am asking for free stuff, I normally use for hobby/non-profit information but may use in investment forums, public and private. Please indicate any concerns if applicable. Note: Hotmail is possibly blocking my mom's entire ISP - try me on [EMAIL PROTECTED] if no reply here. Thanks. Subject: RE: TRACE related defines in AxisTrace.h Date: Thu, 5 Jun 2008 09:54:21 -0600 From: [EMAIL PROTECTED] To: axis-c-user@ws.apache.org Mike, if you did not download the source from subversion I would really recommend you do so. The distributions available for download on the site are very old. The newer subversion files have several bugs fixed from the distributions and the WSDL2Ws tool generates much better (read more correct) soap stubs. -Ryan _ Instantly invite friends from Facebook and other social networks to join you on Windows Live™ Messenger. https://www.invite2messenger.net/im/?source=TXT_EML_WLH_InviteFriends - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
rampart libs being copied incorrectly
Hey guys, I downloaded axis2c 1.4 and rampart 1.2 and built them. when I did an ls -l of the axis2/c lib folder, i saw this bash-3.00$ ls -l axis2c/lib/libmod_rampart.* -rwxr-xr-x 1 subra user1551 Jun 4 18:34 /nfs/home/subra/axis2c/lib/ libmod_rampart.la -rwxr-xr-x 1 subra user 6485794 Jun 4 18:34 /nfs/home/subra/axis2c/lib/libmod_rampart.so -rwxr-xr-x 1 subra user 6485794 Jun 4 18:34 /nfs/home/subra/axis2c/lib/libmod_rampart.so.0 -rwxr-xr-x 1 subra user 6485794 Jun 4 18:34 /nfs/home/subra/axis2c/lib/libmod_rampart.so.0.0.0 as you can see the symbolic links are missing here. 'libmod_rampart.so' and 'libmod_rampart.so.0' are not linked to 'libmod_rampart.so.0.0.0' but in the axis2c/modules/rampart folder, they are linked correctly. My question is: 1. why are these libraries even present in the axis2c/lib folder. as far as i remember, this was not happening in earlier versions of rampart. 2. will they cause any problem/conflict? Subra
RE: [AXIS2] - How to control To element in the SOAP header?
Hi Eran, Actually, I think Axis2 is fine and is setting the wsa:To properly. It's Victor's createSOAPEnvelope() code that I believe is wrong because it manually adds its own wsa:To element. The end result is a SOAP header with two wsa:To elements. I don't believe this is correct. So if I'm reading this right, Victor is asking for a solution that will allow him to change/override the wsa:To value that Axis2 sets there by default (from the EndpointReference). I don't have the solution, but I'm merely stating that even if there was, using that solution to make wsa:To and EndpointReference.address be different values...may end up in a message that's not WS-Addressing compliant. Designs/implementations that do require non-compliant messages like this probably needs to be re-evaluated closely:) -Vinh From: Eran Chinthaka [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 9:23 PM To: axis-user@ws.apache.org Subject: Re: [AXIS2] - How to control To element in the SOAP header? Oh I see.Thanks Vinh for the update ;) Can you please help Axis2 to implement it properly to be WS-Addressing compliant ? On Wed, Jun 4, 2008 at 4:00 PM, Vinh Nguyen (vinguye2) [EMAIL PROTECTED] wrote: Hi, The WS-Addressing spec states that the address value of the EndpointReference should be copied into the To header. If implementations are doing otherwise, they are probably not WS-Addressing compliant. See Section 2.3 of the following link: http://www.w3.org/Submission/ws-addressing/ Hope this helps... -Vinh From: Victor Solakhian [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 3:01 PM To: axis-user@ws.apache.org Subject: RE: [AXIS2] - How to control To element in the SOAP header? Hi Chinthaka, Actually createSOAPEnvelope() method is mine. It creates an envelope that has To element in the header according to specs of the Web Servcies server. The Axis2 code that sends the message adds another To header block using the value that was set in options.setTo() method. The problem is that sometimes servers expect values in the To element that differ from the value of the endpoint reference used to send messages. I do not know if this is a bug in Axis2. I know that some developers used Axis1 to successfully implement desired behavior. Thanks From: Eran Chinthaka [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 5:41 PM To: axis-user@ws.apache.org Subject: Re: [AXIS2] - How to control To element in the SOAP header? Hi Victor, If createSOAPEnvelope() method adds wsa:To header, then it is a bug, IMO. Please create a bug in JIRA and someone will look in to this (but it might take some time for me to commit in to this :( ) Thanks, Chinthaka On Wed, Jun 4, 2008 at 10:37 AM, Victor Solakhian [EMAIL PROTECTED] wrote: I have code that creates a SOAP envelope and sends it using Axis2 ServiceCLient. EndpointReference targetEPR = new EndpointReference(https://...;); String action = ...; client = new ServiceClient(ctx, null); operationClient = client.createClient(ServiceClient.ANON_OUT_IN_OP); MessageContext outMsgCtx = new MessageContext(); Options options = outMsgCtx.getOptions(); options.setTo(targetEPR); options.setSoapVersionURI(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI); options.setProperty(HTTPConstants.CHUNKED, false); options.setAction(action); outMsgCtx.setEnvelope(createSOAPEnvelope(operation, payload)); operationClient.addMessageContext(outMsgCtx); operationClient.execute(true); Now the createSOAPEnvelope(operation, payload)) method creates an envelope with a header that includes: soapenv:Header ... wsa:To xmlns:wsa=http://schemas.xmlsoap.org/ws/2004/08/addressing; urn:xxx.yyy.com.zzz /wsa:To which is expected by the web services server, but Axis2 code adds another To element: wsa:To https://... /wsa:To to the header (using the endpoint reference set by options.setTo(targetEPR)). We need to set the
Re: [Axis2] response content
Is it whether my following reply did not answer ur questions or whether you simply missed it.. http://markmail.org/message/lt65mrgnkr7egqjk The earlier mails in axis-dev related to this... http://markmail.org/message/rrtsu7x22pkwya2e IMHO I do not think this as a much of a limitation given that users can enable MTOM per operation wise and also they can use optional for enableMTOM.. thanks, Thilina On Wed, Jun 4, 2008 at 10:28 PM, Tony Dean [EMAIL PROTECTED] wrote: Anyone have any answers to the question below. Thanks. -Original Message- From: Tony Dean [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2008 4:41 PM To: [EMAIL PROTECTED] Subject: [Axis2] response content Hi, I have a web service that is returning XML... it's schema type is xsd:any. I would expect the content to be returned as follows: HTTP/1.0 200 OK Content-Type: text/xml ?xml version='1.0' encoding='UTF-8'? soapenv:Envelope soapenv:Body ... /soapenv:Body /soapenv:Envelope I would expect this to be returned whether MTOM is enabled or not. Wouldn't you? Here's the response from Axis2 service when MTOM is disabled in the Axis2.conf server config file: HTTP/1.0 200 OK Proxy-Connection: close X-Powered-By: Servlet 2.4; JBoss-4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)/Tomcat-5.5 X-Cache-Lookup: MISS from inetgw04.unx.sas.com:80 Date: Tue, 03 Jun 2008 20:10:23 GMT X-Cache: MISS from inetgw04.unx.sas.com Content-Type: text/xml;charset=UTF-8 Server: Apache-Coyote/1.1 ?xml version='1.0' encoding='UTF-8'? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Body . /soapenv:Body /soapenv:Envelope Looks correct. --- - Here's the response from Axis2 service when MTOM is enabled in the Axis2.conf server config file: HTTP/1.0 200 OK Proxy-Connection: close X-Powered-By: Servlet 2.4; JBoss-4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)/Tomcat-5.5 X-Cache-Lookup: MISS from inetgw04.unx.sas.com:80 Date: Tue, 03 Jun 2008 20:27:29 GMT X-Cache: MISS from inetgw04.unx.sas.com Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_93D2E13819F92A45691212524849948; type=application/xop+xml; start=0.urn:uuid:[EMAIL PROTECTED][EMAIL PROTECTED]; start- info=text/xml Server: Apache-Coyote/1.1 --MIMEBoundaryurn_uuid_93D2E13819F92A45691212524849948 Content-Type: application/xop+xml; charset=UTF-8; type=text/xml Content-Transfer-Encoding: binary Content-ID: 0.urn:uuid:[EMAIL PROTECTED][EMAIL PROTECTED] ?xml version='1.0' encoding='UTF-8'? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Body /soapenv:Body /soapenv:Envelope Why use multipart/related content type when there are no attachments? That is, why make an attachment out of the SOAP envelope itself when there are no real attachments? Is this correct behavior? I'd like to hear your comments. Thanks. Tony Dean SAS Institute Inc. 919.531.6704 [EMAIL PROTECTED] SAS... The Power to Know http://www.sas.com - 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] -- Thilina Gunarathne - http://thilinag.blogspot.com
Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space
Hi, nbsp; I have copied the stubs created using wsdl2java into the local directory. But when I compile the application, it shows the error : java.lang.OutOfMemoryError: Java heap space. Can you please tell me is this any work around for this without affecting other applications when we put this application on live environment ? Please help me. I still couldn't access the external application using this. nbsp; Thanks, --- On Wed, 4/6/08, Paul Fremantle lt;[EMAIL PROTECTED]gt; wrote: From: Paul Fremantle lt;[EMAIL PROTECTED]gt; Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: gt; gt; Thanks Paul for the quick reply. gt; gt; I have got axis-bin-1_4. In which directory I should run this ? I have done gt; an advnced installation gt; http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp gt; gt; gt; gt; Thank you very much, gt; gt; gt; gt; --- On Wed, 4/6/08, Paul Fremantle lt;[EMAIL PROTECTED]gt; wrote: gt; gt; From: Paul Fremantle lt;[EMAIL PROTECTED]gt; gt; Subject: Re: wsdl gt; To: axis-user@ws.apache.org, [EMAIL PROTECTED] gt; Date: Wednesday, 4 June, 2008, 4:23 PM gt; gt; You need to run gt; gt; bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o gt; directory\where\you\want\the\code\generated gt; gt; This will create a stub which is a class you can embed in your gt; application. You simply need to create a new instance of this class gt; and then call methods on it, those methods will call the remote gt; service. gt; gt; Paul gt; gt; On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma lt;[EMAIL PROTECTED]gt; gt; wrote: gt;gt; Hi, gt;gt; gt;gt; gt;gt; gt;gt; I am new to the web services and so as to axis. Please help me. gt;gt; gt;gt; I have to show something this week. I have been working to sort this out gt;gt; since last 4 days. gt;gt; gt;gt; I am sorry to say this. gt;gt; gt;gt; gt;gt; gt;gt; I have an existing web application. To use axis in existing application, gt;gt; gt;gt; I have done : gt;gt; gt;gt; 1.copy all jars from axis.lib directory gt;gt; gt;gt; 2.copy axis's web.xml servlet params and mapping to to my web.xml gt;gt; gt;gt; gt;gt; gt;gt; I have got a wsdl url from an external application (to be integrated with gt; my gt;gt; application) gt;gt; gt;gt; Now what should I do to use this wsdl to access the external application ? gt;gt; gt;gt; Please kind enough to me. gt;gt; gt;gt; gt;gt; gt;gt; Many Thanks, gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; Sent from Yahoo! Mail. gt;gt; A Smarter Email. gt; gt; gt; gt; -- gt; Paul Fremantle gt; Co-Founder and CTO, WSO2 gt; Apache Synapse PMC Chair gt; OASIS WS-RX TC Co-chair gt; gt; blog: http://pzf.fremantle.org gt; [EMAIL PROTECTED] gt; gt; Oxygenating the Web Service Platform, www.wso2.com gt; gt; - gt; To unsubscribe, e-mail: [EMAIL PROTECTED] gt; For additional commands, e-mail: [EMAIL PROTECTED] gt; gt; gt; Sent from Yahoo! Mail. gt; A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] Oxygenating the Web Service Platform, www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space
I am using axis2 1.3 version with java-1.5 and tomcat-5.5.17 Please help me. --- On Thu, 5/6/08, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: From: Jyotsna Varma lt;[EMAIL PROTECTED]gt; Subject: Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 1:25 PM Hi, nbsp; I have copied the stubs created using wsdl2java into the local directory. But when I compile the application, it shows the error : java.lang.OutOfMemoryError: Java heap space. Can you please tell me is this any work around for this without affecting other applications when we put this application on live environment ? Please help me. I still couldn't access the external application using this. nbsp; Thanks, --- On Wed, 4/6/08, Paul Fremantle lt;[EMAIL PROTECTED]gt; wrote: From: Paul Fremantle lt;[EMAIL PROTECTED]gt; Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: gt; gt; Thanks Paul for the quick reply. gt; gt; I have got axis-bin-1_4. In which directory I should run this ? I have done gt; an advnced installation gt; http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp gt; gt; gt; gt; Thank you very much, gt; gt; gt; gt; --- On Wed, 4/6/08, Paul Fremantle lt;[EMAIL PROTECTED]gt; wrote: gt; gt; From: Paul Fremantle lt;[EMAIL PROTECTED]gt; gt; Subject: Re: wsdl gt; To: axis-user@ws.apache.org, [EMAIL PROTECTED] gt; Date: Wednesday, 4 June, 2008, 4:23 PM gt; gt; You need to run gt; gt; bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o gt; directory\where\you\want\the\code\generated gt; gt; This will create a stub which is a class you can embed in your gt; application. You simply need to create a new instance of this class gt; and then call methods on it, those methods will call the remote gt; service. gt; gt; Paul gt; gt; On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma lt;[EMAIL PROTECTED]gt; gt; wrote: gt;gt; Hi, gt;gt; gt;gt; gt;gt; gt;gt; I am new to the web services and so as to axis. Please help me. gt;gt; gt;gt; I have to show something this week. I have been working to sort this out gt;gt; since last 4 days. gt;gt; gt;gt; I am sorry to say this. gt;gt; gt;gt; gt;gt; gt;gt; I have an existing web application. To use axis in existing application, gt;gt; gt;gt; I have done : gt;gt; gt;gt; 1.copy all jars from axis.lib directory gt;gt; gt;gt; 2.copy axis's web.xml servlet params and mapping to to my web.xml gt;gt; gt;gt; gt;gt; gt;gt; I have got a wsdl url from an external application (to be integrated with gt; my gt;gt; application) gt;gt; gt;gt; Now what should I do to use this wsdl to access the external application ? gt;gt; gt;gt; Please kind enough to me. gt;gt; gt;gt; gt;gt; gt;gt; Many Thanks, gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; Sent from Yahoo! Mail. gt;gt; A Smarter Email. gt; gt; gt; gt; -- gt; Paul Fremantle gt; Co-Founder and CTO, WSO2 gt; Apache Synapse PMC Chair gt; OASIS WS-RX TC Co-chair gt; gt; blog: http://pzf.fremantle.org gt; [EMAIL PROTECTED] gt; gt; Oxygenating the Web Service Platform, www.wso2.com gt; gt; - gt; To unsubscribe, e-mail: [EMAIL PROTECTED] gt; For additional commands, e-mail: [EMAIL PROTECTED] gt; gt; gt; Sent from Yahoo! Mail. gt; A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] Oxygenating the Web Service Platform, www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sent from Yahoo! Mail. A Smarter Email. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space
You could try cranking up the JVM heap size. For example, set initial heap size to 128M and max heap size to 256M as shown below: java -Xms128m -Xms256m Regards Sanjay From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 08:55 To: axis-user@ws.apache.org Subject: Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space Hi, I have copied the stubs created using wsdl2java into the local directory. But when I compile the application, it shows the error : java.lang.OutOfMemoryError: Java heap space. Can you please tell me is this any work around for this without affecting other applications when we put this application on live environment ? Please help me. I still couldn't access the external application using this. Thanks, --- On Wed, 4/6/08, Paul Fremantle [EMAIL PROTECTED] wrote: From: Paul Fremantle [EMAIL PROTECTED] Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma [EMAIL PROTECTED] wrote: Thanks Paul for the quick reply. I have got axis-bin-1_4. In which directory I should run this ? I have done an advnced installation http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAx isToYourOwnWebapp Thank you very much, --- On Wed, 4/6/08, Paul Fremantle [EMAIL PROTECTED] wrote: From: Paul Fremantle [EMAIL PROTECTED] Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 4:23 PM You need to run bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o directory\where\you\want\the\code\generated This will create a stub which is a class you can embed in your application. You simply need to create a new instance of this class and then call methods on it, those methods will call the remote service. Paul On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma [EMAIL PROTECTED] wrote: Hi, I am new to the web services and so as to axis. Please help me. I have to show something this week. I have been working to sort this out since last 4 days. I am sorry to say this. I have an existing web application. To use axis in existing application, I have done : 1.copy all jars from axis.lib directory 2.copy axis's web.xml servlet params and mapping to to my web.xml I have got a wsdl url from an external application (to be integrated with my application) Now what should I do to use this wsdl to access the external application ? Please kind enough to me. Many Thanks, Sent from Yahoo! Mail. A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] Oxygenating the Web Service Platform, www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sent from Yahoo! Mail. A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] Oxygenating the Web Service Platform, www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sent from
RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space
Thanks Sanjay for the reply. I hope this won't affect any other application running ... --- On Thu, 5/6/08, Sanjay Vivek lt;[EMAIL PROTECTED]gt; wrote: From: Sanjay Vivek lt;[EMAIL PROTECTED]gt; Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 2:00 PM You could try cranking up the JVM heap size. For example, set initial heap size to 128M and max heap size to 256M as shown below: nbsp; java -Xms128m -Xms256m nbsp; Regards Sanjay From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 08:55 To: axis-user@ws.apache.org Subject: Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space Hi, nbsp; I have copied the stubs created using wsdl2java into the local directory. But when I compile the application, it shows the error : java.lang.OutOfMemoryError: Java heap space. Can you please tell me is this any work around for this without affecting other applications when we put this application on live environment ? Please help me. I still couldn't access the external application using this. nbsp; Thanks, --- On Wed, 4/6/08, Paul Fremantle lt;[EMAIL PROTECTED]gt; wrote: From: Paul Fremantle lt;[EMAIL PROTECTED]gt; Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: gt; gt; Thanks Paul for the quick reply. gt; gt; I have got axis-bin-1_4. In which directory I should run this ? I have done gt; an advnced installation gt; http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp gt; gt; gt; gt; Thank you very much, gt; gt; gt; gt; --- On Wed, 4/6/08, Paul Fremantle lt;[EMAIL PROTECTED]gt; wrote: gt; gt; From: Paul Fremantle lt;[EMAIL PROTECTED]gt; gt; Subject: Re: wsdl gt; To: axis-user@ws.apache.org, [EMAIL PROTECTED] gt; Date: Wednesday, 4 June, 2008, 4:23 PM gt; gt; You need to run gt; gt; bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o gt; directory\where\you\want\the\code\generated gt; gt; This will create a stub which is a class you can embed in your gt; application. You simply need to create a new instance of this class gt; and then call methods on it, those methods will call the remote gt; service. gt; gt; Paul gt; gt; On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma lt;[EMAIL PROTECTED]gt; gt; wrote: gt;gt; Hi, gt;gt; gt;gt; gt;gt; gt;gt; I am new to the web services and so as to axis. Please help me. gt;gt; gt;gt; I have to show something this week. I have been working to sort this out gt;gt; since last 4 days. gt;gt; gt;gt; I am sorry to say this. gt;gt; gt;gt; gt;gt; gt;gt; I have an existing web application. To use axis in existing application, gt;gt; gt;gt; I have done : gt;gt; gt;gt; 1.copy all jars from axis.lib directory gt;gt; gt;gt; 2.copy axis's web.xml servlet params and mapping to to my web.xml gt;gt; gt;gt; gt;gt; gt;gt; I have got a wsdl url from an external application (to be integrated with gt; my gt;gt; application) gt;gt; gt;gt; Now what should I do to use this wsdl to access the external application ? gt;gt; gt;gt; Please kind enough to me. gt;gt; gt;gt; gt;gt; gt;gt; Many Thanks, gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; Sent from Yahoo! Mail. gt;gt; A Smarter Email. gt; gt; gt; gt; -- gt; Paul Fremantle gt; Co-Founder and CTO, WSO2 gt; Apache Synapse PMC Chair gt; OASIS WS-RX TC Co-chair gt; gt; blog: http://pzf.fremantle.org gt; [EMAIL PROTECTED] gt; gt; Oxygenating the Web Service Platform, www.wso2.com gt; gt; - gt; To unsubscribe, e-mail: [EMAIL PROTECTED] gt; For additional commands, e-mail: [EMAIL PROTECTED] gt; gt; gt; Sent from Yahoo! Mail. gt; A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] Oxygenating the Web Service Platform, www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sent from Yahoo! Mail. A Smarter Email. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space
I am getting the java.lang.OutOfMemoryError error when I compile the web application using ant . Why is it ? --- On Thu, 5/6/08, Sanjay Vivek lt;[EMAIL PROTECTED]gt; wrote: From: Sanjay Vivek lt;[EMAIL PROTECTED]gt; Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 2:27 PM You can set the heap size for a specific program in the following manner: nbsp; java -Xms128m -Xms256m MyClassName nbsp; Cheers Sanjay nbsp; nbsp; From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 09:37 To: Sanjay Vivek; axis-user@ws.apache.org Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space Thanks Sanjay for the reply. I hope this won't affect any other application running ... --- On Thu, 5/6/08, Sanjay Vivek lt;[EMAIL PROTECTED]gt; wrote: From: Sanjay Vivek lt;[EMAIL PROTECTED]gt; Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 2:00 PM You could try cranking up the JVM heap size. For example, set initial heap size to 128M and max heap size to 256M as shown below: nbsp; java -Xms128m -Xms256m nbsp; Regards Sanjay From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 08:55 To: axis-user@ws.apache.org Subject: Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space Hi, nbsp; I have copied the stubs created using wsdl2java into the local directory. But when I compile the application, it shows the error : java.lang.OutOfMemoryError: Java heap space. Can you please tell me is this any work around for this without affecting other applications when we put this application on live environment ? Please help me. I still couldn't access the external application using this. nbsp; Thanks, --- On Wed, 4/6/08, Paul Fremantle lt;[EMAIL PROTECTED]gt; wrote: From: Paul Fremantle lt;[EMAIL PROTECTED]gt; Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: gt; gt; Thanks Paul for the quick reply. gt; gt; I have got axis-bin-1_4. In which directory I should run this ? I have done gt; an advnced installation gt; http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp gt; gt; gt; gt; Thank you very much, gt; gt; gt; gt; --- On Wed, 4/6/08, Paul Fremantle lt;[EMAIL PROTECTED]gt; wrote: gt; gt; From: Paul Fremantle lt;[EMAIL PROTECTED]gt; gt; Subject: Re: wsdl gt; To: axis-user@ws.apache.org, [EMAIL PROTECTED] gt; Date: Wednesday, 4 June, 2008, 4:23 PM gt; gt; You need to run gt; gt; bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o gt; directory\where\you\want\the\code\generated gt; gt; This will create a stub which is a class you can embed in your gt; application. You simply need to create a new instance of this class gt; and then call methods on it, those methods will call the remote gt; service. gt; gt; Paul gt; gt; On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma lt;[EMAIL PROTECTED]gt; gt; wrote: gt;gt; Hi, gt;gt; gt;gt; gt;gt; gt;gt; I am new to the web services and so as to axis. Please help me. gt;gt; gt;gt; I have to show something this week. I have been working to sort this out gt;gt; since last 4 days. gt;gt; gt;gt; I am sorry to say this. gt;gt; gt;gt; gt;gt; gt;gt; I have an existing web application. To use axis in existing application, gt;gt; gt;gt; I have done : gt;gt; gt;gt; 1.copy all jars from axis.lib directory gt;gt; gt;gt; 2.copy axis's web.xml servlet params and mapping to to my web.xml gt;gt; gt;gt; gt;gt; gt;gt; I have got a wsdl url from an external application (to be integrated with gt; my gt;gt; application) gt;gt; gt;gt; Now what should I do to use this wsdl to access the external application ? gt;gt; gt;gt; Please kind enough to me. gt;gt; gt;gt; gt;gt; gt;gt; Many Thanks, gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; Sent from Yahoo! Mail. gt;gt; A Smarter Email. gt; gt; gt; gt; -- gt; Paul Fremantle gt; Co-Founder and CTO, WSO2 gt; Apache Synapse PMC Chair gt; OASIS WS-RX TC Co-chair gt; gt; blog: http://pzf.fremantle.org gt; [EMAIL PROTECTED] gt; gt; Oxygenating the Web Service Platform, www.wso2.com gt; gt; - gt; To unsubscribe, e-mail: [EMAIL PROTECTED] gt; For additional commands, e-mail: [EMAIL PROTECTED] gt; gt; gt; Sent from Yahoo! Mail. gt; A Smarter Email. -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC
Single / Multiple WSDL
Hi there, i have the following question: What will be the difference between haven a single WSDL and created a webservice from it or have multiple WSDL files and creating a webservice from... May be you can give a me hint about this? Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung SchulungTel.: +49 (0) 2405 / 415 893 Dipl.Ing.(FH) Karl Heinz MarbaiseICQ#: 135949029 Hauptstrasse 177 USt.IdNr: DE191347579 52146 Würselen http://www.soebes.de - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [Resolved] wsdl2java - java.lang.OutOfMemoryError: Java heap space
I think I have solved this problem by increasing the heap size in netbeans (I am usinf netbeans) conf. Thank you for your support. --- On Thu, 5/6/08, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: From: Jyotsna Varma lt;[EMAIL PROTECTED]gt; Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 3:03 PM I am getting the java.lang.OutOfMemoryError error when I compile the web application using ant . Why is it ? --- On Thu, 5/6/08, Sanjay Vivek lt;[EMAIL PROTECTED]gt; wrote: From: Sanjay Vivek lt;[EMAIL PROTECTED]gt; Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 2:27 PM You can set the heap size for a specific program in the following manner: nbsp; java -Xms128m -Xms256m MyClassName nbsp; Cheers Sanjay nbsp; nbsp; From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 09:37 To: Sanjay Vivek; axis-user@ws.apache.org Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space Thanks Sanjay for the reply. I hope this won't affect any other application running ... --- On Thu, 5/6/08, Sanjay Vivek lt;[EMAIL PROTECTED]gt; wrote: From: Sanjay Vivek lt;[EMAIL PROTECTED]gt; Subject: RE: wsdl2java - java.lang.OutOfMemoryError: Java heap space To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 2:00 PM You could try cranking up the JVM heap size. For example, set initial heap size to 128M and max heap size to 256M as shown below: nbsp; java -Xms128m -Xms256m nbsp; Regards Sanjay From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 08:55 To: axis-user@ws.apache.org Subject: Re: wsdl2java - java.lang.OutOfMemoryError: Java heap space Hi, nbsp; I have copied the stubs created using wsdl2java into the local directory. But when I compile the application, it shows the error : java.lang.OutOfMemoryError: Java heap space. Can you please tell me is this any work around for this without affecting other applications when we put this application on live environment ? Please help me. I still couldn't access the external application using this. nbsp; Thanks, --- On Wed, 4/6/08, Paul Fremantle lt;[EMAIL PROTECTED]gt; wrote: From: Paul Fremantle lt;[EMAIL PROTECTED]gt; Subject: Re: wsdl To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Wednesday, 4 June, 2008, 5:01 PM Sorry, I was assuming you had Axis2 (the latest version). I'm not up to speed on Axis1 so I can't help out with that. Basically if you get Axis2-bin zipfile, unzip it, and it should become clear. If you are calling a webservice from your webapp you just need to include the axis2 libs in the webapp\lib directory. Paul On Wed, Jun 4, 2008 at 12:26 PM, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: gt; gt; Thanks Paul for the quick reply. gt; gt; I have got axis-bin-1_4. In which directory I should run this ? I have done gt; an advnced installation gt; http://ws.apache.org/axis/java/install.html#AdvancedInstallationAddingAxisToYourOwnWebapp gt; gt; gt; gt; Thank you very much, gt; gt; gt; gt; --- On Wed, 4/6/08, Paul Fremantle lt;[EMAIL PROTECTED]gt; wrote: gt; gt; From: Paul Fremantle lt;[EMAIL PROTECTED]gt; gt; Subject: Re: wsdl gt; To: axis-user@ws.apache.org, [EMAIL PROTECTED] gt; Date: Wednesday, 4 June, 2008, 4:23 PM gt; gt; You need to run gt; gt; bin\wsdl2java -uw -uri http:///url/of/the/.wsdl -o gt; directory\where\you\want\the\code\generated gt; gt; This will create a stub which is a class you can embed in your gt; application. You simply need to create a new instance of this class gt; and then call methods on it, those methods will call the remote gt; service. gt; gt; Paul gt; gt; On Wed, Jun 4, 2008 at 11:48 AM, Jyotsna Varma lt;[EMAIL PROTECTED]gt; gt; wrote: gt;gt; Hi, gt;gt; gt;gt; gt;gt; gt;gt; I am new to the web services and so as to axis. Please help me. gt;gt; gt;gt; I have to show something this week. I have been working to sort this out gt;gt; since last 4 days. gt;gt; gt;gt; I am sorry to say this. gt;gt; gt;gt; gt;gt; gt;gt; I have an existing web application. To use axis in existing application, gt;gt; gt;gt; I have done : gt;gt; gt;gt; 1.copy all jars from axis.lib directory gt;gt; gt;gt; 2.copy axis's web.xml servlet params and mapping to to my web.xml gt;gt; gt;gt; gt;gt; gt;gt; I have got a wsdl url from an external application (to be integrated with gt; my gt;gt; application) gt;gt; gt;gt; Now what should I do to use this wsdl to access the external application ? gt;gt; gt;gt; Please kind enough to me. gt;gt; gt;gt; gt;gt; gt;gt; Many Thanks, gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; gt;gt; Sent from Yahoo! Mail. gt;gt; A Smarter Email. gt; gt; gt; gt; -- gt; Paul Fremantle gt; Co-Founder and CTO, WSO2 gt; Apache Synapse PMC Chair gt; OASIS WS-RX TC Co-chair gt; gt; blog: http://pzf.fremantle.org gt; [EMAIL PROTECTED] gt; gt; Oxygenating the Web
Error Parsing JSP page
Hi All, Tried to install Axis2-1.4 onto WebLogic 8.1 sp6 instead, and facing some problems: 1)Failed to parse the JSP pages for my web service when accessing the page. I came across this solution http://archives.devshed.com/forums/apache-92/solution-weblogic-8-1-jsp-parse -error-2418386.html but I can't seems to find the antlr.jar file from my axis lib folder. Anyone face the same problem before? 2) Also when I start up my services the servlet throws a NullPointer Exception from the Logging part as well. Is it due to the log4j package? Any feedbacks or suggestions are welcomed. Thanx FooShyn
Re: Single / Multiple WSDL
Hi there, i have the following question: What will be the difference between haven a single WSDL and created a webservice from it or have multiple WSDL files and creating a webservice from... I do not see a big difference here. You might have a WSDL which imports multiple WSDLs so in that case you will create a service from one WSDL , but internally codegeneration tool will use other WSDLs. -Deepal - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [AXIS2] - How to control To element in the SOAP header?
Hello All, Could someone more specific state where it violates the Ws-Addressing spec if you use a different value for epr (where you send the message to) and the wsa to header?. I raised the question about being able te seperate a WS-Aheader from where you actually want to send the message a while back. The Axis2 1.3 version i used the wsa:to was automaticvally used to route the message. Is it not the idea to have seperate wsa headers, with possible contain logical values i.o. actual endpoint urls of web services? Kind regards, Erwin _ Van: Vinh Nguyen (vinguye2) [mailto:[EMAIL PROTECTED] Verzonden: donderdag 5 juni 2008 8:22 Aan: axis-user@ws.apache.org Onderwerp: RE: [AXIS2] - How to control To element in the SOAP header? Hi Eran, Actually, I think Axis2 is fine and is setting the wsa:To properly. It's Victor's createSOAPEnvelope() code that I believe is wrong because it manually adds its own wsa:To element. The end result is a SOAP header with two wsa:To elements. I don't believe this is correct. So if I'm reading this right, Victor is asking for a solution that will allow him to change/override the wsa:To value that Axis2 sets there by default (from the EndpointReference). I don't have the solution, but I'm merely stating that even if there was, using that solution to make wsa:To and EndpointReference.address be different values...may end up in a message that's not WS-Addressing compliant. Designs/implementations that do require non-compliant messages like this probably needs to be re-evaluated closely:) -Vinh _ From: Eran Chinthaka [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 9:23 PM To: axis-user@ws.apache.org Subject: Re: [AXIS2] - How to control To element in the SOAP header? Oh I see.Thanks Vinh for the update ;) Can you please help Axis2 to implement it properly to be WS-Addressing compliant ? On Wed, Jun 4, 2008 at 4:00 PM, Vinh Nguyen (vinguye2) [EMAIL PROTECTED] wrote: Hi, The WS-Addressing spec states that the address value of the EndpointReference should be copied into the To header. If implementations are doing otherwise, they are probably not WS-Addressing compliant. See Section 2.3 of the following link: http://www.w3.org/Submission/ws-addressing/ Hope this helps... -Vinh _ From: Victor Solakhian [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 3:01 PM To: axis-user@ws.apache.org Subject: RE: [AXIS2] - How to control To element in the SOAP header? Hi Chinthaka, Actually createSOAPEnvelope() method is mine. It creates an envelope that has To element in the header according to specs of the Web Servcies server. The Axis2 code that sends the message adds another To header block using the value that was set in options.setTo() method. The problem is that sometimes servers expect values in the To element that differ from the value of the endpoint reference used to send messages. I do not know if this is a bug in Axis2. I know that some developers used Axis1 to successfully implement desired behavior. Thanks _ From: Eran Chinthaka [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 5:41 PM To: axis-user@ws.apache.org Subject: Re: [AXIS2] - How to control To element in the SOAP header? Hi Victor, If createSOAPEnvelope() method adds wsa:To header, then it is a bug, IMO. Please create a bug in JIRA and someone will look in to this (but it might take some time for me to commit in to this :( ) Thanks, Chinthaka On Wed, Jun 4, 2008 at 10:37 AM, Victor Solakhian [EMAIL PROTECTED] wrote: I have code that creates a SOAP envelope and sends it using Axis2 ServiceCLient. EndpointReference targetEPR = new EndpointReference(https://...;); String action = ...; client = new ServiceClient(ctx, null); operationClient = client.createClient(ServiceClient.ANON_OUT_IN_OP); MessageContext outMsgCtx = new MessageContext(); Options options = outMsgCtx.getOptions(); options.setTo(targetEPR); options.setSoapVersionURI(SOAP11Constants.SOAP_ENVELOPE_NAMESPACE_URI); options.setProperty(HTTPConstants.CHUNKED, false); options.setAction(action); outMsgCtx.setEnvelope(createSOAPEnvelope(operation, payload)); operationClient.addMessageContext(outMsgCtx); operationClient.execute(true); Now the createSOAPEnvelope(operation, payload)) method creates an envelope with a header that includes:
How to access an enterprise application from Axis2 in App server?
Hi, We have an enterprise application(Adempiere) running in app server and it has servlets, EJBs, and POJOs. Now we want to expose this application as a web service and decided to go with Axis2. We have tried with the following steps shown below to create a web service with Axis2, but we are facing issues: 1. We read Axis2 documentation 2. Wrote a simple Web Service class that calls Adempiere's POJO method Adempiere.startup() 3. Imported all the war and jar files present in jboss/server/adempiere/deploy/adempiere.ear (So that we can compile web service file in the IDE) 4. Compiled and built the .aar file, updated the axis2.war 5. Copied the axis2.war to jboss/server/adempiere/deploy 6. Tried accessing hostname:port/adempiere/axis2 and hostname:port/axis2, but all we found was error pages complaining that window.html does not exist 7. We repeated the above steps after deploying axis2.war to jboss/server/adempiere/deploy/adempiere.ear. Still no luck!! Is there something we have missed? Any and all leads welcome, we have just run out of options. Thanks in advance Srinivas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Error Parsing JSP page
Hi Removing antlr.jar and jalopy.jar did solve the JSP Parse error for AXIS2-1.3. But I face the same problem with Axis2-1.4 onto WebLogic 8.1 sp6??? Any other suggestions? Thanks Meena From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 11:55 To: axis-user@ws.apache.org Subject: Error Parsing JSP page Hi All, Tried to install Axis2-1.4 onto WebLogic 8.1 sp6 instead, and facing some problems: 1)Failed to parse the JSP pages for my web service when accessing the page. I came across this solution http://archives.devshed.com/forums/apache-92/solution-weblogic-8-1-jsp-p arse-error-2418386.html but I can't seems to find the antlr.jar file from my axis lib folder. Anyone face the same problem before? 2) Also when I start up my services the servlet throws a NullPointer Exception from the Logging part as well. Is it due to the log4j package? Any feedbacks or suggestions are welcomed. Thanx FooShyn -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. ==
Support intermediaries (SOAP actor) by axis2
Hello All, What is current support in Axis2 for intermediaries and the application of the SOAP actor? A while back i was told it is not possible yet to have intermediars and assign (ws-security/ws-addressing) headers to an intermediary and leaving the body and possible other headers to the next hop. Or is this supported by synapse? Is this scenario often applied, because i cant find much about it (anybody have references)? Thanks in advance. Kind regards, Erwin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Support intermediaries (SOAP actor) by axis2
Erwin You can certainly do this with Synapse. Please take a look at http://synapse.apache.org/Synapse_Samples.html#Sample200 Paul On Thu, Jun 5, 2008 at 12:49 PM, Erwin Reinhoud [EMAIL PROTECTED] wrote: Hello All, What is current support in Axis2 for intermediaries and the application of the SOAP actor? A while back i was told it is not possible yet to have intermediars and assign (ws-security/ws-addressing) headers to an intermediary and leaving the body and possible other headers to the next hop. Or is this supported by synapse? Is this scenario often applied, because i cant find much about it (anybody have references)? Thanks in advance. Kind regards, Erwin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Paul Fremantle Co-Founder and CTO, WSO2 Apache Synapse PMC Chair OASIS WS-RX TC Co-chair blog: http://pzf.fremantle.org [EMAIL PROTECTED] Oxygenating the Web Service Platform, www.wso2.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
axis2-1.4, xmlbeans, mtom, weblogic
Hi all, I developed a web service in java with axis2-1.4 (using xmlbeans, mtom) and generated java code from eclipse plug-in. The service deployed successfully onto Weblogic 8.1, BUT when it is invoked throws the following exception on server side: (I did deploy the same service on axis2server BUT NO Error- It works perfect.) Error is only on Weblogic -8.1 [ERROR] java.lang.NullPointerException at org.apache.axis2.engine.AbstractDispatcher.invoke(AbstractDispatcher.jav a:122) at org.apache.axis2.engine.Phase.invoke(Phase.java:317) at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:264) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:163) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostReques t(HTTPTransportUtils.java:275) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se rvletStubImpl.java:1077) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java:465) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. java:348) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r un(WebAppServletContext.java:7047) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu bject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121 ) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl etContext.java:3902) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl. java:2773) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183) Error on the client side: [java] org.apache.axis2.AxisFault: java.lang.NullPointerException [java] at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java :512) [java] at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(Out InAxisOperation.java:370) [java] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOper ation.java:416) [java] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInA xisOperation.java:228) [java] at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163 ) [java] at mymtomns.SendAppAttServiceStub.sendData(SendAppAttServiceStub.java:169) [java] at mymtomns.SendAppAttClient.main(SendAppAttClient.java:60) Any suggestions or feedback would be much appreciated. Thanks Meena -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. ==
RE: Error Parsing JSP page
Hi, I'd tried removing the jalopy-1.5rc3.jar in the axis2 lib folder after getting your mail and it did get rid of the antlr problem, perhaps you can have a try. However when I try to engage the test service, an exception was thrown as below: java.lang.NoClassDefFoundError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) Seems like getting the Axis2 onto WebLogic is a bit fussy, I tried Axis1.4 and it worked perfectly. Anyone out there have any successful installation on WebLogic with Axis2? BTW the Axis2 I'm using is Axis2-1.4 and WebLogic 8.1 sp6 Thanx FooShyn From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 7:29 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi Removing antlr.jar and jalopy.jar did solve the JSP Parse error for AXIS2-1.3. But I face the same problem with Axis2-1.4 onto WebLogic 8.1 sp6??? Any other suggestions? Thanks Meena _ From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 11:55 To: axis-user@ws.apache.org Subject: Error Parsing JSP page Hi All, Tried to install Axis2-1.4 onto WebLogic 8.1 sp6 instead, and facing some problems: 1)Failed to parse the JSP pages for my web service when accessing the page. I came across this solution http://archives.devshed.com/forums/apache-92/solution-weblogic-8-1-jsp-parse -error-2418386.html but I can't seems to find the antlr.jar file from my axis lib folder. Anyone face the same problem before? 2) Also when I start up my services the servlet throws a NullPointer Exception from the Logging part as well. Is it due to the log4j package? Any feedbacks or suggestions are welcomed. Thanx FooShyn -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. ==
RE: Error Parsing JSP page
You're right, Axis2 onto WebLogic is a bit fussy. I restart the weblogic server and re-deploy the axis2.war without the jalopy.jar - JAP Parse error is solved. Thanks Meena From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:17 To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi, I'd tried removing the jalopy-1.5rc3.jar in the axis2 lib folder after getting your mail and it did get rid of the antlr problem, perhaps you can have a try. However when I try to engage the test service, an exception was thrown as below: java.lang.NoClassDefFoundError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) Seems like getting the Axis2 onto WebLogic is a bit fussy, I tried Axis1.4 and it worked perfectly. Anyone out there have any successful installation on WebLogic with Axis2? BTW the Axis2 I'm using is Axis2-1.4 and WebLogic 8.1 sp6 Thanx FooShyn From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 7:29 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi Removing antlr.jar and jalopy.jar did solve the JSP Parse error for AXIS2-1.3. But I face the same problem with Axis2-1.4 onto WebLogic 8.1 sp6??? Any other suggestions? Thanks Meena From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 11:55 To: axis-user@ws.apache.org Subject: Error Parsing JSP page Hi All, Tried to install Axis2-1.4 onto WebLogic 8.1 sp6 instead, and facing some problems: 1)Failed to parse the JSP pages for my web service when accessing the page. I came across this solution http://archives.devshed.com/forums/apache-92/solution-weblogic-8-1-jsp-p arse-error-2418386.html but I can't seems to find the antlr.jar file from my axis lib folder. Anyone face the same problem before? 2) Also when I start up my services the servlet throws a NullPointer Exception from the Logging part as well. Is it due to the log4j package? Any feedbacks or suggestions are welcomed. Thanx FooShyn -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. == -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The
RE:RE: axis2-1.4, xmlbeans, mtom, weblogic
I did develop a web service to send attachment using MTOM - xmlbeans, axis2-1.4 and deploy and tested successfully on weblogic. Now I created another webservice to send an Application and documents. This service works on axis2server, but not on weblogic. If xmlbeans doesn't support MTOM, then what is the best approach to send attachments as well as perform schema validation. Any help / suggestion / feedback is much appreciated. Thanks Meena -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:24 To: [EMAIL PROTECTED] Subject: Re: axis2-1.4, xmlbeans, mtom, weblogic On Thu, Jun 5, 2008 at 9:00 AM, Karunanidhi, Meena [EMAIL PROTECTED] wrote: I developed a web service in java with axis2-1.4 (using xmlbeans, mtom) and generated java code from eclipse plug-in. xmlbeans in axis2 doesn't support mtom. This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. snip Don't post confidential emails to a public list. Robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to Debug Axis2 Engine
Hi, How can I debug axis2-1.4\modules\kernel\src\org\apache\axis2\transport\jms\JMSMessageReceiv er.java (axis2 engine)? http://wso2.org/library/225 will helps us to debug web service not axis2 code. And which jar file has this class? I feel this is part of module which cant be debugged? Thanks in advance Disclaimer The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by forwarding this email to [EMAIL PROTECTED] and then delete it from your system. Ness technologies is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
RE: Error Parsing JSP page
As a part of POC we made service call work in Axis 2.0 1.3 with weblogic 8.1 sp6. we don't have jars like antlr or jalopy . Regards, Chandru _ From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 5:56 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page You're right, Axis2 onto WebLogic is a bit fussy. I restart the weblogic server and re-deploy the axis2.war without the jalopy.jar - JAP Parse error is solved. Thanks Meena _ From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:17 To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi, I'd tried removing the jalopy-1.5rc3.jar in the axis2 lib folder after getting your mail and it did get rid of the antlr problem, perhaps you can have a try. However when I try to engage the test service, an exception was thrown as below: java.lang.NoClassDefFoundError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) Seems like getting the Axis2 onto WebLogic is a bit fussy, I tried Axis1.4 and it worked perfectly. Anyone out there have any successful installation on WebLogic with Axis2? BTW the Axis2 I'm using is Axis2-1.4 and WebLogic 8.1 sp6 Thanx FooShyn From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 7:29 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi Removing antlr.jar and jalopy.jar did solve the JSP Parse error for AXIS2-1.3. But I face the same problem with Axis2-1.4 onto WebLogic 8.1 sp6??? Any other suggestions? Thanks Meena _ From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 11:55 To: axis-user@ws.apache.org Subject: Error Parsing JSP page Hi All, Tried to install Axis2-1.4 onto WebLogic 8.1 sp6 instead, and facing some problems: 1)Failed to parse the JSP pages for my web service when accessing the page. I came across this solution http://archives.devshed.com/forums/apache-92/solution-weblogic-8-1-jsp-p arse-error-2418386.html but I can't seems to find the antlr.jar file from my axis lib folder. Anyone face the same problem before? 2) Also when I start up my services the servlet throws a NullPointer Exception from the Logging part as well. Is it due to the log4j package? Any feedbacks or suggestions are welcomed. Thanx FooShyn -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. == -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof.
RE: Error Parsing JSP page
Pls check the axis2-1.3-bin.jar, it contains jalopy-1.5rc3.jar and the antlr.jar solution I found it in your forum. From: Saripaka, Chandrasekhar [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:41 To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page As a part of POC we made service call work in Axis 2.0 1.3 with weblogic 8.1 sp6. we don't have jars like antlr or jalopy . Regards, Chandru From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 5:56 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page You're right, Axis2 onto WebLogic is a bit fussy. I restart the weblogic server and re-deploy the axis2.war without the jalopy.jar - JAP Parse error is solved. Thanks Meena From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:17 To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi, I'd tried removing the jalopy-1.5rc3.jar in the axis2 lib folder after getting your mail and it did get rid of the antlr problem, perhaps you can have a try. However when I try to engage the test service, an exception was thrown as below: java.lang.NoClassDefFoundError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) Seems like getting the Axis2 onto WebLogic is a bit fussy, I tried Axis1.4 and it worked perfectly. Anyone out there have any successful installation on WebLogic with Axis2? BTW the Axis2 I'm using is Axis2-1.4 and WebLogic 8.1 sp6 Thanx FooShyn From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 7:29 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi Removing antlr.jar and jalopy.jar did solve the JSP Parse error for AXIS2-1.3. But I face the same problem with Axis2-1.4 onto WebLogic 8.1 sp6??? Any other suggestions? Thanks Meena From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 11:55 To: axis-user@ws.apache.org Subject: Error Parsing JSP page Hi All, Tried to install Axis2-1.4 onto WebLogic 8.1 sp6 instead, and facing some problems: 1)Failed to parse the JSP pages for my web service when accessing the page. I came across this solution http://archives.devshed.com/forums/apache-92/solution-weblogic-8-1-jsp-p arse-error-2418386.html but I can't seems to find the antlr.jar file from my axis lib folder. Anyone face the same problem before? 2) Also when I start up my services the servlet throws a NullPointer Exception from the Logging part as well. Is it due to the log4j package? Any feedbacks or suggestions are welcomed. Thanx FooShyn -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. == -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no
RE: [Axis2] response content
Thilina, Sorry I must have missed it. Also, I had forgotten some of the specifics about why an MTOM message is generated even though there are no attachments in the response due to optimization reasons. I have a Flash/Flex consumer that is not working properly because it cannot handle multipart/related content type. It is treating the post response, mime boundary and all, as the soap envelope. It seems that enableMTOM=optional is not fail proof since a client can be optimized not to send MTOM if there are no outgoing attachements. I guess my best solution is to enable MTOM at the service operation level only when I know that a particular operation will return an attachment. I assume you do this as follows: service name=? description.../description operation name=... messageReceiver class=.../ parameter name=enableMTOMtrue/parameter /operation ... /service This way I will return MTOM only if attachments are in the response; otherwise, contentType=text/xml will be returned when no attachments are present. Does this sound right? Thanks. From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 2:58 AM To: axis-user@ws.apache.org Cc: [EMAIL PROTECTED] Subject: Re: [Axis2] response content Is it whether my following reply did not answer ur questions or whether you simply missed it.. http://markmail.org/message/lt65mrgnkr7egqjk The earlier mails in axis-dev related to this... http://markmail.org/message/rrtsu7x22pkwya2e IMHO I do not think this as a much of a limitation given that users can enable MTOM per operation wise and also they can use optional for enableMTOM.. thanks, Thilina On Wed, Jun 4, 2008 at 10:28 PM, Tony Dean [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: Anyone have any answers to the question below. Thanks. -Original Message- From: Tony Dean [mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 03, 2008 4:41 PM To: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] Subject: [Axis2] response content Hi, I have a web service that is returning XML... it's schema type is xsd:any. I would expect the content to be returned as follows: HTTP/1.0 200 OK Content-Type: text/xml ?xml version='1.0' encoding='UTF-8'? soapenv:Envelope soapenv:Body ... /soapenv:Body /soapenv:Envelope I would expect this to be returned whether MTOM is enabled or not. Wouldn't you? Here's the response from Axis2 service when MTOM is disabled in the Axis2.conf server config file: HTTP/1.0 200 OK Proxy-Connection: close X-Powered-By: Servlet 2.4; JBoss-4.2.1.GAhttp://JBoss-4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)/Tomcat-5.5 X-Cache-Lookup: MISS from inetgw04.unx.sas.com:80http://inetgw04.unx.sas.com:80 Date: Tue, 03 Jun 2008 20:10:23 GMT X-Cache: MISS from inetgw04.unx.sas.comhttp://inetgw04.unx.sas.com Content-Type: text/xml;charset=UTF-8 Server: Apache-Coyote/1.1 ?xml version='1.0' encoding='UTF-8'? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Body . /soapenv:Body /soapenv:Envelope Looks correct. --- - Here's the response from Axis2 service when MTOM is enabled in the Axis2.conf server config file: HTTP/1.0 200 OK Proxy-Connection: close X-Powered-By: Servlet 2.4; JBoss-4.2.1.GAhttp://JBoss-4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)/Tomcat-5.5 X-Cache-Lookup: MISS from inetgw04.unx.sas.com:80http://inetgw04.unx.sas.com:80 Date: Tue, 03 Jun 2008 20:27:29 GMT X-Cache: MISS from inetgw04.unx.sas.comhttp://inetgw04.unx.sas.com Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_93D2E13819F92A45691212524849948; type=application/xop+xml; start=0.urn:uuid:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]; start- info=text/xml Server: Apache-Coyote/1.1 --MIMEBoundaryurn_uuid_93D2E13819F92A45691212524849948 Content-Type: application/xop+xml; charset=UTF-8; type=text/xml Content-Transfer-Encoding: binary Content-ID: 0.urn:uuid:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED] ?xml version='1.0' encoding='UTF-8'? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Body /soapenv:Body /soapenv:Envelope Why use multipart/related content type when there are no attachments? That is, why make an attachment out of the SOAP envelope itself when there are no real attachments? Is this correct behavior? I'd like to hear your comments. Thanks. Tony Dean SAS Institute Inc. 919.531.6704 [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] SAS... The Power to Know http://www.sas.com - To unsubscribe, e-mail: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
RE: Error Parsing JSP page
As we are binding the Spring Application Context with the Axis..we don't see any errors with the same.. Can you please tell in what scenarios it gives JSP parse Error. Because we load a Service with out a Servlet Context and also with ServletContext..Can you justify in what ways the JSP error is present. Regards, Chandru. _ From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 6:17 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Pls check the axis2-1.3-bin.jar, it contains jalopy-1.5rc3.jar and the antlr.jar solution I found it in your forum. _ From: Saripaka, Chandrasekhar [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:41 To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page As a part of POC we made service call work in Axis 2.0 1.3 with weblogic 8.1 sp6. we don't have jars like antlr or jalopy . Regards, Chandru _ From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 5:56 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page You're right, Axis2 onto WebLogic is a bit fussy. I restart the weblogic server and re-deploy the axis2.war without the jalopy.jar - JAP Parse error is solved. Thanks Meena _ From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:17 To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi, I'd tried removing the jalopy-1.5rc3.jar in the axis2 lib folder after getting your mail and it did get rid of the antlr problem, perhaps you can have a try. However when I try to engage the test service, an exception was thrown as below: java.lang.NoClassDefFoundError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) Seems like getting the Axis2 onto WebLogic is a bit fussy, I tried Axis1.4 and it worked perfectly. Anyone out there have any successful installation on WebLogic with Axis2? BTW the Axis2 I'm using is Axis2-1.4 and WebLogic 8.1 sp6 Thanx FooShyn From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 7:29 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi Removing antlr.jar and jalopy.jar did solve the JSP Parse error for AXIS2-1.3. But I face the same problem with Axis2-1.4 onto WebLogic 8.1 sp6??? Any other suggestions? Thanks Meena _ From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 11:55 To: axis-user@ws.apache.org Subject: Error Parsing JSP page Hi All, Tried to install Axis2-1.4 onto WebLogic 8.1 sp6 instead, and facing some problems: 1)Failed to parse the JSP pages for my web service when accessing the page. I came across this solution http://archives.devshed.com/forums/apache-92/solution-weblogic-8-1-jsp-p arse-error-2418386.html but I can't seems to find the antlr.jar file from my axis lib folder. Anyone face the same problem before? 2) Also when I start up my services the servlet throws a NullPointer Exception from the Logging part as well. Is it due to the log4j package? Any feedbacks or suggestions are welcomed. Thanx FooShyn -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. == -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this
AXis2-1.4 xmlbeans
Hi I need to send base64binary data as a attachment (as file size is huge) along with Order details (which needs to be validated against schema). Request OrderDetailsOrderID/Cost/date/ etc.. /OrderDetails attachment/attachment /Request Robert lazarski sent a mail saying Axis2 does not support xmlbeans MTOM binding. What would be the best approach to create a web service to do both schema validation and MTOM binding. Kindly advice. Meena -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. ==
RE: AXis2-1.4 xmlbeans
I did develop a webservice to accept just the OrderId and attachment (MTOM) - using xmlbeans and deploy it onto weblogic. And able to test the service successfully. Working request Request OrderDetailsOrderID/Cost/date/ etc.. /OrderDetails attachment/attachment /Request Following throws NullPointerException - if the web service is deployed to Weblogic. (But works fine when deployed to axis2server) -=== Request OrderDetailsOrderID/Cost/date/ etc.. /OrderDetails attachment/attachment /Request Kindly advice Thanks in advance Meena From: Karunanidhi, Meena Sent: 05 June 2008 14:06 To: 'axis-user@ws.apache.org' Subject: AXis2-1.4 xmlbeans Hi I need to send base64binary data as a attachment (as file size is huge) along with Order details (which needs to be validated against schema). Request OrderDetailsOrderID/Cost/date/ etc.. /OrderDetails attachment/attachment /Request Robert lazarski sent a mail saying Axis2 does not support xmlbeans MTOM binding. What would be the best approach to create a web service to do both schema validation and MTOM binding. Kindly advice. Meena -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. ==
RE: Error Parsing JSP page
I just unzip the axis2-1.3-bin.jar to a local directory and copy the axis2.war from dist folder and deploy it to weblogic 8.1 sp6. Then accessing the axis index page throws the JSP Page exception. After removing the jalopy.jar file from axis2.war and redeploy the axis2.war, I am able to view the jsp pages without error. From: Saripaka, Chandrasekhar [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:58 To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page As we are binding the Spring Application Context with the Axis..we don't see any errors with the same.. Can you please tell in what scenarios it gives JSP parse Error. Because we load a Service with out a Servlet Context and also with ServletContext..Can you justify in what ways the JSP error is present. Regards, Chandru. From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 6:17 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Pls check the axis2-1.3-bin.jar, it contains jalopy-1.5rc3.jar and the antlr.jar solution I found it in your forum. From: Saripaka, Chandrasekhar [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:41 To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page As a part of POC we made service call work in Axis 2.0 1.3 with weblogic 8.1 sp6. we don't have jars like antlr or jalopy . Regards, Chandru From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 5:56 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page You're right, Axis2 onto WebLogic is a bit fussy. I restart the weblogic server and re-deploy the axis2.war without the jalopy.jar - JAP Parse error is solved. Thanks Meena From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:17 To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi, I'd tried removing the jalopy-1.5rc3.jar in the axis2 lib folder after getting your mail and it did get rid of the antlr problem, perhaps you can have a try. However when I try to engage the test service, an exception was thrown as below: java.lang.NoClassDefFoundError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) Seems like getting the Axis2 onto WebLogic is a bit fussy, I tried Axis1.4 and it worked perfectly. Anyone out there have any successful installation on WebLogic with Axis2? BTW the Axis2 I'm using is Axis2-1.4 and WebLogic 8.1 sp6 Thanx FooShyn From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 7:29 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi Removing antlr.jar and jalopy.jar did solve the JSP Parse error for AXIS2-1.3. But I face the same problem with Axis2-1.4 onto WebLogic 8.1 sp6??? Any other suggestions? Thanks Meena From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 11:55 To: axis-user@ws.apache.org Subject: Error Parsing JSP page Hi All, Tried to install Axis2-1.4 onto WebLogic 8.1 sp6 instead, and facing some problems: 1)Failed to parse the JSP pages for my web service when accessing the page. I came across this solution http://archives.devshed.com/forums/apache-92/solution-weblogic-8-1-jsp-p arse-error-2418386.html but I can't seems to find the antlr.jar file from my axis lib folder. Anyone face the same problem before? 2) Also when I start up my services the servlet throws a NullPointer Exception from the Logging part as well. Is it due to the log4j package? Any feedbacks or suggestions are welcomed. Thanx FooShyn -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life
RE: Error Parsing JSP page
Thanks for the info. _ From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 6:38 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page I just unzip the axis2-1.3-bin.jar to a local directory and copy the axis2.war from dist folder and deploy it to weblogic 8.1 sp6. Then accessing the axis index page throws the JSP Page exception. After removing the jalopy.jar file from axis2.war and redeploy the axis2.war, I am able to view the jsp pages without error. _ From: Saripaka, Chandrasekhar [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:58 To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page As we are binding the Spring Application Context with the Axis..we don't see any errors with the same.. Can you please tell in what scenarios it gives JSP parse Error. Because we load a Service with out a Servlet Context and also with ServletContext..Can you justify in what ways the JSP error is present. Regards, Chandru. _ From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 6:17 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Pls check the axis2-1.3-bin.jar, it contains jalopy-1.5rc3.jar and the antlr.jar solution I found it in your forum. _ From: Saripaka, Chandrasekhar [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:41 To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page As a part of POC we made service call work in Axis 2.0 1.3 with weblogic 8.1 sp6. we don't have jars like antlr or jalopy . Regards, Chandru _ From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 5:56 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page You're right, Axis2 onto WebLogic is a bit fussy. I restart the weblogic server and re-deploy the axis2.war without the jalopy.jar - JAP Parse error is solved. Thanks Meena _ From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 13:17 To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi, I'd tried removing the jalopy-1.5rc3.jar in the axis2 lib folder after getting your mail and it did get rid of the antlr problem, perhaps you can have a try. However when I try to engage the test service, an exception was thrown as below: java.lang.NoClassDefFoundError at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) Seems like getting the Axis2 onto WebLogic is a bit fussy, I tried Axis1.4 and it worked perfectly. Anyone out there have any successful installation on WebLogic with Axis2? BTW the Axis2 I'm using is Axis2-1.4 and WebLogic 8.1 sp6 Thanx FooShyn From: Karunanidhi, Meena [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 7:29 PM To: axis-user@ws.apache.org Subject: RE: Error Parsing JSP page Hi Removing antlr.jar and jalopy.jar did solve the JSP Parse error for AXIS2-1.3. But I face the same problem with Axis2-1.4 onto WebLogic 8.1 sp6??? Any other suggestions? Thanks Meena _ From: Chung Foo Shyn [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 11:55 To: axis-user@ws.apache.org Subject: Error Parsing JSP page Hi All, Tried to install Axis2-1.4 onto WebLogic 8.1 sp6 instead, and facing some problems: 1)Failed to parse the JSP pages for my web service when accessing the page. I came across this solution http://archives.devshed.com/forums/apache-92/solution-weblogic-8-1-jsp-p arse-error-2418386.html but I can't seems to find the antlr.jar file from my axis lib folder. Anyone face the same problem before? 2) Also when I start up my services the servlet throws a NullPointer Exception from the Logging part as well. Is it due to the log4j package? Any feedbacks or suggestions are welcomed. Thanx FooShyn -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof.
org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
Hi, nbsp; When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Please anyone have an idea what the error is this ? nbsp; Thanks, __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
AXis2-1.4 xmlbeans MTOM
Hi I need to send base64binary data as a attachment (as file size is huge) along with Order details (which needs to be validated against schema). Request OrderDetailsOrderID/Cost/date/ etc.. /OrderDetails attachment/attachment /Request Robert lazarski sent a mail saying Axis2 does not support xmlbeans MTOM binding. What would be the best approach to create a web service to do both schema validation and MTOM binding. Following throws NullPointerException - if the web service is deployed to Weblogic. (But works fine when deployed to axis2server) -=== Request OrderDetailsOrderID/Cost/date/ etc.. /OrderDetails attachment/attachment /Request Kindly advice Thanks in advance Meena -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. ==
RE: AXis2-1.4 xmlbeans MTOM
Apologies for annoyed you with the previous mail. -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 15:21 To: axis-user@ws.apache.org Subject: Re: AXis2-1.4 xmlbeans MTOM On Thu, Jun 5, 2008 at 11:14 AM, Karunanidhi, Meena [EMAIL PROTECTED] wrote: Anyone looking into this... I recommend you read this over and over again until its memorized word for word. http://www.catb.org/~esr/faqs/smart-questions.html Robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
Thanks for the response. nbsp; I am not sure which part of the code you required. Let me explain the background. I am using java1.5,tomcat5.5.17 for the web application I am developing, rather already developed. I am trying to integrate an external application. I have got the wsdl url which they have provided. I used axis2 1.3 wsdl2java to generate stub classes. I have copied those stub classed to the director (I am using netbeans) which application resides. From one of class I am trying to accesss the methods from stub class (just to test). Stub class is bigger in size. Also to be honest I am not sure which are the classes I need to access the external application's database (thats what i want to do exactly). nbsp; Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai lt;[EMAIL PROTECTED]gt; wrote: From: Perez Arbulu, Ibai lt;[EMAIL PROTECTED]gt; Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 8:10 PM Show your code….. the involved part at least…. nbsp; De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:38 Para: axis-user@ws.apache.org Asunto: Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: From: Jyotsna Varma lt;[EMAIL PROTECTED]gt; Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, nbsp; When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Please anyone have an idea what the error is this ? nbsp; Thanks, nbsp; Sent from Yahoo! Mail. A Smarter Email. nbsp; Sent from Yahoo! Mail. A Smarter Email. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
The Stub itself. De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:51 Para: Perez Arbulu, Ibai; axis-user@ws.apache.org Asunto: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Thanks for the response. I am not sure which part of the code you required. Let me explain the background. I am using java1.5,tomcat5.5.17 for the web application I am developing, rather already developed. I am trying to integrate an external application. I have got the wsdl url which they have provided. I used axis2 1.3 wsdl2java to generate stub classes. I have copied those stub classed to the director (I am using netbeans) which application resides. From one of class I am trying to accesss the methods from stub class (just to test). Stub class is bigger in size. Also to be honest I am not sure which are the classes I need to access the external application's database (thats what i want to do exactly). Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai [EMAIL PROTECTED] wrote: From: Perez Arbulu, Ibai [EMAIL PROTECTED] Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 8:10 PM Show your code. the involved part at least De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:38 Para: axis-user@ws.apache.org Asunto: Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma [EMAIL PROTECTED] wrote: From: Jyotsna Varma [EMAIL PROTECTED] Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Please anyone have an idea what the error is this ? Thanks, Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email. Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email. Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email.
Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
I had experienced this in the past, but dint have the time to fully understand the issue. I was seeing this problem when one of the webservice methods were returning an object of class which extends another class. I had overcome it by making the parent class object a data member of the child class instead of the inheritance. Although this fixed and get me going forward with the class assignment, i wasnt fully happy with the solution. One of the other webservice methods also returned another class object, which also extended another class. In this case i dint see any problems, accessing it through the stubs. It was only in the case of the other. I had compared the WSDL file for differences in the defintion of the both complex types but couldnt find any difference. Im still not sure why it worked in one and dint work in theother. Both the classes had similar primitive types. Hopefully, someone else can shed some more light on this error. Jyotsna Varma [EMAIL PROTECTED] wrote: Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma [EMAIL PROTECTED] wrote: From: Jyotsna Varma [EMAIL PROTECTED] Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Please anyone have an idea what the error is this ? Thanks, - Sent from Yahoo! Mail. A Smarter Email. - Sent from Yahoo! Mail. A Smarter Email.
RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
i am trying to attach the class, but failing... its a big one... let me try once more... --- On Thu, 5/6/08, Perez Arbulu, Ibai lt;[EMAIL PROTECTED]gt; wrote: From: Perez Arbulu, Ibai lt;[EMAIL PROTECTED]gt; Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: [EMAIL PROTECTED], axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 8:23 PM The Stub itself. nbsp; De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:51 Para: Perez Arbulu, Ibai; axis-user@ws.apache.org Asunto: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Thanks for the response. nbsp; I am not sure which part of the code you required. Let me explain the background. I am using java1.5,tomcat5.5.17 for the web application I am developing, rather already developed. I am trying to integrate an external application. I have got the wsdl url which they have provided. I used axis2 1.3 wsdl2java to generate stub classes. I have copied those stub classed to the director (I am using netbeans) which application resides. From one of class I am trying to accesss the methods from stub class (just to test). Stub class is bigger in size. Also to be honest I am not sure which are the classes I need to access the external application's database (thats what i want to do exactly). nbsp; Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai lt; [EMAIL PROTECTED] gt; wrote: From: Perez Arbulu, Ibai lt; [EMAIL PROTECTED] gt; Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 8:10 PM Show your code….. the involved part at least…. nbsp; De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:38 Para: axis-user@ws.apache.org Asunto: Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: From: Jyotsna Varma lt;[EMAIL PROTECTED]gt; Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, nbsp; When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Please anyone have an idea what the error is this ? nbsp; Thanks, nbsp; Sent from Yahoo! Mail. A Smarter Email. nbsp; Sent from Yahoo! Mail. A Smarter Email. nbsp; Sent from Yahoo! Mail. A Smarter Email. __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
Please anybody help me... How can I read data using the stub classes ? --- On Thu, 5/6/08, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: From: Jyotsna Varma lt;[EMAIL PROTECTED]gt; Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 9:43 PM please find the attached stub class --- On Thu, 5/6/08, Perez Arbulu, Ibai lt;[EMAIL PROTECTED]gt; wrote: From: Perez Arbulu, Ibai lt;[EMAIL PROTECTED]gt; Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: [EMAIL PROTECTED], axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 8:23 PM The Stub itself. nbsp; De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:51 Para: Perez Arbulu, Ibai; axis-user@ws.apache.org Asunto: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Thanks for the response. nbsp; I am not sure which part of the code you required. Let me explain the background. I am using java1.5,tomcat5.5.17 for the web application I am developing, rather already developed. I am trying to integrate an external application. I have got the wsdl url which they have provided. I used axis2 1.3 wsdl2java to generate stub classes. I have copied those stub classed to the director (I am using netbeans) which application resides. From one of class I am trying to accesss the methods from stub class (just to test). Stub class is bigger in size. Also to be honest I am not sure which are the classes I need to access the external application's database (thats what i want to do exactly). nbsp; Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai lt; [EMAIL PROTECTED] gt; wrote: From: Perez Arbulu, Ibai lt; [EMAIL PROTECTED] gt; Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 8:10 PM Show your code….. the involved part at least…. nbsp; De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:38 Para: axis-user@ws.apache.org Asunto: Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: From: Jyotsna Varma lt;[EMAIL PROTECTED]gt; Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, nbsp; When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Please anyone have an idea what the error is this ? nbsp; Thanks, nbsp; Sent from Yahoo! Mail. A Smarter Email. nbsp; Sent from Yahoo! Mail. A Smarter Email. nbsp; Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email.- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Re: [Axis2] response content
Hi, I have a Flash/Flex consumer that is not working properly because it cannot handle multipart/related content type. It is treating the post response, mime boundary and all, as the soap envelope. It seems that enableMTOM=optional is not fail proof since a client can be optimized not to send MTOM if there are no outgoing attachements. Yeah... I know it's not ideal, but I think above is a good compromise for both the scenerio's.. Ideal way would be to use MTOM policy if somebody needs this much of precision... I guess my best solution is to enable MTOM at the service operation level only when I know that a particular operation will return an attachment. I assume you do this as follows: service name=? description…/description operation name=… messageReceiver class=…/ parameter name=enableMTOMtrue/parameter /operation … /service Above is the correct way to enable/disable MTOM per operation wise. This way I will return MTOM only if attachments are in the response; otherwise, contentType=text/xml will be returned when no attachments are present. Does this sound right? Nope... MIME envelope will be there in the respose message irrespective of whether there is an attachment or not :(.. thanks, Thilina Thanks. *From:* Thilina Gunarathne [mailto:[EMAIL PROTECTED] *Sent:* Thursday, June 05, 2008 2:58 AM *To:* axis-user@ws.apache.org *Cc:* [EMAIL PROTECTED] *Subject:* Re: [Axis2] response content Is it whether my following reply did not answer ur questions or whether you simply missed it.. http://markmail.org/message/lt65mrgnkr7egqjk The earlier mails in axis-dev related to this... http://markmail.org/message/rrtsu7x22pkwya2e IMHO I do not think this as a much of a limitation given that users can enable MTOM per operation wise and also they can use optional for enableMTOM.. thanks, Thilina On Wed, Jun 4, 2008 at 10:28 PM, Tony Dean [EMAIL PROTECTED] wrote: Anyone have any answers to the question below. Thanks. -Original Message- From: Tony Dean [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 03, 2008 4:41 PM To: [EMAIL PROTECTED] Subject: [Axis2] response content Hi, I have a web service that is returning XML... it's schema type is xsd:any. I would expect the content to be returned as follows: HTTP/1.0 200 OK Content-Type: text/xml ?xml version='1.0' encoding='UTF-8'? soapenv:Envelope soapenv:Body ... /soapenv:Body /soapenv:Envelope I would expect this to be returned whether MTOM is enabled or not. Wouldn't you? Here's the response from Axis2 service when MTOM is disabled in the Axis2.conf server config file: HTTP/1.0 200 OK Proxy-Connection: close X-Powered-By: Servlet 2.4; JBoss-4.2.1.GA http://jboss-4.2.1.ga/(build: SVNTag=JBoss_4_2_1_GA date=200707131605)/Tomcat-5.5 X-Cache-Lookup: MISS from inetgw04.unx.sas.com:80http://inetgw04.unx.sas.com/ Date: Tue, 03 Jun 2008 20:10:23 GMT X-Cache: MISS from inetgw04.unx.sas.com Content-Type: text/xml;charset=UTF-8 Server: Apache-Coyote/1.1 ?xml version='1.0' encoding='UTF-8'? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Body . /soapenv:Body /soapenv:Envelope Looks correct. --- - Here's the response from Axis2 service when MTOM is enabled in the Axis2.conf server config file: HTTP/1.0 200 OK Proxy-Connection: close X-Powered-By: Servlet 2.4; JBoss-4.2.1.GA http://jboss-4.2.1.ga/(build: SVNTag=JBoss_4_2_1_GA date=200707131605)/Tomcat-5.5 X-Cache-Lookup: MISS from inetgw04.unx.sas.com:80http://inetgw04.unx.sas.com/ Date: Tue, 03 Jun 2008 20:27:29 GMT X-Cache: MISS from inetgw04.unx.sas.com Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_93D2E13819F92A45691212524849948; type=application/xop+xml; start=0.urn:uuid:[EMAIL PROTECTED][EMAIL PROTECTED]; start- info=text/xml Server: Apache-Coyote/1.1 --MIMEBoundaryurn_uuid_93D2E13819F92A45691212524849948 Content-Type: application/xop+xml; charset=UTF-8; type=text/xml Content-Transfer-Encoding: binary Content-ID: 0.urn:uuid:[EMAIL PROTECTED][EMAIL PROTECTED] ?xml version='1.0' encoding='UTF-8'? soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/; soapenv:Body /soapenv:Body /soapenv:Envelope Why use multipart/related content type when there are no attachments? That is, why make an attachment out of the SOAP envelope itself when there are no real attachments? Is this correct behavior? I'd like to hear your comments. Thanks. Tony Dean SAS Institute Inc. 919.531.6704 [EMAIL PROTECTED] SAS... The Power to Know http://www.sas.com
RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID
Hi Jyotsna, Use tcpmon to see what request you are sending what is the response you are receiving back from the webservice and post it to the forum so that we can take a look at it and see if the request / response has any issue. Thanks Raghu From: Jyotsna Varma [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 9:34 AM To: axis-user@ws.apache.org Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Please anybody help me... How can I read data using the stub classes ? --- On Thu, 5/6/08, Jyotsna Varma [EMAIL PROTECTED] wrote: From: Jyotsna Varma [EMAIL PROTECTED] Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 9:43 PM please find the attached stub class --- On Thu, 5/6/08, Perez Arbulu, Ibai [EMAIL PROTECTED] wrote: From: Perez Arbulu, Ibai [EMAIL PROTECTED] Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: [EMAIL PROTECTED], axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 8:23 PM The Stub itself. De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:51 Para: Perez Arbulu, Ibai; axis-user@ws.apache.org Asunto: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Thanks for the response. I am not sure which part of the code you required. Let me explain the background. I am using java1.5,tomcat5.5.17 for the web application I am developing, rather already developed. I am trying to integrate an external application. I have got the wsdl url which they have provided. I used axis2 1.3 wsdl2java to generate stub classes. I have copied those stub classed to the director (I am using netbeans) which application resides. From one of class I am trying to accesss the methods from stub class (just to test). Stub class is bigger in size. Also to be honest I am not sure which are the classes I need to access the external application's database (thats what i want to do exactly). Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai [EMAIL PROTECTED] wrote: From: Perez Arbulu, Ibai [EMAIL PROTECTED] Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 8:10 PM Show your code. the involved part at least De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:38 Para: axis-user@ws.apache.org Asunto: Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma [EMAIL PROTECTED] wrote: From: Jyotsna Varma [EMAIL PROTECTED] Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID Please anyone have an idea what the error is this ? Thanks, Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email. Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email. Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email. Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Sent from Yahoo! Mail http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http:/us.rd.yahoo.c om/evt=52418/*http:/uk.docs.yahoo.com/nowyoucan.html . A Smarter Email.
Axis2 : Socket connection reset
Dear users! I have been a problem in testing web services with Apache Axis2. I am sending a file with 100MB using SWA (Soap with Attachments). My scenario is described below: web service client eth1 | GATEWAY | eth2 -- web service provider I use a gateway in order to control the bandwidth beteween client and service provider. Sometimes a I have a connection reset. Someone knows this problem? I hope some help. Thanks. Julio Sao Carlos - SP - Brazil -- View this message in context: http://www.nabble.com/Axis2-%3A-Socket-connection-reset-tp17674945p17674945.html Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [AXIS2] - How to control To element in the SOAP header?
Erwin, Don't be alarmed. There is no violation here. I think Vinh was just trying to remind us that if To address is not there, it is a violation. I don't think he complained Axis2 violates anything. We made Axis2 pass all the interop tests within WS-Addressing working group and also in other interop workshops. If some one things passing interop tests doesn't mean anything, then the point is, WS-Addressing is with Axis2 for a long time and used by numerous experts and within companies. So don't worry. WS-A is so fundamental to message interactions that, If there is/was a problem, it will be fixed pretty soon. On Thu, Jun 5, 2008 at 4:34 AM, Erwin Reinhoud [EMAIL PROTECTED] wrote: Hello All, Could someone more specific state where it violates the Ws-Addressing spec if you use a different value for epr (where you send the message to) and the wsa to header?. I raised the question about being able te seperate a WS-Aheader from where you actually want to send the message a while back. The Axis2 1.3 version i used the wsa:to was automaticvally used to route the message. Is it not the idea to have seperate wsa headers, with possible contain logical values i.o. actual endpoint urls of web services? Kind regards, Erwin -- *Van:* Vinh Nguyen (vinguye2) [mailto:[EMAIL PROTECTED] *Verzonden:* donderdag 5 juni 2008 8:22 *Aan:* axis-user@ws.apache.org *Onderwerp:* RE: [AXIS2] - How to control To element in the SOAP header? Hi Eran, Actually, I think Axis2 is fine and is setting the wsa:To properly. It's Victor's createSOAPEnvelope() code that I believe is wrong because it manually adds its own wsa:To element. The end result is a SOAP header with two wsa:To elements. I don't believe this is correct. So if I'm reading this right, Victor is asking for a solution that will allow him to change/override the wsa:To value that Axis2 sets there by default (from the EndpointReference). I don't have the solution, but I'm merely stating that even if there was, using that solution to make wsa:To and EndpointReference.address be different values...may end up in a message that's not WS-Addressing compliant. Designs/implementations that do require non-compliant messages like this probably needs to be re-evaluated closely:) -Vinh -- *From:* Eran Chinthaka [mailto:[EMAIL PROTECTED] *Sent:* Wednesday, June 04, 2008 9:23 PM *To:* axis-user@ws.apache.org *Subject:* Re: [AXIS2] - How to control To element in the SOAP header? Oh I see.Thanks Vinh for the update ;) Can you please help Axis2 to implement it properly to be WS-Addressing compliant ? On Wed, Jun 4, 2008 at 4:00 PM, Vinh Nguyen (vinguye2) [EMAIL PROTECTED] wrote: Hi, The WS-Addressing spec states that the address value of the EndpointReference should be copied into the To header. If implementations are doing otherwise, they are probably not WS-Addressing compliant. See Section 2.3 of the following link: http://www.w3.org/Submission/ws-addressing/ Hope this helps... -Vinh -- *From:* Victor Solakhian [mailto:[EMAIL PROTECTED] *Sent:* Wednesday, June 04, 2008 3:01 PM *To:* axis-user@ws.apache.org *Subject:* RE: [AXIS2] - How to control To element in the SOAP header? Hi Chinthaka, Actually createSOAPEnvelope() method is mine. It creates an envelope that has To element in the header according to specs of the Web Servcies server. The Axis2 code that sends the message adds another To header block using the value that was set in options.setTo() method. The problem is that sometimes servers expect values in the To element that differ from the value of the endpoint reference used to send messages. I do not know if this is a bug in Axis2. I know that some developers used Axis1 to successfully implement desired behavior. Thanks -- *From:* Eran Chinthaka [mailto:[EMAIL PROTECTED] *Sent:* Wednesday, June 04, 2008 5:41 PM *To:* axis-user@ws.apache.org *Subject:* Re: [AXIS2] - How to control To element in the SOAP header? Hi Victor, If createSOAPEnvelope() method adds wsa:To header, then it is a bug, IMO. Please create a bug in JIRA and someone will look in to this (but it might take some time for me to commit in to this :( ) Thanks, Chinthaka On Wed, Jun 4, 2008 at 10:37 AM, Victor Solakhian [EMAIL PROTECTED] wrote: I have code that creates a SOAP envelope and sends it using Axis2 ServiceCLient. EndpointReference targetEPR = *new* EndpointReference(https://...;); String action = ...; client = *new* ServiceClient(ctx, *null*); operationClient = client.createClient(ServiceClient.ANON_OUT_IN_OP); MessageContext outMsgCtx = *new* MessageContext(); Options options = outMsgCtx.getOptions(); options.setTo(targetEPR);
Re: Support intermediaries (SOAP actor) by axis2
Hi Erwin, Axis2 can act as a client and/or a server, the two endpoints in a message exchange, without any problem. Axis2 has all the capabilities to work as an intermediary also, but it just that you have to do some amount of work to get it working the way you want. Synapse is all about mediation and meant to be act as an intermediary. So Synapse had done the above mentioned part already. I always think Axis2 as the client/ultimate receiver vs Synapse as the intermediary for a good application. Intermediaries are somewhat common these days. For example, a company might decided to get all the messages to one node and then route to different internal hosts, applying some policies. Or even might wanna log all the messages. There are lots of samples like this. On Thu, Jun 5, 2008 at 4:49 AM, Erwin Reinhoud [EMAIL PROTECTED] wrote: Hello All, What is current support in Axis2 for intermediaries and the application of the SOAP actor? A while back i was told it is not possible yet to have intermediars and assign (ws-security/ws-addressing) headers to an intermediary and leaving the body and possible other headers to the next hop. Or is this supported by synapse? Is this scenario often applied, because i cant find much about it (anybody have references)? Thanks in advance. Kind regards, Erwin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- With Mettha, Eran Chinthaka Health is the greatest gift; contentment is the greatest wealth; trusting is the best relationship; nirvana is the highest joy. - Dhammapada
Re: Problem in deploying .aar file
I'm seeing the same problem as Priya. Same error output different service name of course. All I can add for the moment is that I have sucessfully uploaded/deployed the aar file to Tomcat 6.0.16 w/jdk1.6.0_05 then I tried it on a Tomcat 6.0.14 w/ jdk1.6.0_04 and saw the error. I upgraded Tomcat and Java to the same revisions as the working box and still see the error. So I tried a third box with Tomcat 6.0.14 w/ jdk1.6.0_04 and also get the error. So at the moment I have more instances of how it doesn't work than how it does. Oh all of these are using the Axis2 1.4 war file deployed through the Tomcat Admin page and are running on Windows XP. If anyone has some insight of things to try I'd appreciate it. Things I've tried: Reinstalling Axis2 1.4 Reinstalling Tomcat Given enough time, the proper resources, and access to some really toxic stuff, one can probably dissolve just about anything except Peep eyes.
Re: Axis2 Service Archiver issue
I am seeing the same problem as Kmany. I ran through the wizard but when I get to trying to load the class I also get the error : Class not found ... I actually even tried getting the plugin up in eclipse to debug where it thought it was looking but couldn't get it to work. But that's a seperate issue... I tried a number of different Class File Locations in step 1. It seems like the plugin should be able to find that out from the project but that's neither here nor there, the problem is it doesn't seem to work. I tried each directory in the tree which follows the model below... Project build classes com my_company my_project_name *.class I tried a number of variations of my_service_name and my_class_name I'm using the version of the plugin from: axis2-eclipse-service-archiver-wizard-1.4.zip and running a clean unzip of eclipse from this .zip eclipse-jee-ganymede-RC1-win32.zip Other system attribs: Java jdk 1.6.0_05 Windows XP I'm happy to supply more info I'm just not sure what else would give more insight... -Chris Given enough time, the proper resources, and access to some really toxic stuff, one can probably dissolve just about anything except Peep eyes.
Problem with Code Gen Plugin
So while trying to debug and work through the previous couple problems I sent to the list. I decided to try the Code Generator plugin in hopes I would get a services.xml I could use in my hand built aar since I can't get the Archive Generator to work:) Well no luck here either. Since I don't see anyone else with this problem here are the steps In Eclipse (Version: 3.4.0 Build id: I20080516-1333 from eclipse-jee-ganymede-RC1-win32.zip) with the codegen plugin (axis2-eclipse-codegen-wizard-1.4.zip) I right click on my project New-Other-Axis2 Wizards- Axis2 Code Generator Select Generate Java source code from a WSDL file click Next Specify my WSDl click Next Take the defaults from the next screen (Options) Then in the Output screen I browse and select my project (again) I receive An error occurred while completing process -java.lang.relfect.InvocationTargetExpection whether I choose my project directory or just choose another directory out side my workspace and can not proceed. I'm really happy to see all these tools to help with this project it's just frustrating to go 3 for 3 on breaking them. I'm just glad there are some other seeing the same things I was beginning to think I might be the problem. Heck it might still be the case but I also think there's some bugs here as well. Anyway thanks in advance and let me know if there's anything else I can add to make it clearer. -Chris Given enough time, the proper resources, and access to some really toxic stuff, one can probably dissolve just about anything except Peep eyes.
Re: AXis2-1.4 xmlbeans MTOM
ADB supports MTOM and does some schema validation... You can try code generating to your WSDL using ADB.. ~Thilina On Thu, Jun 5, 2008 at 7:28 AM, Karunanidhi, Meena [EMAIL PROTECTED] wrote: Apologies for annoyed you with the previous mail. -Original Message- From: robert lazarski [mailto:[EMAIL PROTECTED] Sent: 05 June 2008 15:21 To: axis-user@ws.apache.org Subject: Re: AXis2-1.4 xmlbeans MTOM On Thu, Jun 5, 2008 at 11:14 AM, Karunanidhi, Meena [EMAIL PROTECTED] wrote: Anyone looking into this... I recommend you read this over and over again until its memorized word for word. http://www.catb.org/~esr/faqs/smart-questions.html Robert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- This is a confidential communication and is intended only for the addressee indicated in the message (or duly authorised to be responsible for the delivery of the message to such person). You are specifically prohibited from copying this message or delivering the same, or any part thereof, to any other person, whomsoever or howsoever, unless you receive written authorisation from us to do. If you are anyone other than the intended addressee, or person duly authorised and responsible for the delivery of this message to the intended addressee, you should destroy this message and notify us immediately. Please note that we accept no responsibility whatsoever in the event that this message or any other email message or any part thereof becomes known or is communicated to anyone other than the intended recipient or other person authorised in writing by us to receive it, howsoever arising and disclaim all liability for any losses or damage which may be sustained by any person as a result thereof. permanent tsb is a trading name of Irish Life Permanent plc which is regulated by the Financial Regulator and is a tied insurance agent for Irish Life Assurance plc. Irish Life Permanent plc is a limited liability company registered in Dublin under No. 222332. The company's registered office is: Irish Life Centre, Lower Abbey Street, Dublin 1. == - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Thilina Gunarathne - http://thilinag.blogspot.com
Exposing CORBA Services as Web Services - Work-Around
Hi all, in case anybody else tries the sample from Exposing CORBA Services as Web Services - Introduction to the Axis2 CORBA Module http://wso2.org/library/2807 you will run into org.apache.axis2.AxisFault: unknown Problem is that CorbaUtil.resolveObject() throws a CORBA.OBJECT_NOT_EXIST (which is swallowed by Axis, see AXIS2-3836). The nameserver lookup code does not work, no idea why. A work-around to get the sample running is to use IOR based Corba server adressing. object_to_string the Object in the server, write it into a file and configure mycorbaserver.xml to use that file parameter name=iorFilePath/my/ior.txt/parameter Then the sample works fine. Cheers, Juergen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [AXIS2] - How to control To element in the SOAP header?
Hi Eran, I agree. Axis2 is WS-Addressing compliant. If someone uses the Axis2 APIs though and changes the wsa headers (which you correctly pointed out earlier should not be messed with), then it's becomes a user issue if the output message is no longer spec compliant. Erwin, One of the goals of WS-Addressing is to help identify where the SOAP message is going to just by looking at the message itself. If your server is just routing the request to another location/server and you want your client to specify/hint where to route it to, you probably need to set that URI in some other element other than wsa:To. Perhaps using an EPR reference parameter will work? To help clarify, see Sections 2.3, 3, and 3.1 of the spec here: http://www.w3.org/Submission/ws-addressing/ Here's some snippets of the related content: Section 2.3: The SOAP binding for endpoint references is defined by the following two rules: * The [address] property in the endpoint reference is copied in the [destination] header field of the SOAP message. Section 3: [destination] : URI (mandatory) The address of the intended receiver of this message. Section 3.1: /wsa:To This REQUIRED element (of type xs:anyURI) provides the value for the [destination] property. Hope this helps... -Vinh From: Eran Chinthaka [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2008 10:17 AM To: axis-user@ws.apache.org Subject: Re: [AXIS2] - How to control To element in the SOAP header? Erwin, Don't be alarmed. There is no violation here. I think Vinh was just trying to remind us that if To address is not there, it is a violation. I don't think he complained Axis2 violates anything. We made Axis2 pass all the interop tests within WS-Addressing working group and also in other interop workshops. If some one things passing interop tests doesn't mean anything, then the point is, WS-Addressing is with Axis2 for a long time and used by numerous experts and within companies. So don't worry. WS-A is so fundamental to message interactions that, If there is/was a problem, it will be fixed pretty soon. On Thu, Jun 5, 2008 at 4:34 AM, Erwin Reinhoud [EMAIL PROTECTED] wrote: Hello All, Could someone more specific state where it violates the Ws-Addressing spec if you use a different value for epr (where you send the message to) and the wsa to header?. I raised the question about being able te seperate a WS-Aheader from where you actually want to send the message a while back. The Axis2 1.3 version i used the wsa:to was automaticvally used to route the message. Is it not the idea to have seperate wsa headers, with possible contain logical values i.o. actual endpoint urls of web services? Kind regards, Erwin Van: Vinh Nguyen (vinguye2) [mailto:[EMAIL PROTECTED] Verzonden: donderdag 5 juni 2008 8:22 Aan: axis-user@ws.apache.org Onderwerp: RE: [AXIS2] - How to control To element in the SOAP header? Hi Eran, Actually, I think Axis2 is fine and is setting the wsa:To properly. It's Victor's createSOAPEnvelope() code that I believe is wrong because it manually adds its own wsa:To element. The end result is a SOAP header with two wsa:To elements. I don't believe this is correct. So if I'm reading this right, Victor is asking for a solution that will allow him to change/override the wsa:To value that Axis2 sets there by default (from the EndpointReference). I don't have the solution, but I'm merely stating that even if there was, using that solution to make wsa:To and EndpointReference.address be different values...may end up in a message that's not WS-Addressing compliant. Designs/implementations that do require non-compliant messages like this probably needs to be re-evaluated closely:) -Vinh From: Eran Chinthaka [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2008 9:23 PM To: axis-user@ws.apache.org Subject: Re: [AXIS2] - How to control To element in the SOAP header? Oh I see.Thanks Vinh for the update ;) Can you please help Axis2 to implement it properly to be WS-Addressing compliant ? On Wed, Jun 4, 2008 at 4:00 PM, Vinh Nguyen (vinguye2) [EMAIL PROTECTED] wrote: Hi, The WS-Addressing spec states that the address value of the EndpointReference should be copied into the To header. If implementations are doing otherwise, they are probably not WS-Addressing compliant. See Section 2.3 of the following link: http://www.w3.org/Submission/ws-addressing/ Hope this helps... -Vinh
Re: Exposing CORBA Services as Web Services - Work-Around
Juergen Any documentation on IOR Corba server addressing? Vielen Danke Martin - Original Message - From: Juergen Weber [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Thursday, June 05, 2008 2:25 PM Subject: Exposing CORBA Services as Web Services - Work-Around Hi all, in case anybody else tries the sample from Exposing CORBA Services as Web Services - Introduction to the Axis2 CORBA Module http://wso2.org/library/2807 you will run into org.apache.axis2.AxisFault: unknown Problem is that CorbaUtil.resolveObject() throws a CORBA.OBJECT_NOT_EXIST (which is swallowed by Axis, see AXIS2-3836). The nameserver lookup code does not work, no idea why. A work-around to get the sample running is to use IOR based Corba server adressing. object_to_string the Object in the server, write it into a file and configure mycorbaserver.xml to use that file parameter name=iorFilePath/my/ior.txt/parameter Then the sample works fine. Cheers, Juergen - 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]
Re: Exposing CORBA Services as Web Services - Work-Around
see here http://www.javaworld.com/javaworld/jw-02-1999/jw-02-enterprise.html?page=2 or the JacORB sample in JacORB/demo/hello On Thu, Jun 5, 2008 at 8:38 PM, Martin [EMAIL PROTECTED] wrote: Juergen Any documentation on IOR Corba server addressing? Vielen Danke Martin - Original Message - From: Juergen Weber [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Thursday, June 05, 2008 2:25 PM Subject: Exposing CORBA Services as Web Services - Work-Around Hi all, in case anybody else tries the sample from Exposing CORBA Services as Web Services - Introduction to the Axis2 CORBA Module http://wso2.org/library/2807 you will run into org.apache.axis2.AxisFault: unknown Problem is that CorbaUtil.resolveObject() throws a CORBA.OBJECT_NOT_EXIST (which is swallowed by Axis, see AXIS2-3836). The nameserver lookup code does not work, no idea why. A work-around to get the sample running is to use IOR based Corba server adressing. object_to_string the Object in the server, write it into a file and configure mycorbaserver.xml to use that file parameter name=iorFilePath/my/ior.txt/parameter Then the sample works fine. Cheers, Juergen - 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with webservice client for requesting WSDL from Axis
I am a rookie in Axis. I am trying to use a vendor software developer tool to consume the webservice that I have just successfully deployed in Axis 1.4 on Tomcat. I am getting error while the client was trying to process the WSDL. My url for the WSDL is :http://beuxsybdvl1:8088/axis/services/P3EClient?wsdl And I am getting the following error in Tomcat log: - The class java.lang.Throwable is defined in a java or javax package and cannot be converted into an xml schema type. An xml schema anyType will be used to define this class in the wsdl file. - The class java.lang.StackTraceElement is defined in a java or javax package and cannot be converted into an xml schema type. An xml schema anyType will be used to define this class in the wsdl file. I have no idea what the above error about. Please help ! Ben...
WS-I Compliance Assertion: BP2402
Hi, Please find attached my wsdl file which failed in WS-I compliance test as below. I tried to browse around various forums, but could not find the solution. Could you please help? Assertion: BP2402 Result failed Failure Message The wsdl:binding element does not use a soapbind:binding element as defined in section 3 SOAP Binding. of the WSDL 1.1 specification. http://www.nabble.com/file/p17678830/raterankservice.wsdl raterankservice.wsdl Thanks, Muralidaran Chakravarthy -- View this message in context: http://www.nabble.com/WS-I-Compliance-Assertion%3A-BP2402-tp17678830p17678830.html Sent from the Axis - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
stub class
Hi, nbsp; Let me ask one more doubt... how many classes will be generated by the wsdl2java ? I got only 2 classes, one stub class and an handler class. I am using axis2 1.3 Sorry if its a stupid question nbsp; Thanks, --- On Thu, 5/6/08, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: From: Jyotsna Varma lt;[EMAIL PROTECTED]gt; Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 9:43 PM please find the attached stub class --- On Thu, 5/6/08, Perez Arbulu, Ibai lt;[EMAIL PROTECTED]gt; wrote: From: Perez Arbulu, Ibai lt;[EMAIL PROTECTED]gt; Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: [EMAIL PROTECTED], axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 8:23 PM The Stub itself. nbsp; De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:51 Para: Perez Arbulu, Ibai; axis-user@ws.apache.org Asunto: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Thanks for the response. nbsp; I am not sure which part of the code you required. Let me explain the background. I am using java1.5,tomcat5.5.17 for the web application I am developing, rather already developed. I am trying to integrate an external application. I have got the wsdl url which they have provided. I used axis2 1.3 wsdl2java to generate stub classes. I have copied those stub classed to the director (I am using netbeans) which application resides. From one of class I am trying to accesss the methods from stub class (just to test). Stub class is bigger in size. Also to be honest I am not sure which are the classes I need to access the external application's database (thats what i want to do exactly). nbsp; Can you tell me which class you need to see ? --- On Thu, 5/6/08, Perez Arbulu, Ibai lt; [EMAIL PROTECTED] gt; wrote: From: Perez Arbulu, Ibai lt; [EMAIL PROTECTED] gt; Subject: RE: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org, [EMAIL PROTECTED] Date: Thursday, 5 June, 2008, 8:10 PM Show your code….. the involved part at least…. nbsp; De: Jyotsna Varma [mailto:[EMAIL PROTECTED] Enviado el: jueves, 05 de junio de 2008 16:38 Para: axis-user@ws.apache.org Asunto: Re: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Can anybody please help me on this? --- On Thu, 5/6/08, Jyotsna Varma lt;[EMAIL PROTECTED]gt; wrote: From: Jyotsna Varma lt;[EMAIL PROTECTED]gt; Subject: org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID To: axis-user@ws.apache.org Date: Thursday, 5 June, 2008, 6:57 PM Hi, nbsp; When I try to access the stub class methods, I get the exception org.apache.axis2.databinding.ADBException: Unexpected subelement SessionID nbsp; Please anyone have an idea what the error is this ? nbsp; Thanks, nbsp; Sent from Yahoo! Mail. A Smarter Email. nbsp; Sent from Yahoo! Mail. A Smarter Email. nbsp; Sent from Yahoo! Mail. A Smarter Email. Sent from Yahoo! Mail. A Smarter Email.- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Re: Axis2 Service Archiver issue
Alright some more fuel for the fire. I used the command line WSDL2JAVA tool bundled with Axis2 1.4 and imported the result into eclipse. Then tried to use the archive plugin on that. I do not receive the class not found error but I also don't get a class listing either. If I change the spelling I do get the class not found so now it seems to find the test service I created but still does not give a listing of the available services nor does it enable the next button. Hope that helps. Given enough time, the proper resources, and access to some really toxic stuff, one can probably dissolve just about anything except Peep eyes. - Original Message From: Chris O'Connor [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Thursday, June 5, 2008 2:00:49 PM Subject: Re: Axis2 Service Archiver issue I am seeing the same problem as Kmany. I ran through the wizard but when I get to trying to load the class I also get the error : Class not found ... I actually even tried getting the plugin up in eclipse to debug where it thought it was looking but couldn't get it to work. But that's a seperate issue... I tried a number of different Class File Locations in step 1. It seems like the plugin should be able to find that out from the project but that's neither here nor there, the problem is it doesn't seem to work. I tried each directory in the tree which follows the model below... Project build classes com my_company my_project_name *.class I tried a number of variations of my_service_name and my_class_name I'm using the version of the plugin from: axis2-eclipse-service-archiver-wizard-1.4.zip and running a clean unzip of eclipse from this .zip eclipse-jee-ganymede-RC1-win32.zip Other system attribs: Java jdk 1.6.0_05 Windows XP I'm happy to supply more info I'm just not sure what else would give more insight... -Chris Given enough time, the proper resources, and access to some really toxic stuff, one can probably dissolve just about anything except Peep eyes.
Re: Axis2 Service Archiver issue
Alright some more fuel for the fire. I used the command line WSDL2JAVA tool bundled with Axis2 1.4 and imported the result into eclipse. Then tried to use the archive plugin on that. I do not receive the class not found error but I also don't get a class listing either. If I change the spelling I do get the class not found so now it seems to find the test service I created but still does not give a listing of the available services nor does it enable the next button. Hope that helps. Given enough time, the proper resources, and access to some really toxic stuff, one can probably dissolve just about anything except Peep eyes. - Original Message From: Chris O'Connor [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Thursday, June 5, 2008 2:00:49 PM Subject: Re: Axis2 Service Archiver issue I am seeing the same problem as Kmany. I ran through the wizard but when I get to trying to load the class I also get the error : Class not found ... I actually even tried getting the plugin up in eclipse to debug where it thought it was looking but couldn't get it to work. But that's a seperate issue... I tried a number of different Class File Locations in step 1. It seems like the plugin should be able to find that out from the project but that's neither here nor there, the problem is it doesn't seem to work. I tried each directory in the tree which follows the model below... Project build classes com my_company my_project_name *.class I tried a number of variations of my_service_name and my_class_name I'm using the version of the plugin from: axis2-eclipse-service-archiver-wizard-1.4.zip and running a clean unzip of eclipse from this .zip eclipse-jee-ganymede-RC1-win32.zip Other system attribs: Java jdk 1.6.0_05 Windows XP I'm happy to supply more info I'm just not sure what else would give more insight... -Chris Given enough time, the proper resources, and access to some really toxic stuff, one can probably dissolve just about anything except Peep eyes.