[Axis2] Heavy async messaging with axis2

2006-10-08 Thread falom falom
Hi,Does axis2 support heavy async messaging between, let's say, two web servers? Does that need help from i.e. JMS or MQ?falom 
		 
Mp3疯狂搜-新歌热歌高速下 

 
 


Re: [Axis2] SAX or DOM (Possibly O/T)

2006-10-08 Thread Martin Gainty
Good Evening Thilina-

I dl'ed AXIOM and made TestDriver.java

import java.io.*;
import java.sql.*;
import javax.xml.stream.*;
import org.apache.log4j.PropertyConfigurator;
import org.apache.log4j.Category;
import org.apache.axiom.om.impl.builder.*;
import org.apache.axiom.om.*;
//import com.edischarge.batchloader.Patient;

public class TestDriver {
  /*sourceFile specification ...MCG */
  private String sourceFile = null;

 /** Database Connection Object */
 private Connection con = null;

 /** Log4J log object */
 private static Category log = Category.getInstance( 
TestDriver.class.getName());
 //nothing for now
 public TestDriver()
  {
  }

 public static void main(String[] args)
 {
 try
 {
  System.out.println(args[0] == +args[0]);

//create the parser
 java.io.File file = new java.io.File(args[0]);
 java.io.FileInputStream fis = new java.io.FileInputStream(file);

XMLStreamReader parser = 
XMLInputFactory.newInstance().createXMLStreamReader(fis);

//create the builder
  StAXOMBuilder builder = new StAXOMBuilder(parser);

//get the root element (in this case the envelope)
   OMElement documentElement =  builder.getDocumentElement();
}
  catch(java.lang.ArrayIndexOutOfBoundsException iao)
  {
System.out.println(USAGE: TestDriver XMLFileNameToParse);
return;
   }
   catch(java.io.FileNotFoundException fnf)
   {
 System.out.println(FileNotFoundException has been found message = 
+fnf.getMessage());
 return;
   }
   catch(javax.xml.stream.XMLStreamException xml_excp)
   {
 System.out.println(XMLStreamException has been encountered);
 return;
}
   } //end main

} //end class TestDriver

after compiling I run it as

java TestDriver OMTutorial.xml

args[0] == OMTutorial.xml
Exception in thread main javax.xml.stream.FactoryConfigurationError: Provider
com.bea.xml.stream.MXParserFactory not found
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136
)
at TestDriver.main(TestDriver.java:35)

I need the jsr173_ri.jar to resolve the com.bea.xml.stream.MXParserFactory not 
found error

