Matthew J. Graham wrote:
If I change the start of my XPL to include /request/parameters or /request/path-info:

  <!-- Get SOAP envelope -->
  <p:processor name="oxf:request">
    <p:input name="config">
      <config stream-type="xs:anyURI">
        <include>/request/parameters</include>
        <include>/request/body</include>
      </config>
    </p:input>
    <p:output name="data" id="env"/>
  </p:processor>

<p:processor name="oxf:url-generator">
<p:input name="config" href="aggregate('config', aggregate('url', #env#xpointer(string(/request/body))))"/>
<p:output name="data" id="request"/>
</p:processor>


then when I try and call: http://localhost:8080/orbeon/services?wsdl, I get;

class org.orbeon.oxf.common.ValidationException
Message Error Content of element "url" is incomplete(schema: http://www.orbeon.org/oxf/xml/url)

Hi Matthew,

In the code above you have:

<p:input name="config" href="aggregate('config', aggregate('url', #env#xpointer(string(/request/body))))"/>

Shouldn't you have a reference to /request/path-info there? And add an <include> for "/request/path-info" in the request generator configuration.

Alex


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to