You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Auderset Pascal <pa...@rtc.ch> on 2004/06/03 15:18:48 UTC

AxisFault

Hi

I use Axis 1.2 Beta.

I've written ser/derser for my own exception/types. I do a type mapping in
server-config.wsdd:

 <service name="WertschriftenBuchungService" provider="java:RPC"
style="wrapped" use="literal">
  <parameter name="className"
value="ch.rtc.business.baseServices.wertschriftenBuchung.adapter.impl.BuWbs_
WertschriftenBuchungServiceImpl"/>
  <parameter name="allowedMethods" value="speichern"/>
 
  <typeMapping
qname="rtc:ch.rtc.business.baseServices.wertschriftenBuchung.adapter.type.Bu
Wbs_Buchung" xmlns:rtc="urn:ch.rtc"
 
type="java:ch.rtc.business.baseServices.wertschriftenBuchung.adapter.type.Bu
Wbs_Buchung"
 
serializer="ch.rtc.tech.webServices.encoding.BaEnc_TransferObjectSerializerF
actory"
 
deserializer="ch.rtc.tech.webServices.encoding.BaEnc_TransferObjectDeseriali
zerFactory"
             encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
            
  <typeMapping
qname="rtc:ch.rtc.business.framework.businessValue.BuVal_BusinessValue"
xmlns:rtc="urn:ch.rtc"
 
type="java:ch.rtc.business.framework.businessValue.BuVal_BusinessValue"
 
serializer="ch.rtc.tech.webServices.encoding.BaEnc_BusinessValueSerializerFa
ctory"
 
deserializer="ch.rtc.tech.webServices.encoding.BaEnc_BusinessValueDeserializ
erFactory"
             encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>

  <typeMapping qname="rtc:ch.rtc.tech.errorHandling.BaEh_BusinessException"
xmlns:rtc="urn:ch.rtc"
             type="java:ch.rtc.tech.errorHandling.BaEh_BusinessException"
 
serializer="ch.rtc.tech.webServices.encoding.BaEnc_BaEhExceptionSerializerFa
ctory"
 
deserializer="ch.rtc.tech.webServices.encoding.BaEnc_BaEhExceptionDeserializ
erFactory"
             encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
 </service>

My Service interface look like this:
...
    BuWbs_Ack speichern(BuWbs_Buchung buchung) throws
BaEh_BusinessException;
...

I use Wrapped type and style literal.

If I want to generate the WSDL. I get the exception

Please register a typemapping/beanmapping for
'ch.rtc.tech.errorHandling.BaEh_BusinessException'


What do I make false?

thx Pascal