Thanks,
Martin-
Information in this message, including attachments, is intended only for the 
confidential use of the recipient(s) named 
above. This message may be an Attorney-Client communication and as such is 
privileged and confidential. 
If you are not an intended recipient of this message, or an agent responsible 
for delivering it to an intended recipient
, you are hereby notified that you have received this message in error, that 
any review, dissemination, distribution, 
or copying of this message is strictly prohibited. If you have received this 
message in error, please notify the sender
immediately, delete the message, and return any hard copy print-outs.
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
conte
- Original Message - 
From: Thilina Gunarathne [EMAIL PROTECTED]
To: axis-user@ws.apache.org; Martin Gainty [EMAIL PROTECTED]
Sent: Saturday, October 07, 2006 3:08 PM
Subject: Re: [Axis2] SAX or DOM


 You can use the following..Those are the once we are using with Axis2 
 latest...
 
 http://ws.zones.apache.org/~dims/maven/stax/jars/stax-api-1.0.1.jar
 http://ws.zones.apache.org/~dims/maven/woodstox/jars/wstx-asl-3.0.1.jar
 
 ~Thilina
 
 On 10/7/06, Martin Gainty [EMAIL PROTECTED] wrote:
 Good Morning Thilina

 Do you know where we can acquire the jsr173_ri.jar?

 Thanks,

 Martin-
 This e-mail communication and any attachments may contain confidential and 
 privileged information for the use of the
 designated recipients named above. If you are not the intended recipient, 
 you are hereby notified that you have received
 this communication in error and that any review, disclosure, dissemination, 
 distribution or copying of it or its
 conte
 - Original Message -
 From: Thilina Gunarathne [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Saturday, October 07, 2006 6:49 AM
 Subject: Re: [Axis2] SAX or DOM


  Axis2 uses StAX parsing, which is also called deferred parsing.. It is
  possible for Axis2 to start processing the message before the entire
  request has been transmitted. This works even for attachments.. In
  Axis2 objects are not made unless a need arises for them. In other
  words stream is read only when needed..
 
  Refer to the following tutorial for more in for on StAX parsing..
  OM Tutorial - http://ws.apache.org/commons/axiom/OMTutorial.html
  Introduction to Pull parsing -
  

Re: [Axis2] SAX or DOM (Possibly O/T)

2006-10-08 Thread Davanum Srinivas

martin,

no, you don't need that. all u need is the woodstox parser and staxapi jar.

http://ws.zones.apache.org/~dims/maven/stax/jars/stax-api-1.0.1.jar
http://ws.zones.apache.org/~dims/maven/woodstox/jars/wstx-asl-3.0.1.jar

thx,
dims

On 10/8/06, Martin Gainty [EMAIL PROTECTED] wrote:

Good Evening Thilina-

I dl'ed AXIOM and made TestDriver.java

import java.io.*;
import java.sql.*;
import javax.xml.stream.*;
import org.apache.log4j.PropertyConfigurator;
import org.apache.log4j.Category;
import org.apache.axiom.om.impl.builder.*;
import org.apache.axiom.om.*;
//import com.edischarge.batchloader.Patient;

public class TestDriver {
  /*sourceFile specification ...MCG */
  private String sourceFile = null;

 /** Database Connection Object */
 private Connection con = null;

 /** Log4J log object */
 private static Category log = Category.getInstance( 
TestDriver.class.getName());
 //nothing for now
 public TestDriver()
  {
  }

 public static void main(String[] args)
 {
 try
 {
  System.out.println(args[0] == +args[0]);

//create the parser
 java.io.File file = new java.io.File(args[0]);
 java.io.FileInputStream fis = new java.io.FileInputStream(file);

XMLStreamReader parser = 
XMLInputFactory.newInstance().createXMLStreamReader(fis);

//create the builder
  StAXOMBuilder builder = new StAXOMBuilder(parser);

//get the root element (in this case the envelope)
   OMElement documentElement =  builder.getDocumentElement();
}
  catch(java.lang.ArrayIndexOutOfBoundsException iao)
  {
System.out.println(USAGE: TestDriver XMLFileNameToParse);
return;
   }
   catch(java.io.FileNotFoundException fnf)
   {
 System.out.println(FileNotFoundException has been found message = 
+fnf.getMessage());
 return;
   }
   catch(javax.xml.stream.XMLStreamException xml_excp)
   {
 System.out.println(XMLStreamException has been encountered);
 return;
}
   } //end main

} //end class TestDriver

after compiling I run it as

java TestDriver OMTutorial.xml

args[0] == OMTutorial.xml
Exception in thread main javax.xml.stream.FactoryConfigurationError: Provider
com.bea.xml.stream.MXParserFactory not found
at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136
)
at TestDriver.main(TestDriver.java:35)

I need the jsr173_ri.jar to resolve the com.bea.xml.stream.MXParserFactory not 
found error

