Hi!

I have 3 questions:


1) I want to pass a complex datatype (of type
apachesoap:Map called features) as input to a webservice. Code
fragment is of the kind:

<delegation:execute service="ca-traffic"
operation="getTraffic"
xmlns:delegation="http://orbeon.org/oxf/xml/delegation";>

<features>
<item> 
  <key> <xsl:value-of select="/key1"/> </key>
  <value> <xsl:value-of select="/key1"/> </value>
</item> 
<item>
   <key>  <xsl:value-of select="/key2"/> </key>
   <value> <xsl:value-of select="/key2"/> </value>
</item>
<features>

<!-- Important parts of WSDL file -->
xmlns:apachesoap="http://xml.apache.org/xml-soap"; 
namespace="http://schemas.xmlsoap.org/soap/encoding/

<complexType name="mapItem">
<sequence>
<element name="key" nillable="true" type="xsd:string"
/> 
<element name="value" nillable="true"
type="xsd:string" /> 
</sequence>
</complexType>

<complexType name="Map">
<sequence>
<element maxOccurs="unbounded" minOccurs="0"
name="item" type="apachesoap:mapItem" /> 
</sequence>
</complexType>

<!-- End of WSDL file -->

It gives me a ClassException


2) This is probably an XForms question, but I would
like to use a xforms:input text box as both a control
to an Xforms instance, as well as displaying return
value of executing webservice ie. /root/return. If not
possible directly, is there a workaround?


3) I'd like to know how to debug OXF applications.
Is there a way to get the output of a pipeline into a file or in Tomcat
console. If you can  give me some sketch code,that'll be really helpful.


Thanks 
Mohan Gupta
Melbourne, Australia

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

Reply via email to