users@jax-ws.java.net

Example custom-server.xml bindings file

From: Ryan LeCompte <Ryan.LeCompte_at_pangonetworks.com>
Date: Wed, 16 Aug 2006 09:35:25 -0400

Hello all,
 
Does anyone have any example custom-server.xml bindings file for a WSDL that uses xsd:import in the WSDL file to import an XSD file? I'm having a hard time translating the following JWSDP 1.6 config.xml file into a proper customer-server.xml bindings file:
 
<?xml version="1.0" encoding="UTF-8" ?>
<configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl location="MyService.wsdl"
          packageName="com.myservice.generated.server">
          <namespaceMappingRegistry>
             <namespaceMapping namespace="http://www.company.com/services/common" packageName="com.myservice.common.generated.server"/>
          </namespaceMappingRegistry>
     </wsdl>
</configuration>

Thanks,
Ryan