Thanks,
Martin-
Information in this message, including attachments, is intended only for the 
confidential use of the recipient(s) named
above. This message may be an Attorney-Client communication and as such is 
privileged and confidential.
If you are not an intended recipient of this message, or an agent responsible 
for delivering it to an intended recipient
, you are hereby notified that you have received this message in error, that 
any review, dissemination, distribution,
or copying of this message is strictly prohibited. If you have received this 
message in error, please notify the sender
immediately, delete the message, and return any hard copy print-outs.
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its
conte
- Original Message -
From: Thilina Gunarathne [EMAIL PROTECTED]
To: axis-user@ws.apache.org; Martin Gainty [EMAIL PROTECTED]
Sent: Saturday, October 07, 2006 3:08 PM
Subject: Re: [Axis2] SAX or DOM


 You can use the following..Those are the once we are using with Axis2 
latest...

 http://ws.zones.apache.org/~dims/maven/stax/jars/stax-api-1.0.1.jar
 http://ws.zones.apache.org/~dims/maven/woodstox/jars/wstx-asl-3.0.1.jar

 ~Thilina

 On 10/7/06, Martin Gainty [EMAIL PROTECTED] wrote:
 Good Morning Thilina

 Do you know where we can acquire the jsr173_ri.jar?

 Thanks,

 Martin-
 This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the
 designated recipients named above. If you are not the intended recipient, 
you are hereby notified that you have received
 this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its
 conte
 - Original Message -
 From: Thilina Gunarathne [EMAIL PROTECTED]
 To: axis-user@ws.apache.org
 Sent: Saturday, October 07, 2006 6:49 AM
 Subject: Re: [Axis2] SAX or DOM


  Axis2 uses StAX parsing, which is also called deferred parsing.. It is
  possible for Axis2 to start processing the message before the entire
  request has been transmitted. This works even for attachments.. In
  Axis2 

[axis2] Client stub generates empty soap body

2006-10-08 Thread Andrew Zahra



I am using a client 
stub generated by Axis2 WSDL2Java. I can call a method that takes a string as an 
argument and returns a string fine. But I have another method that takes an 
array and a string as arguments and returns an array. When I use the client stub 
I always get an empty soap body. I have stepped through the code with the 
debugger as best I can and I can see that the Type class has the required 
getPullParser() method, which seems to be doing the right 
thing.

Does anyone who 
understands the internals of axis2 have any tips for me on how to debug 
this?

Here is a sample of 
the messages generated.

===This is 
successful=
POST 
/axis2/services/VREXJurisdiction HTTP/1.1

User-Agent: 
Axis/2.0

SOAPAction: 
systemAvailable

Host: 
127.0.0.1:2002

Transfer-Encoding: 
chunked

Content-Type: 
text/xml; charset=UTF-8



123

?xml 
version='1.0' encoding='UTF-8'?soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"soapenv:Header 
/soapenv:Bodyns1:systemAvailableRequest 
xmlns:ns1="urn:types"jurisdictionNSW/jurisdiction/ns1:systemAvailableRequest/soapenv:Body/soapenv:Envelope

0

===This one 
fails=
POST 
/axis2/services/VREXJurisdiction HTTP/1.1

User-Agent: 
Axis/2.0

SOAPAction: 
submitIncidents

Cookie: 
JSESSIONID=BE3A84AF5D4ABA3194A4B13C0819A27C

Cookie2: 
JSESSIONID=BE3A84AF5D4ABA3194A4B13C0819A27C

Host: 
127.0.0.1:2002

Transfer-Encoding: 
chunked

Content-Type: 
text/xml; charset=UTF-8



Thanks,
Andrew


[axis2] usage of getOMElement()

2006-10-08 Thread Jake Goulding
I'd like to get the raw XML node representing a part of my returned 
message. It looks like getOMElement() should be the right thing to call, 
but I'm not sure what to pass it.


Can anyone tell me if this is the right thing to be looking at, and if 
so, how to use it?


Thanks!

--

JAKE GOULDING
Software Engineer
[EMAIL PROTECTED]

Viví­simo [Search Done Right™]
1710 Murray Avenue
Pittsburgh, PA 15217 USA
tel: +1.412.422.2499 x105
fax: +1.412.422.2495
vivisimo.com  clusty.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



