RE: How to dump SOAP message contents?

2008-06-09 Thread McCullough, Ryan
Enabling log4j was relatively painless. Just create the log4j.properties text file with these contents: # Set root category priority to INFO and its only appender to CONSOLE. log4j.rootCategory=ERROR, LOGFILE log4j.logger.org.apache.axis.transport.http.HTTPSender=DEBUG # LOGFILE is set to be a Fi

WSDL2Java for JMS Endpoint.

2008-06-09 Thread Gautham.Kasinath
Hello all, I have been looking around in the list for some hint to explain/resolve my problem, in vain. So here I am posting my issue. I have been using Axis 1.4 final, to WSDL2Java a SOAP based Web Service that requires the JMS Transport. The Service itself runs within the TIBCO EMS environm

getClass().getResource() in .aar?

2008-06-09 Thread Stephen Kilburn
Hi, I am attempting to embed a resource file in an Axis2 .aar, but haven't been able to make this work. I have been using the syntax: URL propUrl = this.getClass().getResource("/myResource.properties"); This returns null. I've tried putting the resource file in various places in the .aar, but

[ANN] Apache Synapse ESB 1.2 released

2008-06-09 Thread Ruwan Linton
The Apache Synapse team is pleased to announce the release of version 1.2 of the Open Source Enterprise Service Bus (ESB). Apache Synapse is an lightweight and easy-to-use Open Source Enterprise Service Bus (ESB) available under the Apache Software License v2.0. Apache Synapse allows administrator

Re: org.apache.axis2.AxisFault: Two services cannot have same name.

2008-06-09 Thread nxwes
Thank you for the feedback. My problem was I didn't generate a unique service name or should call it service id for a the Service EPR. Thanks, Neo. David Ojeda wrote: > > I encountered this problem when several .aar files had the same > services.xml > file. I was generating my .aar files wit

Re: org.apache.axis2.AxisFault: Two services cannot have same name.

2008-06-09 Thread David Ojeda
I encountered this problem when several .aar files had the same services.xml file. I was generating my .aar files with ant, but I forgot that each service has its own different services.xml ! Hope it helps On Monday 09 June 2008 05:19:10 pm nxwes wrote: > I have > > ConfigurationContext clientC

org.apache.axis2.AxisFault: Two services cannot have same name.

2008-06-09 Thread nxwes
I have ConfigurationContext clientConfigContext = ConfigurationContextFactory .createConfigurationContextFromFileSystem(null, getConfigLocation()); And I declared it as static but start getting org.apache.axis2.AxisFault: Two services cannot have same na

Is AxisService Thread-Safe?

2008-06-09 Thread jaybytez
So I viewed the example and decided to create instances of AxisService using AxisService.createClientSideAxisService. I store the AxisService object in a static map and use the wsdl url as the key. This way the AxisService object is created once per wsdl and the AxisService is used to create the

RE: Invalid UTF-8 character encoding in SOAP response

