Re: XMLBeans issue when deployed to ORacle appserver with jdk 1.4.2_08-b03

2008-09-17 Thread Amila Suriarachchi
try to put all the jar files under the lib folder of the service archive (.aar file) to WEB-INF/lib folder. thanks, Amila. On Wed, Sep 17, 2008 at 9:58 AM, Soyer, Muhammed A. <[EMAIL PROTECTED]>wrote: > Hi, > > I spent almost all my day trying to solve this issue. I am consuming web > service

Re: can't get axis2 security working for client code

2008-09-17 Thread Peter Kempf
Thanks! Yes, I was able to get this working if I attached an actual policy file. I looked to sample02 in rampart http://svn.apache.org/viewvc/webservices/rampart/trunk/java/modules/rampart-samples/policy/sample02/src/org/apache/rampart/samples/policy/sample02/Client.java?view=markup Using this

description-element in services.xml ?

2008-09-17 Thread Grimm, Markus
Hi, it's not the master-problem but ... I write some content in the descripton-tag of services.html and on the admin-page only a default-description appears. f.e. some more words ... But on the admin-page theres only 'XYZService' after Service Description: What's the reason? Conf:

Re: description-element in services.xml ?

2008-09-17 Thread keith chapman
Hi Markus, The name of the element should be Description not description Thanks, Keith. On Wed, Sep 17, 2008 at 3:12 PM, Grimm, Markus <[EMAIL PROTECTED]> wrote: > Hi, > > it's not the master-problem but ... > I write some content in the descripton-tag of services.html and on the > admin-page o

soap headers not present in handler

2008-09-17 Thread Matthias.Gaiser
Hi group, I have a weird phenomenon. I have implemented a compatibility header which adds the ws-adressing headers to non-ws-adressing-requests. I need this in order to use the soapsession id (servicegroupid) for my soapsession based service. Now I can call my service with a request without t

Re: Axis2 databinding xmlbeans: ArrayStoreException even within sample perf.wsdl

2008-09-17 Thread Christian Vogt
Hi everyone, finally solved, found the root cause, a classpath related issue. Within my ~/.ant/lib was a old xbean-1-jar residing which was loaded first. After removing the jar from the .ant/lib-folder, the sample works as expected Christian Christian Vogt schrieb am 11.09.2008 12:52: Hi eve

Re: can't get axis2 security working for client code

2008-09-17 Thread Dimuthu Leelarathne
Hi, I saw the policy in the article. You simply can append the few lines to the policy in the article. You can build assertions by hand using builders, but i don't see that is necessary. org.apache.ws.secpolicy12.builders.WSS10Builder Thank you, Dimuthu Peter Kempf wrote: Thanks! Yes,

IWAB0497E Error in writing WSDL file null

2008-09-17 Thread jackdawson
Hello all, First of all thanks for all the help I've been getting here. Here is the new hurdle. I followed all the steps for creating a web service using a top down approach from this tutorial: http://www.eclipse.org/webtools/community/tutorials/TopDownAxis2WebService/td_tutorial.html http://w

RE: XMLBeans issue when deployed to ORacle appserver with jdk 1.4.2_08-b03

2008-09-17 Thread Soyer, Muhammed A.
I don't have an aar file because I am not hosting the web services I am consuming them from a web application.. From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2008 3:05 AM To: axis-user@ws.apache.org Subject: Re: XMLBeans issue when deployed to ORacle appserver

SOAP Envelope not serializable for robust-in-only operations

2008-09-17 Thread Martin Scholl
Hi, I got some trouble with the SOAP Envelope contained in the MessageContext of in-only operations, which I access in the ServiceSkeleton implementation class. When calling toString operation on any element of the envelope (body, header, etc.) or on the envelope itself I receive an OMExc

Re: SOAP Envelope not serializable for robust-in-only operations

2008-09-17 Thread keith chapman
What is the mechanism you used to access the SOAPEnvelop from the service implementation class? Thanks, Keith. On Wed, Sep 17, 2008 at 4:58 PM, Martin Scholl < [EMAIL PROTECTED]> wrote: > Hi, > > I got some trouble with the SOAP Envelope contained in the MessageContext > of in-only operations, w

Re: SOAP Envelope not serializable for robust-in-only operations

