Dan,

 

I've got an update to my previous proxy-to-hibernate mapping problem that I posted earlier today.

 

1) The Xfire docs outlining the process for setting a ServiceBean "properties" (i.e. setProperties(Map properties)) as found @ http://xfire.codehaus.org/Spring%2C+XBean%2C+Servlets+and+more appear to have an incorrect set of tags/structure according to the Spring docs.

 

The Xfire docs indicate:

<bean class="org.codehaus.xfire.spring.ServiceBean">

  ... define your normal attributes ...

  <property name="properties">

    <map>

      <entry>

        <key>mtom-enabled</key>

        <value>true</value>

      </entry>

      <entry>

        <key>myProperty</key>

        <value>myValue</value>

      </entry>

    </map>

  <property>

</bean>

 

 

And the Spring docs indicate:

(see http://www.springframework.org/docs/reference/beans.html -- section 3.3.3.3 The collection elements)

 

Note: the extra "<value>mtom-enabled</value>" value tags *inside the key tag "<key><value>SomeProperty</value></key>"

 

<bean class="org.codehaus.xfire.spring.ServiceBean">

  ... define your normal attributes ...

  <property name="properties">

    <map>

      <entry>

        <key><value>mtom-enabled</value></key>

        <value>true</value>

      </entry>

      <entry>

        <key><value>myProperty</value></key>

        <value>myValue</value>

      </entry>

    </map>

  <property>

</bean>

 

You may want to update the Xfire docs to indicate the correct set of tags and structure.

 

 


HP logo

 

John Daly

Engineer Specialist

Imaging and Printing Group IT

Phone: 208-396-4465

Fax: 208-396-3010

[EMAIL PROTECTED]


 

 

Reply via email to