I met SoapFault. why this fault is generated?

View: New views
3 Messages — Rating Filter:   Alert me  

I met SoapFault. why this fault is generated?

by kamjum :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

org.apache.muse.ws.addressing.soap.SoapFault: NAMESPACE_ERR: An attempt is made to create or change an object in a way which is incorrect with regard to namespaces.


------------------------error generating code----------------------------------
 public synchronized Element getResourceProperty(int flag, String resvID, QName propertyqname){
                 
              Document doc = XmlUtils.createDocument();
         Element root =  XmlUtils.createElement(doc, gnrmConstants.GET_PROPERTY_RESPONSE_QNAME);
         doc.appendChild(root);

         Vector<String> result = new Vector<String>();
                 
         String propertyname = propertyqname.getLocalPart();
         System.out.println("prpertyname : " + propertyname );
                 
         result = grrManager.QueryResourceResvStatus(flag, resvID, propertyname);
                 
         Element resultChild = XmlUtils.createElement(propertyqname, "test get");
 
             // --> error code
             Element value = (Element)doc.importNode(resultChild, false);

 
        root.appendChild(value);

         return root;
 }
 
help me, all

Re: I met SoapFault. why this fault is generated?

by Chris Twiner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hi,

do you manipulate the DOM in your own code? If so make sure that your
namespace usage is correct, google will definitely help with this.

If not is your Muse usage heavily multi-threaded??  If so you may have
run fowl of Muse issue 270, patches are available.

Otherwise you are going to have to provide more information, like a
stack trace, what actions trigger it and if possible code.

cheers,
Chris

On Tue, Mar 31, 2009 at 9:47 PM, kamjum <kamjum2@...> wrote:

>
> org.apache.muse.ws.addressing.soap.SoapFault: NAMESPACE_ERR: An attempt is
> made to create or change an object in a way which is incorrect with regard
> to namespaces.
>
> help me, all
> --
> View this message in context: http://www.nabble.com/I-met-SoapFault.-why-this-fault-is-generated--tp22811990p22811990.html
> Sent from the Muse - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: muse-dev-unsubscribe@...
> For additional commands, e-mail: muse-dev-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@...
For additional commands, e-mail: muse-dev-help@...


Re: I met SoapFault. why this fault is generated?

by Chris Twiner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Mar 31, 2009 at 9:54 PM, Chris Twiner <chris.twiner@...> wrote:
> run fowl of Muse issue 270, patches are available.

damn chickens s/fowl/foul/

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@...
For additional commands, e-mail: muse-dev-help@...