2008-06-09 Thread Amandeep Singh
Thanks Andreas. My bad. The entity being produced is �� So, anyone who has axis 1 experience, any suggestions as to how to force axis to output correct entity? Thanks, Aman -Original Message- From: Andreas Veithen [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2008 2:59 PM To: axis

Re: Invalid UTF-8 character encoding in SOAP response

2008-06-09 Thread Andreas Veithen
Aman, D869 DE1A is actually the surrogate pair for the character with code point 2A61A, which is encoded as F0AA989A in UTF-8 (see http://www.cogsci.ed.ac.uk/~richard/utf-8.cgi) . The two other character references (��) correspond to another character. I'm not an expert, but the XML specs do

Invalid UTF-8 character encoding in SOAP response

2008-06-09 Thread Amandeep Singh
Hi All, I am using axis 1.3. If the response contains a CJK character in UTF-8, axis converts it into an xml entity. On the receiver side, xml parsing fails saying that it is an invalid xml entity. The character used has UTF-8 value F0AA989A. And axis converts it into . And parser fails

RE: [Axis2:v1.4] WSDL / SOAP Attachment question

2008-06-09 Thread Marc Lefebvre
So, in a JAVA class, which JAVA data type in a method call generates this xmime:base64Binary WSDL data type when using JAVA2WSDL? I could ascertain that from the examples I have seen. Most of these seems to start from a WSDL and generate the Java. I'm starting with JAVA and need to generate

Axis2 client configuration and client manager

2008-06-09 Thread nxwes
I was wondering if anyone could point me good tutorial regarding context of client axis2.xml. I am currently working on axis2 client manager where that class would be used by all Axis2 clients. I needed to know what would be the best approach! Thanks, Neo -- View this message in context: http:/

Re: unexpected sub element Code

2008-06-09 Thread Jyotsna Varma
Thanks Rushikesh for the response. I was trying to access XMLStreamReader xmlreader = q.getPullParser(new QName("qname")); One thing, to be honest I am not sure whether I am accessing the methods in a right way... the following is code I have (to test whether its working properly) DSTI_PROJECT

Re: unexpected sub element Code

2008-06-09 Thread Rushikesh Thakkar
Can you tell me which operation were you invoking on your webservice while you got this error? This error usually comes when you generate stubs from a WSDL that has a type (defined in 'types 'section) which has not defined the *unexpected subelement*. regards, -Rushikesh On Mon, Jun 9, 2008 at 4

Axis 1.2: Finalizer Holding MessageContext

2008-06-09 Thread Furlong, Marcus E
Hi, I'm running Axis 1.2 (not Axis2 1.2 but the original Axis) and noticed that some JVMs have heap sizes that grew unexplicably. I forced a heap dump and found that the Finalizer is holding a reference to MessageContext which is holding a reference to SAX2EventRecorder which has object array wit

[Axis2] Error : socket is not connected

2008-06-09 Thread Chatupong Charoenkitpaiboon
Hi, I have an issue pertaining to the usage of https in Axis2. I used my java class to call .net web service of my service provider, it works properly on my PC. However, it doesn't work when I run in AIX server which using IBM JVM instead of Sun JVM that I use in my PC. (Both JVM are the same ve

RE [Axis2] Crash during Hot Update

2008-06-09 Thread pierre . casenove
Hi, I have done more testing: the hot update works succefully on my local tomcat server and my local websphere 6.1 instance. It crashes only on websphere 6.1 Network Deployment edition on Linux. I have correctly set the classloading to PARENT_LAST. Another difference between my websphere local ins

WS-Policy for Rampart Examples

2008-06-09 Thread Andreas Spengler
Hi, I am trying to enable WS-Policy for a rampart secured webservice (specifically I am using sample09, encrypting the SOAP messages with a known embedded key). I found a book with a short section on WS-Policy where the policy description for sample03 is printed. Could someone point me to the sa

Hiding class attributes in wsdl

2008-06-09 Thread uygaryuzsuren
Hi all, I am currently working on a web service application and I use axis2. For creating my web service, I use Eclipse and it creates the service from an ordinary class which I already created. Everything works fine till now. My problem is that I don't want some of the properties of the data cl

[Axis2] Crash during Hot Update

2008-06-09 Thread pierre . casenove
Hi, I encounter an issue with the hot update functionnality. I deploy my Axis2 based web application, all the web services are deployed. Using Axis2 admin, I upload the same .aar file as the one included in the web app and I encounter this error: [Timer-8] 2008-06-09 15:25:01,583 INFO ServiceDep

Re: AMQP over the JMS transport with Qpid

2008-06-09 Thread Paul Fremantle
I notice that Rajith has also posted a blog entry on this! http://rajith.2rlabs.com/2008/06/08/axis2synapse-amqp-support-via-jms-transport-using-apache-qpid/ Thanks very much to both! Paul On Mon, Jun 9, 2008 at 12:49 PM, Suran Jayathilaka <[EMAIL PROTECTED]> wrote: > Hi, > > I have written a tu

Axis and reverse DNS

2008-06-09 Thread paul.ockleford
Hi, Can anybody help me as I have a strange problem, and I am not sure if it is to do with Axis. I am getting an axis "unknown host exception" for a domain name, this should resolve to a hardware load balancer that then returns the IP of the least busy web server. However when I do an nslookup o

AMQP over the JMS transport with Qpid

2008-06-09 Thread Suran Jayathilaka
Hi, I have written a tutorial describing the configuration options necessary to get a service deployed on Axis2 to be invoked via AMQP using the Axis2 or Synapse JMS transport, and an Apache Qpid/Java broker as the JMS broker. This is readable at http://wso2.org/library/3663. Granted, the sam

Re : Axis2 / Maven 2

2008-06-09 Thread Julien HENRY
Hi, mvn test is for unit testing. Should your tests require a running server it is no more a unit test but integration/acceptance test. There is a dedicated Maven phase for this concern: integration-test You can setup your server during the pre-integration-test phase and cleanup during post-in