2008-09-17 Thread Martin Scholl
I simple use MessageContext.getCurrentMessageContext().getEnvelope() which works for in-out operations. For in-only operations I know that the envelope is non-null and seems to contain valid content since the XMLBeans operation parameter content is all right. Regards, Martin Am 17.09.200

Re: passive replication

2008-09-17 Thread Igor Nogueira
Thanks! I'll read it! 2008/9/16 Deepal jayasinghe <[EMAIL PROTECTED]> > Yes , we have implemented a way to keep session aware data. However you > have to remember that all the data have store in Axis2 Context > hierarchy. If you look at Axis2 clustering then you can understand the > rest. > > -De

Re: soap headers not present in handler

2008-09-17 Thread Deepal jayasinghe
The problem is Axis2 server only send the wsa- headers if any only if you send request with wsa. Thank you! Deepal > > Hi group, > > I have a weird phenomenon. > > I have implemented a compatibility header which adds the ws-adressing > headers to non-ws-adressing-requests. I need this in order to

Re: Axiom service / useOrignalWSDL / java.lang.ClassNotFoundException: org.apache.axiom.om.OMContainer

2008-09-17 Thread Jaroslav Pullmann
Dear Charitha, the happiness page of Axis is the only one alive and reporting "some problems". I bypassed finally the problem by deploying via the Axis' embedded server. The service is behaving just as expected! The error is probably owed to the setup (Tomcat6 + Axis2 + 64bit java). M

Re: Axiom service / useOrignalWSDL / java.lang.ClassNotFoundException: org.apache.axiom.om.OMContainer

2008-09-17 Thread Jaroslav Pullmann
Dear Keith, Axis2 was run as webapp within Tomcat and behaved normally for other services. Now I deployed the service in Axis' embedded server and it works fine. Best regards Jaro keith chapman wrote: Looks like your missing axiom jars in the classpath ( java.lang.NoClassDefFoundE

AW: description-element in services.xml ?

2008-09-17 Thread Grimm, Markus
Hi Keith, thank you! It's a little bit strange. Someone should fix the axis-doku ;-) http://ws.apache.org/axis2/1_4_1/axis2config.html#Service_Configuration Bye, Markus Von: keith chapman [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 17. September 2008 12

Axis2 WS-Addressing messageid in response

2008-09-17 Thread Erwin Reinhoud
Hello All, Wondering if anyone could tell me how to set the wsa:MessageID for a reply message from a service with a custom format. Thanks in advance. Kind regards, erwin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

AW: IWAB0497E Error in writing WSDL file null