axis 2 and jdk 1.5

2006-10-08 Thread Anamitra . Bhattacharyya

Hi
 I am just wondering if there is any dependency of axis 2 on jdk 1.5. I
have tried axis successfully in jdk 1.5 env but not sure if it works in a
jdk 1.4.x environment. My concern is mainly with the QName class which is
ofcourse used heavily by axis and the contructor has changed a bit with jdk
1.5 [3 parameters although it retains the jdk1.4 constructors]. What I
kinda want to avoid is putting anything in the lib/ext folder of the jdk -
I will do that only if thats the only way out. So just wondering if anybody
has successfully used axis 2 with jdk 1.4.x?

thanks
Anamitra


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: axis 2 and jdk 1.5 [corrected]

2006-10-08 Thread Anamitra . Bhattacharyya
 jdk 1.4 does not have that class - but the jaxrpc.jar has that class and
since any appserver has that jar in their class path it creates a conflict.
So I guess the only way of getting around that is adding the new QName
class in the lib/ext dir - right?
Is there any other issues that I should be concerned about?
thanks
Anamitra


   
 Anamitra.Bhattach 
 [EMAIL PROTECTED] 
To 
 10/08/2006 08:22  axis-user@ws.apache.org 
 PM cc 
   
   Subject 
 Please respond to axis 2 and jdk 1.5  
 [EMAIL PROTECTED] 
  he.org   
   
   
   
   





Hi
 I am just wondering if there is any dependency of axis 2 on jdk 1.5. I
have tried axis successfully in jdk 1.5 env but not sure if it works in a
jdk 1.4.x environment. My concern is mainly with the QName class which is
ofcourse used heavily by axis and the contructor has changed a bit with jdk
1.5 [3 parameters although it retains the jdk1.4 constructors]. What I
kinda want to avoid is putting anything in the lib/ext folder of the jdk -
I will do that only if thats the only way out. So just wondering if anybody
has successfully used axis 2 with jdk 1.4.x?

thanks
Anamitra


-
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: [axis2] Client stub generates empty soap body

2006-10-08 Thread Deepal Jayasinghe
Hi Andrew ;

Can you please create a JIRA attaching your WSDL. It is bit difficult
for us to regenerate the problem w.o having the wsdl file around.

Thanks
Deepal

 I am using a client stub generated by Axis2 WSDL2Java. I can call a
 method that takes a string as an argument and returns a string fine.
 But I have another method that takes an array and a string as
 arguments and returns an array. When I use the client stub I always
 get an empty soap body. I have stepped through the code with the
 debugger as best I can and I can see that the Type class has the
 required getPullParser() method, which seems to be doing the right thing.
  
 Does anyone who understands the internals of axis2 have any tips for
 me on how to debug this?
  
 Here is a sample of the messages generated.
  
 ===This is successful=
 POST /axis2/services/VREXJurisdiction HTTP/1.1
  
 User-Agent: Axis/2.0
  
 SOAPAction: systemAvailable
  
 Host: 127.0.0.1:2002
  
 Transfer-Encoding: chunked
  
 Content-Type: text/xml; charset=UTF-8
  
  
  
 123
  
 ?xml version='1.0' encoding='UTF-8'?soapenv:Envelope
 xmlns:soapenv=http://schema
 s.xmlsoap.org/soap/envelope/soapenv:Header
 /soapenv:Bodyns1:systemAvailableRe
 quest
 xmlns:ns1=urn:typesjurisdictionNSW/jurisdiction/ns1:systemAvailableReq
 uest/soapenv:Body/soapenv:Envelope
  
 0
  
 ===This one fails=
 POST /axis2/services/VREXJurisdiction HTTP/1.1
  
 User-Agent: Axis/2.0
  
 SOAPAction: submitIncidents
  
 Cookie: JSESSIONID=BE3A84AF5D4ABA3194A4B13C0819A27C
  
 Cookie2: JSESSIONID=BE3A84AF5D4ABA3194A4B13C0819A27C
  
 Host: 127.0.0.1:2002
  
 Transfer-Encoding: chunked
  
 Content-Type: text/xml; charset=UTF-8
  
  
  
 Thanks,
 Andrew


