Can u attach the source of the createSequence ?

 

I think you have programmatically created an Element and has set done = false, without giving a builder.

 


From: Pankaj Badgujar [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 07, 2005 4:53 AM
To: [email protected]
Subject: org.apache.axis2.om.OMException during CreateSequence() method

 

Hi,

I am getting the org.apache.axis2.om.OMException when my CreateSequence() returns the response. When I debugged the Axis2 code the problem is in the following code of the serialize() method of the OMElementImpl.java.

serialize()

{

.........

else if (this.parent != null) {
if (!this.parent.isComplete()) {
builder.setCache(cache);
builder.next();

...

}

In the above case the this.parent.isComplete() method returns false and when the builder.next() method is called it finds its (i.e. builder's) "done" variable set to true and the builder just throws the OmException.

I am not sure where I am making the mistake.My cratesequence() method just sets the identifier and returns the response. I would highly appreciate if someone could help me to resolve this problem.

Thanks,

Pankaj


Start your day with Yahoo! - make it your home page

Reply via email to