2008-09-17 Thread Grimm, Markus
Hi, just an idea: is there a resource-folder under your project ? delete all content. delete all content under WebContent except axis2-web, META-INF and WEB-INFand try again. hope this helps... Bye Markus -Ursprüngliche Nachricht- Von: jackdawson [mailto:[EMAIL PROTECTED] Gese

RE: soap headers not present in handler

2008-09-17 Thread Martin Gainty
can we override ws-addressing with SOAP_ROLE_FOR_ADDRESSING_HEADERS msgContext property e.g. AddressingOutHandlerTest.java //test-harness ConfigurationContext cfgCtx = ConfigurationContextFactory.createDefaultConfigurationContext(); msgCtxt = cfgCtx.createMessageContext();

Re: AW: IWAB0497E Error in writing WSDL file null

2008-09-17 Thread jackdawson
Thanks Markus but there are folders and no content under WebContent. I thought it would be easier to use Axis2 Eclipse Codegen plugins. Even that threw an InterruptedException on the final step of generating server side stuff. Any idea of what might be wrong? Thanks. Grimm, Markus wrote:

RE: AW: IWAB0497E Error in writing WSDL file null

2008-09-17 Thread Martin Gainty
agreed /TestAuthenticationWebService/WebContent/WSDL exists or /TestAuthenticationWebService/WebContent/wsdl exists or /TestAuthenticationWebService/WebContent/Wsdl exists or /TestAuthenticationWebService/WebContent/WsDl exists clean your folder /TestAuthenticationWebService before deploying will

Re: description-element in services.xml ?

2008-09-17 Thread keith chapman
Fixed in trunk. Thanks, Keith. On Wed, Sep 17, 2008 at 6:47 PM, Grimm, Markus <[EMAIL PROTECTED]> wrote: > Hi Keith, > > thank you! > It's a little bit strange. > Someone should fix the axis-doku ;-) > > http://ws.apache.org/axis2/1_4_1/axis2config.html#Service_Configuration > > Bye, > Markus >

Part 'fault' of fault message must be defined with 'element=QName' and not 'type=QName'

2008-09-17 Thread Dilshener Tezcan (extern HVB IS - UniCredit Group)
Hi all, I am trying to generate Axis2 java proxies using the org.apache.axis2.wsdl.WSDL2Java and getting the following error from [ERROR] Part 'fault' of fault message '{http://10.56.7.102.:9081/wfmq_services/services/AODServices}WfMqWorkflowServiceSOAPException' must be defined with 'element

Problem with CDATA tags in SOAP message.

2008-09-17 Thread Vinay Cardoza
Hi, I am trying to send a SOAP request using Apache Axis 1.3. An element in the SOAP body requires the text to be wrapped in CDATA element. The code snippet is as follows: String stringToBeWrapped = "A'B'C'D"; OMElement elementWhichNeedsCData = ; TextImpl omText = (TextImpl) body

RE: XMLBeans issue when deployed to ORacle appserver with jdk 1.4.2_08-b03

2008-09-17 Thread Soyer, Muhammed A.
Some more details .. I could make it work if I change the below getClassLoader with Thread.currentThread().getContextClassLoader() org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(FetchProfileResponseDocument.class.getClassLoader() This is a generated code and normally works fine with jdk

Re: AW: IWAB0497E Error in writing WSDL file null

2008-09-17 Thread jackdawson
Thanks for the prompt reply. I'm using Axis2 Eclipse Codegen plugin for creating a web service from a WSDL. Initially, I tried to create server side components. So, this is what I did: Step 1: File -> New -> Other ->Axis2 Wizards -> Axis2 Code Generator. Clicked Next. Step 2: Selected "Generate

RE: AW: IWAB0497E Error in writing WSDL file null

2008-09-17 Thread Martin Gainty
this is specific to JIBX did you follow the instructions here? http://ws.apache.org/axis2/1_3/userguide-creatingclients-jibx.html then use wsdl2Java to generate server wsdl2Java -g -ss -uri *.wsdl then to create the stub wsdl2Java -t -uri *.wsdl Martin ___

Socktimeout exception - Strange issue

2008-09-17 Thread qb
Hi I keep getting this error using axis to connect to this website. It works perfectly fine when i use my local host (using tomcat) but doesnt work on our production that uses websphere. I have set the connection timeout property for websphere to 0. The same sutff works fine on stage. If any o

Re: passive replication

2008-09-17 Thread Igor Nogueira
I've read it and tried to work with the ConfigurationContext just to test it, but it isnt's serializable, is it? If I need to keep the backup replicas up-to-date, so I shouldn´t use soapsession as session scope, but application or group scope isn't it? Thanks you in advance! P.S: My English is aw

RE: AW: IWAB0497E Error in writing WSDL file null

2008-09-17 Thread jackdawson
No, I didn't follow the instructions from there. This is where I followed the steps from : http://wso2.org/library/1986 http://wso2.org/library/1986 But I think I'm kind of lost now. Before I ask you why JIBX came into picture may I ask you the steps to create a web service when you have only

Re: Problem with CDATA tags in SOAP message.

2008-09-17 Thread Saliya Ekanayake
Hi, I tested this using Axis2 nightly build but couldn't recreate your issue. I mean, it works fine. If you can please try with Axis2 Snapshot. Thanks, Saliya On Wed, Sep 17, 2008 at 9:03 PM, Vinay Cardoza <[EMAIL PROTECTED]>wrote: > > Hi, >I am trying to send a SOAP request using Apache Ax

jar-libs in service-archive

2008-09-17 Thread Grimm, Markus
Hi guys, another question: How can I deploy a special jar-file that is used in my service-source within the service archive ? Must I unpack the jar in the archive structure or is there another way ? Thanks, Markus - To unsu

Re: jar-libs in service-archive

2008-09-17 Thread charitha kankanamge
Hi markus, You could create a lib directory inside service archive (*.aar) and add your jar in there. Please see [1] for more information on this. [1]http://jaxmag.com/itr/online_artikel/psecom,id,757,nodeid,147.html Regards Charitha http://charithaka.blogspot.com Grimm, Markus wrote: Hi g