axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pankaj Badgujar <>
Subject RE: during CreateSequence() method
Date Sun, 07 Aug 2005 18:36:20 GMT
The createSequence() method is as follows :
public CreateSequence(
               System.out.println("In CreateSequence impl - start");
            CreateSequenceResponseDocument response = CreateSequenceResponseDocument.Factory.newInstance();
            CreateSequenceResponseType payload = response.addNewCreateSequenceResponse();
            IdentifierDocument.Identifier id = payload.addNewIdentifier();
            String uid = "myID";
                      System.out.println("In CreateSequence impl - returning response");
            String text = response.xmlText();
            System.out.println("CreateSequenceResponseDocument=" + text);
            return response;
Thanks for the kind attention.

Eran Chinthaka <> wrote:v\:* {behavior:url(#default#VML);}o\:*
{behavior:url(#default#VML);}w\:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);}st1\:*{behavior:url(#default#ieooui)
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 [] 
Sent: Sunday, August 07, 2005 4:53 AM
Subject: during CreateSequence() method 



I am getting the 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 




else if (this.parent != null) {
if (!this.parent.isComplete()) {



In the above case the this.parent.isComplete() method returns false and when the
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




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

Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
View raw message