Alex,

That is it.  Thank you.

You know, perhaps the question was asked previously
on this list, but perhaps we need a kind of 
open source doc project that we can go to in order
to organize these questions for future docs.

Best,
Hank


----- Original Message ----- 
From: "Alessandro Vernet" <[EMAIL PROTECTED]>
To: "OXF Users" <[EMAIL PROTECTED]>
Sent: Tuesday, January 27, 2004 2:27 AM
Subject: Re: Webservice Woes -- how to dump response


> Hank Ratzesberger wrote:
> 
> > The response looks something like what is below, with a lot 
> > of editing.  What I am trying to illustrate is that the 
> > response is not in a single root hierarchy, but the body 
> > has a number of top level elements.
> 
> Hi Hank,
> 
> Ah ok, that's right. I should have caught this when you sent your 
> first email. I apologize for the delay. The Web service is returning 
> one of those documents with hrefs and ids. By default when you call 
> the service, you only get the content of the response, which is this 
> case is:
> 
> <ns1:getAllPersonsReturn href="#id0"/>
> 
> This alone is not very interesting, as you don't know where to get 
> this "#id0". What you need to do is to add a "select" attribute to the 
> <operation> element. The value of the select determines the part of 
> the response returned by OXF. For instance, set it to "/" and you will 
> get the whole response, with all the definitions, i.e.:
> 
> <operation nsuri="http://service.ssdb.nacse.org"; name="getAllPersons"
>      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
>      select="/"/>
> 
> Alex

_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to