Hello Andreas-
described inside the xsd (in Axis 1.x used to be wsdl / and is now 
<ApplicationName>-Axis2.xml as in this example

<xsd:schema
     targetNamespace="http://java.sun.com/xml/ns/j2ee";
     xmlns:j2ee="http://java.sun.com/xml/ns/j2ee";

 you can construct complexTypes based on underlying j2ee referenced objects as 
in this example

<xsd:complexType name="descriptionType">
    <xsd:simpleContent>
      <xsd:extension base="j2ee:xsdStringType">
        <xsd:attribute ref="xml:lang"/>
      </xsd:extension>
    </xsd:simpleContent>
  </xsd:complexType>

Later on we can define our own individual elements based on previously 
described j2ee:descriptionType as in this example..

      <xsd:element name="description"
     type="j2ee:descriptionType"
     minOccurs="0"
     maxOccurs="unbounded"/>

Anyone else?
M-
This e-mail communication and any attachments may contain confidential and 
privileged information for the use of the 
designated recipients named above. If you are not the intended recipient, you 
are hereby notified that you have received
this communication in error and that any review, disclosure, dissemination, 
distribution or copying of it or its 
contents
----- Original Message ----- 
From: "Andreas Bohnert" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, November 08, 2006 10:39 AM
Subject: [Axis2]: where to put <ejb-local-ref>? Can't call an ejb from inside a 
service!


> hi,
> 
> I'm using axis2 0.95 (with geronimo) and I try to call a local ejb from
> inside my service.
> 
> to resolve the ejb reference I normally put a <ejb-ref> or
> <ejb-local-ref> to the web.xml if I call from a webapplication or to the
> ejb-jar.xml, if I call from another ejb.
> 
> but now I have an aar file with no deployment descriptor! service.xml
> seems to be not the right place ...
> well, I could put it to the axis2.war, but I don't want to mess it up
> with service specific stuff.
> 
> Is there a nice way todo it?
> 
> thanks for your help,
> andreas
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

Reply via email to