Re: Problem attaching XML payload as text

2008-01-03 Thread Andreas Veithen
Hi! The behavior of Axis seems entirely correct to me, because there is no need to escape and quotes only need to be escaped when appearing inside an attribute value. Why would you like to have Axis escape and quotes? Andreas On 03 Jan 2008, at 19:02, Melchi, Pablo (GE Money,

Using some sort of in-VM transport between Synapse and a web app deployed on the same server?

2008-01-04 Thread Andreas Veithen
Hi all! Consider the following use case for Synapse: * Synapse is deployed as a Web application. * The Synapse configuration has a service proxy that targets a service exposed by another Web application deployed on the same server. * Both the proxy and the target use HTTP as transport

Re: How to acquire necessary Axis2-jars via Maven2

2008-01-04 Thread Andreas Veithen
Hi Thomas, http://repo1.maven.org/maven2/ should contain everything you need. Regards, Andreas On 04 Jan 2008, at 15:20, [EMAIL PROTECTED] wrote: Hello Axis-users, i assume, this is an easy one for you: I want to setup a basic Maven2-based Axis2 project from scratch. The core

Re: Using some sort of in-VM transport between Synapse and a web app deployed on the same server?

2008-01-05 Thread Andreas Veithen
On 05 Jan 2008, at 03:55, Asankha C. Perera wrote: Andreas * By acquiring a RequestDispatcher for a servlet from the foreign context and invoking forward or include on this object. The first approach can be discarded, again because of class loader issues and the fact that it would require

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Andreas Veithen
Hi Michele! I think the NIO HTTP code in Axis2 actually comes from the Apache Synapse project. There were several issues about NPEs reported for Synapse. Maybe you can search the JIRA issues to see if your particular issue has already been solved in Synapse. Regards, Andreas Quoting

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Andreas Veithen
is failed and not timeout. Michele [1] http://issues.apache.org/jira/browse/SYNAPSE-205 On 10 Jan 2008, at 13:23, Andreas Veithen wrote: Hi Michele! I think the NIO HTTP code in Axis2 actually comes from the Apache Synapse project. There were several issues about NPEs reported for Synapse

Re: [Axis2] NPE in HttpCoreNIOSender

2008-01-10 Thread Andreas Veithen
. Michele On 10 Jan 2008, at 14:59, Andreas Veithen wrote: Hi Mechele, This issue is indeed strictly related to connection timeouts. I remember that there were other issues with NPEs in HTTPCoreNIOSender. These were resolved in the meantime, but probably those corrections have not yet been

Re: Exception doesnt contain ObjectFactory.class or jaxb.index

2008-01-10 Thread Andreas Veithen
Virgil, Both the ObjectFactory class and the jaxb.index file are generated by JAXB 2. They are required by JAXB to load the generated classes at runtime. So, the message basically tells you that the generated classes are not available in the classpath. Andreas On 10 Jan 2008, at 19:33,

Re: org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

2008-01-11 Thread Andreas Veithen
Raghu, If you look at http://www.w3.org/TR/SOAP-attachments, RFC 2045 and RFC 822, you can see that the Content-ID field and also the start part of the Content-Type field don't conform to the specifications. It is therefore not so surprising that Axis rejects the message. Maybe you

Re: org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

2008-01-11 Thread Andreas Veithen
/related (Axis2 doesn't handle it) Two: Text/xml should be text/xml (Axis2/ Axiom should handle it) Thanks, Raghu -Original Message- From: Andreas Veithen [mailto:[EMAIL PROTECTED] Sent: Friday, January 11, 2008 12:40 PM To: axis-user@ws.apache.org Subject: Re: org.apache.axis2

Re: SOAP-ENV versus soapenv

2008-01-11 Thread Andreas Veithen
@Alaistair: It would surprise me if the example you cite conformed to the XML specs, because it would break compatibility with non namespace aware parsers. Anyway, this has nothing to do with the problem Andrew faces. @Andrew: The value of the namespace prefix (soapenv or SOAP-ENV)

Re: [Axis2] MessageContext.getProperty() causes StackOverflowError

2008-01-11 Thread Andreas Veithen
Hi Michele, You should open a JIRA issue and if available attach the stack trace to it (to see where the recursion happens). Regards, Andreas On 11 Jan 2008, at 17:07, Michele Mazzucco wrote: Hi all, I've noticed that MessageContext.getProperty()/getReplyTo() (and in general all

Re: org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

2008-01-11 Thread Andreas Veithen
-Type: Multipart/Related; regarding cas-insensitive parameter names I do seeHowever, parameter values are case-sensitive unless otherwise specified for the specific parameter.so the label can be case-insensitivethe assigned value IS case- sensitiveMFrom: Andreas Veithen [EMAIL PROTECTED] To: axis

Re: org.apache.axis2.AxisFault: Invalid Content Type Field in the Mime Message

2008-01-11 Thread Andreas Veithen
the key value as multipart/ related where we are trying to get Multipart/Related which fails and returns null. Thanks, Raghu -Original Message- From: Andreas Veithen [mailto:[EMAIL PROTECTED] Sent: Friday, January 11, 2008 3:44 PM To: axis-user@ws.apache.org Subject: Re: org.apache.axis2

Re: Exception doesnt contain ObjectFactory.class or jaxb.index

2008-01-12 Thread Andreas Veithen
in WEB-INF\lib folder of the Axis2 web-app in order to be in the classpath but still the same error. What do you think I am doing wrong? Thanks, Virgil - Original Message From: Andreas Veithen [EMAIL PROTECTED] To: axis-user@ws.apache.org Sent: Thursday, January 10, 2008 8:53:46 PM

Re: Process SOAP message containg XHTML

2008-01-14 Thread Andreas Veithen
Dear all, I was able to reproduce Scott's problem and I identified OMElementImpl#getText as the culprit: this method uses a particular inefficient way to do string concatenations. By using a StringBuffer (as you learn in any introductory course on Java...) I was able to reduce processing

Re: Process SOAP message containg XHTML

2008-01-14 Thread Andreas Veithen
even Jre 1.4 des this , not sure.. What version of JRE did you run this on ? -Original Message- From: Andreas Veithen [mailto:[EMAIL PROTECTED] Sent: Monday, January 14, 2008 4:49 PM To: axis-user@ws.apache.org Subject: Re: Process SOAP message containg XHTML Dear all, I was able

Re: Axis 1.3 Client Hangs when used with Non-Axis SOAP Server

2008-01-17 Thread Andreas Veithen
John, It would be interesting to know where exactly in the code Axis hangs. When the connection eventually times out, do you get an exception with a stack trace? That would be a useful piece of information. Andreas Quoting John Eapen [EMAIL PROTECTED]: Hello All, Appreciate any help in

Re: [axis2] custom configuration context

2008-01-18 Thread Andreas Veithen
Michele, How did you construct the URLs passed as arguments to createConfigurationContextFromURIs? Can you also provide the stack trace of the java.net.MalformedURLException, or better the instruction in the source code that triggers this exception? Andreas On 18 Jan 2008, at 17:35,

Re: [axis2] custom configuration context

2008-01-20 Thread Andreas Veithen
= WorkerConfiguration.class.getClassLoader().getResource(repository/); Or if this still doesn't work, URL repo = new URL(url, repository/); Regards, Andreas On 19 Jan 2008, at 10:18, Michele Mazzucco wrote: On Sat, 2008-01-19 at 00:39 +0100, Andreas Veithen wrote: Michele, How did you construct the URLs passed

Re: getCurrentMessageContext() returns null when invoked from an EJB?

2008-01-21 Thread Andreas Veithen
Hi, MessageContext stores the current message context in a ThreadLocal. To be able to retrieve it, two conditions must be met: 1) The Axis JARs must be loaded from the same class loader. 2) MessageContext#getCurrentMessageContext must be called from within the thread that received the

Re: BP2113 warning on WS-Interoperability test

2008-01-28 Thread Andreas Veithen
/ or: wsdl:part name=fault element=ServiceProcessException/ generates errors in the validator, saying that it must refer to valid values defined in a schema. How do I determine what the valid values are? -Original Message- From: Andreas Veithen [mailto:[EMAIL PROTECTED] Sent: January 28, 2008

Re: BP2113 warning on WS-Interoperability test

2008-01-28 Thread Andreas Veithen
Kevin, Probably the warning means that you should define the fault in the XSD using an element rather than a type. In this case, you have to use the element attribute instead of the type attribute in wsdl:part; that's why the message refers to not defined using only the element

Re: Problem: DomException NAMESPACE_ERR

2008-02-03 Thread Andreas Veithen
Hi! I recently encountered the error message NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces in a different context. In my case it was due to the fact that the Xerces JAR was included in the Web application I was

Re: AxisServlet ListingAgent

2008-02-08 Thread Andreas Veithen
Hi Guillaume! In the Apache Synapse project we had the very same problem. See http://issues.apache.org/jira/browse/SYNAPSE-222 for a workaround. Andreas On 08 Feb 2008, at 15:50, Guillaume Cauchon wrote: Hi, I’m currently working on a custom AxisServlet in which I need to pass more data

Re: AXIS TCP - TIME_WAIT - Connection Leak

2008-02-09 Thread Andreas Veithen
A TCP connection goes to state TIME_WAIT after the local end has been closed in an orderly way (that is not with a connection reset). On a system that opens and closes many connections, it is therefore normal to see many connections in this state. This is not a problem, since in this

Re: AXIS TCP - TIME_WAIT - Connection Leak

2008-02-09 Thread Andreas Veithen
On 09 Feb 2008, at 19:52, Michele Mazzucco wrote: This is not a problem, since in this state, no resources (other than the corresponding entries in some internal OS data structure and that you can see with netstat) are consumed whatsoever. This might be a problem, since they increase the

Re: AXIS TCP - TIME_WAIT - Connection Leak

2008-02-10 Thread Andreas Veithen
://www.port80software.com/200ok/archive/2004/12/07/205.aspx http://msdn2.microsoft.com/en-us/library/aa560610.aspx On 9 Feb 2008, at 20:59, Andreas Veithen wrote: On 09 Feb 2008, at 19:52, Michele Mazzucco wrote: This is not a problem, since in this state, no resources (other than

Re: Async requests killing network

2008-02-11 Thread Andreas Veithen
Hi Matthias! Could you send us the output of the netstat -na command (on the client and the server) when this happens? Andreas On 11 Feb 2008, at 12:11, Matthias Wermund wrote: Hi, I'm having problems starting a big amount of async webservice requests via Axis2 client in short time.

Re: [Axis2] Call service with UTF-8 Stream

2008-02-11 Thread Andreas Veithen
Hi Oliver! The code you use to read the content of the file is incorrect. The size of the char array you are allocating equals the file size, which is calculated in number of bytes. For UTF-8, if special characters appear in the file, the number of characters is less than the number of

Re: encoding of SOAP responses

2008-02-14 Thread Andreas Veithen
On 14 Feb 2008, at 11:01, Jan Philipp Seng wrote: Some clients need utf-8, others need latin1 Why would a client need latin1? Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Axis2 [1.3] Problems with special chars

2008-02-14 Thread Andreas Veithen
On 14 Feb 2008, at 10:42, Thomas Pawlitzki wrote: When i now call the service method of the stub to send the message to the webservice the httpclient logs the follwowing: ... ns1:Vereinigung ns1:NatuerlichePerson ns1:NachnameDuck[0xd6]/ns1:Nachname ns1:VornameDaisy/ns1:Vorname

Re: jaxws-calculator

2008-02-25 Thread Andreas Veithen
Yep, with the plugin from the snapshot repository, build fails with: java.lang.NoClassDefFoundError: org/apache/maven/archiver/ MavenArchiveConfiguration at org.apache.axis2.maven2.aar.AarMojo.init(AarMojo.java:71) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native

Re: [Axis2] Get the ball rolling on the stalled 1.4 Release

2008-02-28 Thread Andreas Veithen
On 28 Feb 2008, at 18:07, Davanum Srinivas wrote: I was looking at the JIRA a bit. There are 4 blockers as of right now. Can folks please review JIRA issues and let everyone know if there are bugs that *have* to be fixed for getting 1.4 out the door? Are there other items on the table or

Re: [Axis2] Moving Axis2 code base into JDK 1.5

2008-02-28 Thread Andreas Veithen
On 27 Feb 2008, at 05:15, Deepal Jayasinghe wrote: So if we move to JDK 1.5 we can get better support , and I do not think any advantage of staying in 1.4 . If some user want to use Axis2 in JDK 1.4 they can happily use Axis2 1.3 , which is very stable version and working fine in 1.4 and

Re: [Axis2] Maven2 Source Jars?

2008-03-02 Thread Andreas Veithen
Probably he suggests to use maven-source-plugin to attach source JARs to the Maven artifacts. This would indeed be very handy, especially when importing Maven projects with Axis as dependency into Eclipse. Andreas On 28 Feb 2008, at 20:08, Tom Seelbach wrote: There is an axis2 v1.3 source

Re: maven-aar-plugin

2008-03-07 Thread Andreas Veithen
@Upul: I have the same problem. The snapshot is in the repository and downloads successfully, but Maven fails to execute it (see AXIS2-2788). @Bodo: What Maven version do you use? Andreas On 04 Mar 2008, at 15:45, Upul Godage wrote: Hi, Looks like it is trying to get a SNAPSHOT that

Re: Question regarding attachments with Axis and DataHandler

2008-03-11 Thread Andreas Veithen
Yuva, The implementation of the ByteArrayDataSource constructor you are using looks as follows: public ByteArrayDataSource(InputStream is, String type) throws IOException { ByteArrayOutputStream os = new ByteArrayOutputStream(); byte[] buf = new byte[8192]; int len; while

Re: Question regarding attachments with Axis and DataHandler

2008-03-12 Thread Andreas Veithen
into memory my service would run out of memory if lots of client access the service at the same time. -Original Message- From: Andreas Veithen [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 5:41 PM To: axis-user@ws.apache.org Subject: Re: Question regarding attachments with Axis

Re: java.lang.reflect.InvocationTargetException

2008-03-12 Thread Andreas Veithen
Ajay, I think the stack trace is quite clear: java.io.EOFException at java.io.DataInputStream.readFully(DataInputStream.java:178) at com.ibm.mq.MQMessage.readStringOfByteLength(MQMessage.java: 583) at org.mibs.MQCommunicator.GetMsg(MQCommunicator.java:87) at

Re: Deploying Axis Artifacts to Maven Repo

2008-03-18 Thread Andreas Veithen
Ric, I'm not sure if this answers your question (if not please provide more details about what you are trying to achieve), but I can give you a few hints: * There are dedicated Maven plugins to build aar and mar projects: axis2-aar-maven-plugin and axis2-mar-maven-plugin. In the Axis2

Re: [Axis2]Use of wsdl4j jar

2008-03-18 Thread Andreas Veithen
Ashok, What is the reason why you have to use an older version of wsdl4j.jar? Andreas On 13 Mar 2008, at 07:37, Ashok Kumar Rajendran wrote: Hi , Does any one tell whats the use of wsdl4j.jar in Axis2 1.3 version? I am using Axis2 in client side for invoking web services . Does changing

Re: Generating client for Jira webservice

2008-03-18 Thread Andreas Veithen
On 18 Mar 2008, at 21:58, stlecho wrote: Second error message: Part 'fault' of fault message '{...}RemoteException' must be defined with 'element=QName' and not 'type=QName'. Solved by removing fault elements, but I have no clue on why these elements are causing problems. A similar issue

Re: Deploying Axis Artifacts to Maven Repo

2008-03-19 Thread Andreas Veithen
be resolved. So I manually installed it but although the war now builds it doesn't add the mar to the WEB-INF/modules directory. I keep hacking away but if anyone wants to put me out of my misery I'd really appreciate it. Thanks, Ric - Original Message From: Andreas Veithen [EMAIL

Re: Generating client for Jira webservice

2008-03-19 Thread Andreas Veithen
certain aspects of the WSDL standard. If this is the case, Atlassian could be asked to change it so that it conforms with the WSLD standard. Any help from a WSDL expert to have a look at this issue? Regards, Stefan. Andreas Veithen wrote: On 18 Mar 2008, at 21:58, stlecho wrote: Second

Re: Problem with xs:pattern and IsBasicLatin

2008-03-30 Thread Andreas Veithen
Andreas, The problem comes from the fact that in the XML Schema specification, Unicode character blocks are matched by \p{Is...} [1], whereas Java expects \p{In...} [2]. Replacing your pattern by [\p{InBasicLatin}\p{InLatin-1Supplement}]+ should work, but then your XSD is no longer

Re: MTOM attachments larger than 2.1GB (Integer.MAX_VALUE?)

2008-03-31 Thread Andreas Veithen
Roy, This seems to be a limitation of AXIOM that uses the int type for all length variables in the org.apache.axiom.attachments.Attachments class and various other classes it depends on. Regards, Andreas Quoting Roy Willy Haug [EMAIL PROTECTED]: Hi, We have a well working file

RE: MTOM attachments larger than 2.1GB (Integer.MAX_VALUE?)

2008-04-01 Thread Andreas Veithen
, Thilina On Mon, Mar 31, 2008 at 12:01 PM, Andreas Veithen [EMAIL PROTECTED] wrote: Roy, This seems to be a limitation of AXIOM that uses the int type for all length variables in the org.apache.axiom.attachments.Attachments class and various other classes it depends on. Regards

Re: [axis2 java client] ArrayList cannot be cast to Set

2008-04-16 Thread Andreas Veithen
On 16 Apr 2008, at 17:57, Smallwood, Rob wrote: Without being unkind (and I really mean that), I think a java tutorial explaining the fundamentals would fill in the missing gaps.. Rob, Without being unkind, I think you should read Mehdi's post more carefully before referring him to a Java

Re: [Axis2] Sub-types not being marshalled correctly

2008-04-29 Thread Andreas Veithen
Pat, I think JAXB's behavior in your case is entirely correct. The reason is that the fact that the schema type CoManagerIdentifier extends EmployeeIdentifier does not mean that in your XML you can substitute an EmployeeIdentifier wherever a CoManagerIdentifier can appear. To allow this

Re: [Axis2] Sub-types not being marshalled correctly

2008-05-02 Thread Andreas Veithen
. While the solution I have outlined works for certain scenarios, it does not work for mine (need to make elements optional). Anyone else overcome this problem, or have any ideas I can make it work? Any ideas gratefully received Pat Considine Andreas Veithen wrote: Pat, I think

Re: Direct access to Axis APIs to parse SOAP XML

2008-05-09 Thread Andreas Veithen
Chinmaya, If the goal is to automatically pick up files from a given file system location (local or remote) and inject them as SOAP messages into Axis2 (are you using Axis or Axis2?) then you should have a look at the VFS transport implemented as part of the Apache Synapse project.

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 (#xD858;#xDF4C;) correspond to another character. I'm not an expert, but the

Re: [AXIS2-1.4] Content-id based referencing vs Content Location based referencing

2008-06-17 Thread Andreas Veithen
The SOAP with Attachment specs define two approaches to reference attachments: one is based on the Content-ID header, the other on the Content-Location header. See http://www.w3.org/TR/SOAP-attachments for more information (look for Content-Location). The second approach is not supported

Re: Mac Question

2008-06-23 Thread Andreas Veithen
Sean, This looks like AXIS2-3453 [1] and should be fixed in Axis2 1.4. Andreas [1] https://issues.apache.org/jira/browse/AXIS2-3453 On 23 juin 08, at 22:36, Sean Conlon wrote: I have some simple tests that attach to a third party Web Service, which work perfectly fine for multiple

Re: Preserving CDATA Section

2008-08-27 Thread Andreas Veithen
Carl, We had the same issue in Apache Synapse (which is based on Axis2). You may have a look at the following JIRA issue to get an idea about the cause of this behavior, a possible workaround and the risks of that workaround: https://issues.apache.org/jira/browse/SYNAPSE-280 Regards,

Re: Java Web Start and packaging of Axis2-libs

2008-09-06 Thread Andreas Veithen
Michael, If you use Maven to build your application, you can use the maven- assembly-plugin with the built-in jar-with-dependencies descriptor to achieve this: plugin artifactIdmaven-assembly-plugin/artifactId configuration descriptorRefs

Re: Error HTTP :unsupported content-encoding of 'identity' found

2008-09-29 Thread Andreas Veithen
RFC2616, section 3.5 says the following about the identity content encoding: This content-coding is used only in the Accept-Encoding header, and SHOULD NOT be used in the Content-Encoding header. Assuming that the error is triggered by the Content-Encoding header, the behavior of Axis2 in

Re: Error HTTP :unsupported content-encoding of 'identity' found

2008-09-30 Thread Andreas Veithen
should ignore it if there is a header which says Content-encoding: identity. WDYT? Thanks, Keith. On Tue, Sep 30, 2008 at 12:01 AM, Andreas Veithen [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: RFC2616, section 3.5 says the following about the identity content encoding

Re: Axis2 - Inbuilt thread support

2008-10-05 Thread Andreas Veithen
ConfigurationContext#getThreadPool(). Andreas On 5 oct. 08, at 15:58, Deepal jayasinghe wrote: Hi All, I'm working on an Axis2 Observer. Currently the process inside the 'serviceUpdate' call back run synchronously by holding the main thread. I want to make that process asynchronous by

Re: UDP

2008-10-05 Thread Andreas Veithen
There is an UDP transport implementation in Synapse. It's not yet sure whether it will remain in Synapse or move to the new WS-Commons transport project (Since I wrote it, I guess it's up to me to decide ;-). Andreas On 5 oct. 08, at 06:46, Sanjiva Weerawarana wrote: Igor Nogueira

Re: UDP

2008-10-05 Thread Andreas Veithen
for this. After several months of inactivity the code was moved in a hurry without this kind of plan. We can see the result now: there are all kinds of discussions that could have been settled before the move. Andreas On 5 oct. 08, at 20:10, Deepal jayasinghe wrote: Andreas Veithen wrote

Re: AXIS JAVA Client - JMS Transport Authenication

2008-10-09 Thread Andreas Veithen
Sam, The name of the JNDI environment property you use to specify the user is incorrect. It should be java.naming.security.principal. Maybe that solves your problem? Andreas On 8 oct. 08, at 23:37, Sam Kuhn wrote: I need to provide a username and password to my AXIS client which is

Re: [AXIS2] - SwA from within .NET

2008-10-28 Thread Andreas Veithen
Looks like AXIS2-3373 which was fixed some time ago (probably for 1.4.1). Andreas On Tue, Oct 28, 2008 at 14:43, Jan Verstuyft [EMAIL PROTECTED] wrote: I have some more information. it seems that the header from a .NET example is giving Content-Type: Multipart/Related;

Re: Spring Jars Inside .aar Lib Difficulty (NoClassDefFoundError)

2008-11-05 Thread Andreas Veithen
Can you please post the list of JARs in WEB-INF/lib as well as the content of services.xml? Andreas On Wed, Nov 5, 2008 at 22:18, John Cabral [EMAIL PROTECTED] wrote: I'm using Spring with Axis2 and have bumped into the problem with the spring jars being in the WEB-INF/lib folder instead of

Re: Encoding of non latin characters (Cyrillic)

2008-11-13 Thread Andreas Veithen
José, Neither (a) nor (b) are UTF-8. These are sequences of XML character entities referring to Unicode code points. They are strictly the same, except that the first one uses hexadecimal values, while the second one uses decimal values. Andreas On Thu, Nov 13, 2008 at 18:53, José Ferreiro

Re: How to debug axis2 log

2008-11-20 Thread Andreas Veithen
This is not an error. See http://markmail.org/message/ea2icxn4h3lofekl for more details. Andreas On Thu, Nov 20, 2008 at 21:54, Cyril Furtado [EMAIL PROTECTED] wrote: When I check for my services in the URL I get http 500 Log shows this ( there are many instances of it) It's quite

Re: [Axis2] SimpleMailListener denys SOAP11 content-ype

2008-11-20 Thread Andreas Veithen
Matthias, It is expected that Axis2 1.5 will be bundled with a release of the transports from WS-Commons. The current code no longer has a restriction on the content type and is tested with SOAP 1.1. Andreas On Thu, Nov 20, 2008 at 20:58, [EMAIL PROTECTED] wrote: Hello, we would like to use

Re: Best way to reference common XSD

2008-11-20 Thread Andreas Veithen
Stefan, When trying to import the schema contained in the JAR, what is the location attribute you use? Maybe you can achieve the desired result by using a URL such as jar:file:///some/location/CommonXSD.jar!/my/schemas/common.xsd. Andreas On Mon, Nov 17, 2008 at 17:52, stlecho [EMAIL PROTECTED]

Re: SOAPMessage with attachment problem

2008-12-01 Thread Andreas Veithen
Chinmoy, It is not writing MIME messages because the writeTo method was not implemented correctly. This should now be fixed in trunk. Andreas On Mon, Dec 1, 2008 at 09:52, Chinmoy Chakraborty [EMAIL PROTECTED] wrote: Hi All, I am creating a SOAP message using axis2 soap-api and soap-impl.

Re: SOAPMessage with attachment problem

2008-12-01 Thread Andreas Veithen
. How do I get the fixed version? From where do I get latest jars? Chinmoy On Mon, Dec 1, 2008 at 4:59 PM, Andreas Veithen [EMAIL PROTECTED] wrote: Chinmoy, It is not writing MIME messages because the writeTo method was not implemented correctly. This should now be fixed in trunk

Re: SOAPMessage with attachment problem

2008-12-02 Thread Andreas Veithen
to compile this in jdk 1.4 also? Chinmoy On Mon, Dec 1, 2008 at 5:45 PM, Andreas Veithen [EMAIL PROTECTED] wrote: Chinmoy, You can either build it from sources (using the Subversion repository at [1]) or wait for the next build and pick up the JAR at [2]. I don't know the exact build

Re: wsdl problem

2008-12-10 Thread Andreas Veithen
Miguel, Did you try this also with a more recent version of Axis2? Andreas On Tue, Dec 9, 2008 at 05:11, [EMAIL PROTECTED] wrote: Hi I have the following wsdl error when i deploy my web service project in a soalris server i get this information via

Re: Error getting attachments from SOAPMessage

2008-12-17 Thread Andreas Veithen
Chinmoy, Can you post the code that demonstrates the problem? Andreas On Wed, Dec 17, 2008 at 13:40, Chinmoy Chakraborty cch...@gmail.com wrote: Hi All, I am creating SOAPMessage from inputstream. The inputstream is SOAP with attachments. But the attachmentParts becomes zero in the newly

Re: Error getting attachments from SOAPMessage

2008-12-18 Thread Andreas Veithen
.jar (modified on 4th April, 2008) Chinmoy On Thu, Dec 18, 2008 at 6:49 AM, Andreas Veithen andreas.veit...@gmail.com wrote: Chinmoy, Can you post the code that demonstrates the problem? Andreas On Wed, Dec 17, 2008 at 13:40, Chinmoy Chakraborty cch...@gmail.com wrote: Hi All, I

Re: Error getting attachments from SOAPMessage

2008-12-18 Thread Andreas Veithen
); out.write(0x03); out.flush(); } catch (Exception e) { getLog().error(Exception sending the soap + e, e); } finally { // if (out == null) out.close(); } Chinmoy On Thu, Dec 18, 2008 at 5:21 PM, Andreas Veithen andreas.veit...@gmail.com wrote: Chinmoy, Can you

Re: [Axis2]Finding current tomcat Port from Axis2

2008-12-18 Thread Andreas Veithen
Deepal, Maybe you should propose that as an enhancement for the upcoming Servlet 3.0 specification (JSR-135)... Andreas On Thu, Dec 18, 2008 at 20:53, Deepal Jayasinghe dee...@opensource.lk wrote: Yes, that is because something important property is missing in servlet API [1]. I think API

Re: [Axis2]Finding current tomcat Port from Axis2

2008-12-18 Thread Andreas Veithen
The JSR home page [1] provides some instructions. There is an email address to send comments to. Note however that the Early Draft Review is now over and that they are in Public Review until Jan 12, so it might be a bit too late to bring in new features at this moment... [1]

Re: Error getting attachments from SOAPMessage

2008-12-23 Thread Andreas Veithen
worked on it. The corresponding email addresses can be found at [3]. [2] http://svnsearch.org/svnsearch/repos/ASF/search?path=%2Fwebservices%2Faxis2%2Ftrunk%2Fjava%2Fmodules%2Fsaaj [3] http://ws.apache.org/axis2/team-list.html Chinmoy On Thu, Dec 18, 2008 at 8:54 PM, Andreas Veithen

Re: SOAP Header issue.

2008-12-30 Thread Andreas Veithen
The NullPointerException has been recently fixed in Axiom (see revision 718053). You might want to try with a snapshot version of Axiom. Note that I don't think the issue in Axiom is the root cause of your problem, but trying with a snapshot version might help you to better understand the problem.

Re: Axis2 client request to IIS 5.0 returns a 500 error.

2009-01-01 Thread Andreas Veithen
The difference between the two requests is in the namespace URIs of AuthenticationInfo and its children. In the first request all elements are in the urn:VOIP_SIP_Trouble_Ticket10 namespace, while in the second, AuthenticationInfo is in urn:VOIP_SIP_Trouble_Ticket and its children in

Re: Error getting attachments from SOAPMessage

2009-01-01 Thread Andreas Veithen
, 2008 at 9:15 PM, Andreas Veithen andreas.veit...@gmail.com wrote: On Tue, Dec 23, 2008 at 12:17, Chinmoy Chakraborty cch...@gmail.com wrote: Andreas, I am stuck with the attachments. I have sent many mails in this forum mentioning the issue regarding creation of SOAPMessage

Re: Unsubscribe

2009-01-04 Thread Andreas Veithen
You need to send a mail to axis-user-unsubscr...@ws.apache.org. On Sun, Jan 4, 2009 at 05:33, Harikrishna Imadabattina harikrishna.imadabatt...@techendeavour.com wrote: HI I want to unsubscribe from this group. Please let me know the way Thanks Harikrishna

Re: Error getting attachments from SOAPMessage

2009-01-04 Thread Andreas Veithen
extrracting that id from Content-Type string. So it can include '', '', and cid:. Chinmoy On Thu, Jan 1, 2009 at 8:42 PM, Andreas Veithen andreas.veit...@gmail.com wrote: Chinmoy, The code you added in SOAPMessageImpl to some extent duplicates the code in Attachments#getSOAPPartContentID

Re: Axis2 client request to IIS 5.0 returns a 500 error.

2009-01-05 Thread Andreas Veithen
with VOIP_SIP_Trouble_Ticket? Thanks, G Andreas Veithen-2 wrote: The difference between the two requests is in the namespace URIs of AuthenticationInfo and its children. In the first request all elements are in the urn:VOIP_SIP_Trouble_Ticket10 namespace, while in the second, AuthenticationInfo

Re: getTextContent() and setTextContent(String arg0) are not implemented in org.apache.axiom.om.impl.dom.NodeImpl

2009-01-07 Thread Andreas Veithen
This is indeed not yet implemented (not even in the trunk). It should not be too difficult to implement them, and maybe we can still do it for the upcoming 1.2.8 release. Please open a JIRA issue (in WSCOMMONS) and I will have a look later today. Andreas On Wed, Jan 7, 2009 at 11:09, Chinmoy

Re: [Axis2] CData elements losing text

2009-01-07 Thread Andreas Veithen
Can you please post a Java program (with no dependencies other than Axiom) that reproduces this problem? Andreas On Wed, Jan 7, 2009 at 16:15, Chris Bowman ch...@phoros.co.uk wrote: Hi, I am trying to add text to an OMElement so it is surrounded by CData tags. However, when I add my created

Re: Error getting attachments from SOAPMessage

2009-01-07 Thread Andreas Veithen
to investigate this. Chinmoy On Mon, Jan 5, 2009 at 4:05 AM, Andreas Veithen andreas.veit...@gmail.com wrote: Chinmoy, I've started to write some unit tests that compare the behavior of createMessage in Axis2's SAAJ implementation (including your proposed changes) with Sun's reference

Re: [Axis2] CData elements losing text

2009-01-07 Thread Andreas Veithen
of a blonde moment. Chris On 7 Jan 2009, at 21:09, Andreas Veithen wrote: Can you please post a Java program (with no dependencies other than Axiom) that reproduces this problem? Andreas On Wed, Jan 7, 2009 at 16:15, Chris Bowman ch...@phoros.co.uk wrote: Hi, I am trying to add text

Re: AXIOM can correct the wrong close tags by itself?

2009-01-08 Thread Andreas Veithen
This is not a feature, it is a bug. See WSCOMMONS-372. It has been corrected for 1.2.8. Andreas On Thu, Jan 8, 2009 at 15:15, Max2009 jiang_li...@hotmail.com wrote: Hello, I use following codes to get a soap message from a file. Even if a not well-formed soap message is read from the file,

Re: Does Axis2-1.5-beta-2 resolves JIRA AXIS2-4189?

2009-01-14 Thread Andreas Veithen
The issue you mention is on my todo list, but I got distracted by other issues I discovered in the SAAJ code. The challenge is actually to fix all these issues in a way that improves compliance of axis2-saaj with the SAAJ specs and at the same time doesn't break code depending on it, in particular

Re: 2 Questions About Axis2

2009-01-15 Thread Andreas Veithen
At what level are you experiencing character encoding problems? Andreas On Thu, Jan 15, 2009 at 16:26, ibrahim demir ibrahimdem...@yahoo.com wrote: Hi All; I have 2 questions about Axis2 1- The code generated by Axis2 Eclipse codegen is not well formated. Is there any way to make it clean

Re: Parser has already reached end of the document. No siblings found

2009-01-20 Thread Andreas Veithen
Could be somehow related to WSCOMMONS-372. Can you test this with Axiom 1.2.8? Andreas On Tue, Jan 20, 2009 at 08:56, asheikh asad.a.she...@gmail.com wrote: Hi, I have also realized that when I debug the Message Context in eclipse and inspect in, it works and the envelope message is

Re: Parser has already reached end of the document. No siblings found

2009-01-20 Thread Andreas Veithen
, Andreas Veithen andreas.veit...@gmail.com wrote: Could be somehow related to WSCOMMONS-372. Can you test this with Axiom 1.2.8? Andreas On Tue, Jan 20, 2009 at 08:56, asheikh asad.a.she...@gmail.com wrote: Hi, I have also realized that when I debug the Message Context in eclipse

Re: Parser has already reached end of the document. No siblings found

2009-01-20 Thread Andreas Veithen
(StAXOMBuilder.java:597) at org.apache.axiom.om.impl.builder.StAXOMBuilder.next()I(StAXOMBuilder.java:172) ... 22 more End- Stactrace: On Tue, Jan 20, 2009 at 1:52 PM, Andreas Veithen andreas.veit...@gmail.com wrote: Axiom uses a deferred parsing approach, i.e. it will build the object tree

Re: Parser has already reached end of the document. No siblings found

2009-01-20 Thread Andreas Veithen
() == OMNode.ELEMENT_NODE) { content = (OMElement) node; break; } } .. ... On Tue, Jan 20, 2009 at 2:34 PM, Andreas Veithen andreas.veit...@gmail.com wrote: Can you post the code in MMCHandler#check? Andreas On Tue, Jan 20, 2009 at 12:11, asheikh

Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http headers

2009-01-20 Thread Andreas Veithen
The code modifications can be found at [1]. Not sure how this change would solve problems with screwed up headers. Are you still seeing this issue? Andreas [1] http://svn.apache.org/viewvc?view=revrevision=701047 On Tue, Jan 20, 2009 at 17:29, Conal Markey c.mar...@kainos.com wrote: According

Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http headers

2009-01-21 Thread Andreas Veithen
- From: Andreas Veithen [mailto:andreas.veit...@gmail.com] Sent: 20 January 2009 21:46 To: axis-user@ws.apache.org Subject: Re: AXIS2-4050 Client Proxy Authentication Failed, Screwed up http headers The code modifications can be found at [1]. Not sure how this change would solve problems

Re: List of free webservices

2009-01-22 Thread Andreas Veithen
I think that these are the namespaces of the services, not their endpoint URLs. You need to look at the address elements (soap:address or http:address) in the WSDL to figure out the endpoint (location) of the service. Andreas On Thu, Jan 22, 2009 at 16:34, gezhall ghall12...@hotmail.com wrote:

Re: List of free webservices

2009-01-22 Thread Andreas Veithen
. And for webservices on http://www.xmethods.net/ve2/index.po, if you click on the Service name link, you can access the WSDL. Yves-Marie -Message d'origine- De : Andreas Veithen [mailto:andreas.veit...@gmail.com] Envoyé : jeudi 22 janvier 2009 17:13 À : axis-user@ws.apache.org Objet : Re: List

  1   2   3   4   >