-- 
Thanks,
Deepal

~Future is Open~ 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[Axis2 1.0] Problems when Interoperate with .NET by X509 token

2006-10-08 Thread Wang, Jason
Title: [Axis2 1.0] Problems when Interoperate with .NET by X509 token






Hi,


I'm working on a project to call a .Net Web Service from a Java client by X509 certificate.

On server side, I use WSE 3.0 and WS policy, WSS4J 1.5.0 and Axis2 1.0 on the Java client side.


I used the Hello World Web Service and then enabled WSSE with WSE Configuration Tool.

To verify the .NET Web service works fine, I created a .NET client with policy,

It works very well.


But once I called from my Java Client, I always got following error message:

==

Referenced security token could not be retrieved, 

System.Exception: WSE590: Failed to resolve the following Key Info


KeyInfo 

 ...

/KeyInfo

==



Here is the key info from .NET client Side,


 soap:Envelope  

 soap:Header

 wsse:Security soap:mustUnderstand=1

 xenc:EncryptedKey Id=SecurityToken-9235ed81-093c-4ffc-9e7d-1c1e8b7083af xmlns:xenc=http://www.w3.org/2001/04/xmlenc#

 xenc:EncryptionMethod Algorithm=http://www.w3.org/2001/04/xmlenc#rsa-1_5 /

 KeyInfo xmlns=http://www.w3.org/2000/09/xmldsig#

 wsse:SecurityTokenReference

 X509Data

 X509IssuerSerial

 X509IssuerNameCN=Root Agency/X509IssuerName

 X509SerialNumber119177920819346963742949139381104551659/X509SerialNumber

 /X509IssuerSerial

 /X509Data

 /wsse:SecurityTokenReference

 /KeyInfo

 

  **

 /xenc:EncryptedKey

 

  **

 /wsse:Security

 

 /soap:Header

 soap:Body

  **

 /soap:Body

 /soap:Envelope



And following is the key info from Java side,


 processingStep description=Unprocessed message

 soapenv:Envelope  

 soapenv:Header

 wsse:Security xmlns:wsse=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd soapenv:mustUnderstand=1

 xenc:EncryptedKey Id=EncKeyId-9992755

 xenc:EncryptionMethod Algorithm=http://www.w3.org/2001/04/xmlenc#rsa-1_5 /

 ds:KeyInfo xmlns:ds=http://www.w3.org/2000/09/xmldsig#

 wsse:SecurityTokenReference

 ds:X509Data

 ds:X509IssuerSerial

 ds:X509IssuerNameCN=Root Agency/ds:X509IssuerName

 ds:X509SerialNumber119177920819346963742949139381104551659/ds:X509SerialNumber

 /ds:X509IssuerSerial

 /ds:X509Data

 /wsse:SecurityTokenReference

 /ds:KeyInfo

 

  **

 /xenc:EncryptedKey

 

  **

 /wsse:Security

 

 /soap:Header

 soap:Body

  **

 /soap:Body

 /soap:Envelope

 

I didn't see any big differences here, I don't know what's the problem. 

 

And I tried using X509KeyIdentifier and SKIKeyIdentifier from Java side, but always got the same error.


Is there any one has met the same problem before?


thanks.

Jason





Axis invocation error java.lang.ExceptionInInitializerError or java.lang.NoClassDefFoundError

2006-10-08 Thread Xinjun Chen
I encountered a very strange problem. 
My web service previously can work. A few days ago, I changed something in the WSDL so that the return type of an operation will change to OperationResponse format. 
However, now when I invoke the operation, I get either of the two following exceptions. 

