axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy Hughes" <hugh...@hursley.ibm.com>
Subject Re: [wsif] EJB exceptions
Date Mon, 10 Feb 2003 16:51:01 GMT
Take a look at the ShoppingCart test:

java/test/shop/ShoppingCartAll.wsdl

 <message name="CreateException">
  <part name="createException" type="typens:createException" />
 </message>

...

 <portType name="ShoppingCart_EJBPortType">

  <operation name="createOperation">
   <input name="in1" message="tns:CreateRequest" />
   <output name="out1" message="tns:CreateResponse" />
   <fault name="ft1" message="tns:CreateException" />
  </operation>

...

<ejb:binding ...
 <format:typeMapping encoding="Java" style="Java">
 <format:typeMap typeName="typens:createException"
formatType="shop.CreateException" />

(typens and tns are mapped to the same thing in <definitions>

Hope that helps ... perhaps the EJB extension page:
http://ws.apache.org/wsif/providers/wsdl_extensions/ejb_extension.html
could have more info. :-)

BTW: wsif-user@ws.apache.org is now our official user list.

Regards,
Jeremy

----- Original Message -----
From: <David.Pool@kp.org>
To: <axis-user@ws.apache.org>
Sent: Saturday, February 08, 2003 12:22 AM
Subject: [wsif] EJB exceptions


WSIF question: Can EJB exceptions be thrown and caught via the EJB
provider? Does the WSDL extension support defining exception types?




Mime
View raw message