config/server-config.wsdd
author Asier Lostalé <asier.lostale@openbravo.com>
Wed, 18 Mar 2015 10:50:25 +0100
changeset 26205 e7c1d9e51ba8
parent 9085 79e55dfc8af0
permissions -rw-r--r--
fixed bug 29329: can't download attachments for 2 rows with same name & no ext

When trying to download at once attachemnts for different records that have the
same name and it does not have extension, it fails.

The problem is in case of duplicated names to be included within the zipped file,
a number is appended to the file name before the extension. Extesion is present
is assumed, failing if not.

Fix: don't assume file name has extension.
juanpablo@523
     1
<?xml version="1.0" encoding="UTF-8"?>
juanpablo@523
     2
<!--
juanpablo@523
     3
 *************************************************************************
juanpablo@523
     4
 * The contents of this file are subject to the Openbravo  Public  License
priya@9085
     5
 * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
juanpablo@523
     6
 * Version 1.1  with a permitted attribution clause; you may not  use this
juanpablo@523
     7
 * file except in compliance with the License. You  may  obtain  a copy of
juanpablo@523
     8
 * the License at http://www.openbravo.com/legal/license.html 
juanpablo@523
     9
 * Software distributed under the License  is  distributed  on  an "AS IS"
juanpablo@523
    10
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
juanpablo@523
    11
 * License for the specific  language  governing  rights  and  limitations
juanpablo@523
    12
 * under the License. 
juanpablo@523
    13
 * The Original Code is Openbravo ERP. 
ggi@6702
    14
 * The Initial Developer of the Original Code is Openbravo SLU 
ggi@6702
    15
 * All portions are Copyright (C) 2001-2006 Openbravo SLU 
juanpablo@523
    16
 * All Rights Reserved. 
juanpablo@523
    17
 * Contributor(s):  ______________________________________.
juanpablo@523
    18
 ************************************************************************
juanpablo@523
    19
-->
carlos@0
    20
<deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
carlos@0
    21
 <globalConfiguration>
carlos@0
    22
  <parameter name="sendMultiRefs" value="true"/>
carlos@0
    23
  <parameter name="disablePrettyXML" value="true"/>
carlos@0
    24
  <parameter name="adminPassword" value="admin"/>
carlos@0
    25
  <parameter name="dotNetSoapEncFix" value="true"/>
carlos@0
    26
  <parameter name="enableNamespacePrefixOptimization" value="false"/>
carlos@0
    27
  <parameter name="sendXMLDeclaration" value="true"/>
carlos@0
    28
  <parameter name="attachments.implementation" value="org.apache.axis.attachments.AttachmentsImpl"/>
carlos@0
    29
  <parameter name="sendXsiTypes" value="true"/>
carlos@0
    30
  <requestFlow>
carlos@0
    31
   <handler type="java:org.apache.axis.handlers.JWSHandler">
carlos@0
    32
    <parameter name="scope" value="session"/>
carlos@0
    33
   </handler>
carlos@0
    34
   <handler type="java:org.apache.axis.handlers.JWSHandler">
carlos@0
    35
    <parameter name="scope" value="request"/>
carlos@0
    36
    <parameter name="extension" value=".jwr"/>
carlos@0
    37
   </handler>
carlos@0
    38
  </requestFlow>
carlos@0
    39
 </globalConfiguration>
carlos@0
    40
 <handler name="LocalResponder" type="java:org.apache.axis.transport.local.LocalResponder"/>
carlos@0
    41
 <handler name="URLMapper" type="java:org.apache.axis.handlers.http.URLMapper"/>
carlos@0
    42
 <handler name="Authenticate" type="java:org.apache.axis.handlers.SimpleAuthenticationHandler"/>
carlos@0
    43
 <service name="AdminService" provider="java:MSG">
carlos@0
    44
  <parameter name="allowedMethods" value="AdminService"/>
carlos@0
    45
  <parameter name="enableRemoteAdmin" value="true"/>
carlos@0
    46
  <parameter name="className" value="org.apache.axis.utils.Admin"/>
carlos@0
    47
  <namespace>http://xml.apache.org/axis/wsdd/</namespace>
carlos@0
    48
 </service>
carlos@0
    49
 <service name="Version" provider="java:RPC">
carlos@0
    50
  <parameter name="allowedMethods" value="getVersion"/>
carlos@0
    51
  <parameter name="className" value="org.apache.axis.Version"/>
carlos@0
    52
 </service>
carlos@0
    53
 <transport name="http">
carlos@0
    54
  <requestFlow>
carlos@0
    55
   <handler type="URLMapper"/>
carlos@0
    56
   <handler type="java:org.apache.axis.handlers.http.HTTPAuthHandler"/>
carlos@0
    57
  </requestFlow>
carlos@0
    58
  <parameter name="qs:list" value="org.apache.axis.transport.http.QSListHandler"/>
carlos@0
    59
  <parameter name="qs:wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
carlos@0
    60
  <parameter name="qs.list" value="org.apache.axis.transport.http.QSListHandler"/>
carlos@0
    61
  <parameter name="qs.method" value="org.apache.axis.transport.http.QSMethodHandler"/>
carlos@0
    62
  <parameter name="qs:method" value="org.apache.axis.transport.http.QSMethodHandler"/>
carlos@0
    63
  <parameter name="qs.wsdl" value="org.apache.axis.transport.http.QSWSDLHandler"/>
carlos@0
    64
 </transport>
carlos@0
    65
 <transport name="local">
carlos@0
    66
  <responseFlow>
carlos@0
    67
   <handler type="LocalResponder"/>
carlos@0
    68
  </responseFlow>
carlos@0
    69
 </transport>
juanpablo@523
    70
</deployment>