If the container is just restarted, then I get the java.lang.ExceptionInInitializerError. Every other consecutive invocation causes java.lang.NoClassDefFoundError. However I cannot find which class is not found. 


The attached are the kinds stack traces. 

From the statck trace, it seems that the exception occurs at the server side deserialization phase. But it does not report any No Deserializer Found exception. 

Could anyone suggest how to solve this problem?


Regards, 
Xinjun
AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: Error processing request; nested exception is: 
java.lang.ExceptionInInitializerError
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}hostname:XxYy

Error processing request; nested exception is: 
java.lang.ExceptionInInitializerError
at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
at 
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
at 
org.apache.axis.message.addressing.handler.AddressingHandler.processClientResponse(AddressingHandler.java:305)
at 
org.apache.axis.message.addressing.handler.AddressingHandler.invoke(AddressingHandler.java:110)
at 
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:190)
at org.apache.axis.client.Call.invokeEngine(Call.java:2726)
at org.apache.axis.client.Call.invoke(Call.java:2709)
...







AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode: 
 faultString: Error processing request; nested exception is: 
java.lang.NoClassDefFoundError
 faultActor: 
 faultNode: 
 faultDetail: 
{http://xml.apache.org/axis/}hostname:XxYy

Error processing request; nested exception is: 
java.lang.NoClassDefFoundError
at 
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
at 
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
at 
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown 
Source)
at 
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
 Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
at 
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
at 
org.apache.axis.message.addressing.handler.AddressingHandler.processClientResponse(AddressingHandler.java:305)
at 

Re: Axis invocation error java.lang.ExceptionInInitializerError or java.lang.NoClassDefFoundError

2006-10-08 Thread Xinjun Chen
Just found the immediate reason, one resource bundle is not found because previous build file does not copy the properties file into the lib jar file. 

Regards, 
Xinjun
On 10/9/06, Xinjun Chen [EMAIL PROTECTED] wrote:

I encountered a very strange problem. 
My web service previously can work. A few days ago, I changed something in the WSDL so that the return type of an operation will change to OperationResponse format. 
However, now when I invoke the operation, I get either of the two following exceptions. 

If the container is just restarted, then I get the java.lang.ExceptionInInitializerError. Every other consecutive invocation causes java.lang.NoClassDefFoundError. However I cannot find which class is not found. 


The attached are the kinds stack traces. 

From the statck trace, it seems that the exception occurs at the server side deserialization phase. But it does not report any No Deserializer Found exception. 

Could anyone suggest how to solve this problem?


Regards, 
Xinjun


Re: [Axis2] Nightly builds from Trunk and 1.1 Branch

2006-10-08 Thread Davanum Srinivas

Yep. It should. need to fix in in trunk. will try to do it when i get a chance.

thanks,
dims

On 10/9/06, Sanjiva Weerawarana [EMAIL PROTECTED] wrote:

Dims shouldn't the war also have SNAPSHOP on it? I know its a pain for
users but its better to be clear isn't it?

Sanjiva.

On Sat, 2006-10-07 at 22:10 -0400, Davanum Srinivas wrote:
 Folks,

 FYI, http://people.apache.org/dist/axis2/nightly/ now has the
 artifacts from both the HEAD/trunk and the 1.1 branch.

 thanks,
 dims







--
Davanum Srinivas : http://www.wso2.net (Oxygen for Web Service Developers)

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [Axis2] Nightly builds from Trunk and 1.1 Branch

2006-10-08 Thread Sanjiva Weerawarana
Dims shouldn't the war also have SNAPSHOP on it? I know its a pain for
users but its better to be clear isn't it?

Sanjiva.

On Sat, 2006-10-07 at 22:10 -0400, Davanum Srinivas wrote:
 Folks,
 
 FYI, http://people.apache.org/dist/axis2/nightly/ now has the
 artifacts from both the HEAD/trunk and the 1.1 branch.
 
 thanks,
 dims
 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]