Hmm...it is abstract here:

protected abstract SOAPBodyElement createSOAPBodyElement( XmlObject
responseBodyElem );

Where would an implementation be found? Sorry for the 20 questions! 

-----Original Message-----
From: Ian Springer [mailto:[EMAIL PROTECTED] 
Sent: 17 March 2005 20:50
To: [email protected]
Subject: Re: XmlObject to SOAPBody

Or if you don't want to check the code out of SVN, you can grab the source
distribution from
http://cvs.apache.org/dist/incubator/apollo/v1.0-alpha2/src/.

Shahzad Younas wrote:

>The  createSOAPBodyElement method, is that a method defined elsewhere? 
>I will have a peek on the CVS thingy.
>
>Thanks!
>
>-----Original Message-----
>From: Ian Springer [mailto:[EMAIL PROTECTED]
>Sent: 17 March 2005 20:44
>To: [email protected]
>Subject: Re: XmlObject to SOAPBody
>
>You can take a look at how we do it in
>org.apache.ws.resource.handler.ResourceHandler, i.e.:
>
>                SOAPBody body = responseEnvelope.getBody();
>                for ( int i = 0; i < responseBodyElems.size(); i++ )
>                {
>                    XmlObject responseBodyElem = (XmlObject) 
>responseBodyElems.get( i );
>                    body.addChildElement( createSOAPBodyElement( 
>responseBodyElem ) );
>                }
>
>Ian
>
>Shahzad Younas wrote:
>
>  
>
>>Hi,
>> 
>>I was just wondering if anyone had managed to convert an xmlobject 
>>into a SOAPBody.
>>I have managed to construct a Document from the xml object:
>> 
>>Document doc = parse string of XMLObject.
>>But when i try adding this to the SOAPBody, i get a invalid QName 
>>local part exception:
>> 
>>SoapEnvelope env;
>>env.getBody().add(doc);
>> 
>>Does anyone know a quick and easy way to achieve this? Or can anyone 
>>help with resolving the QName error?
>>Many thanks all!
>>Shahzad
>> 
>>PS: There will be plenty more of these questions to this mailing list! :(
>>     I'm currently working on a project at uni and right now I am 
>>hitting a VERY steep learning curve! Its due in     very soon!
>>    
>>
>
>
>
>---------------------------------------------------------------------
>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]
>
>
>
>  
>


---------------------------------------------------------------------
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]

Reply via email to