Soap Encoding support

2007-12-20 Thread Amila Suriarachchi
Does xml beans supports soap encoding? I generated a data binding class for an wsdl with soap:Array. It generates a class for that but can not find a way to add values. do anyone know a method to set values for this generated Array. Thanks, Amila -- Amila Suriarachchi, WSO2 Inc.

RE: Remove node from "dot-syntax"

2007-12-20 Thread Radu Preotiuc-Pietro
FWIW, this is how I would approach the problem: 1. Turn the "dot-syntax" expression into an Xpath. If your Schema doesn't have a target namespace, then this is trivial: replace the "."s with "/"s. If it does, then it's a bit more complicated, because you need to do something with localName(), I do

Re: Remove node from "dot-syntax"

2007-12-20 Thread janbanan
Hi, It has minoccurences to 0 so it should be "deleteable". I just dont know how to navigate to the node och remove it given only the "person.address.zip"-string... possible some sort of xquery? Jacob Danner-2 wrote: > > How is the type defined in your xsd? You may want to check your > minOcc

set String as xs:AnyType

2007-12-20 Thread Jan Torben Heuer
Hi, how can I set a String as xs:AnyType (I thought it CAN be simply a string, right?) I tried: XmlAnyTypeImpl alertAnyData = new XmlAnyTypeImpl(); alertAnyData.setStringValue(alerttext); parent.set(alertAnyData); //exception But I

Re: Remove node from "dot-syntax"

2007-12-20 Thread Jacob Danner
How is the type defined in your xsd? You may want to check your minOccurs or nillable attributes on teh xsd On Dec 20, 2007 6:31 AM, janbanan <[EMAIL PROTECTED]> wrote: > > Hi, > > I trying to work with an xmlbean from a "dot-syntax" property (lacking a > better word..). > > What I have to go on i

Remove node from "dot-syntax"

2007-12-20 Thread janbanan
Hi, I trying to work with an xmlbean from a "dot-syntax" property (lacking a better word..). What I have to go on is a string "person.address.zip" and an xmlbean Person corresponding to the xml below. What I want to do is delete the "person.address.zip" element from the bean. With beanutils I ca

inserting processing insruction without using XMlCursor..

2007-12-20 Thread dave
I am just using factory classes to create new XML instance. Are there any apis to add processing instruction like below: I don't use XmlCursor which has an api insertProcInst() to do this. -D Never mis