Hi !

If you by force, means that it aint possible to create web services with
"ordinary" java classes in web logic 7.0, that's
not quite correct. I have made a really stupid Java class and published it
as a web service. It was pretty straightforward.

I haven't tried to develop a more complex class structure and that might be
more difficult.



                                                                                       
                                                  
              "Volkmann, Mark"                                                         
                                                  
              <[EMAIL PROTECTED]         To:      "'[EMAIL PROTECTED]'" 
<[EMAIL PROTECTED]>, Sascha Kulawik        
              om>                                <[EMAIL PROTECTED]>                   
                                                  
                                                 cc:                                   
                                                  
              23.04.2002 17:25                   Subject: RE: BEA 7.0 Beta and Apache 
AXIS                                               
              Please respond to                                                        
                                                  
              axis-user                                                                
                                                  
                                                                                       
                                                  
                                                                                       
                                                  



Here's one reason not to use the BEA implementation. I think they force you
to implement your web services using either stateless session beans or JMS.
With Axis your web services can be implemented with "ordinary" Java
classes.
 -----Original Message-----
 From: Kulawik, Sascha [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, April 23, 2002 9:36 AM
 To: Sascha Kulawik; [EMAIL PROTECTED]
 Subject: AW: BEA 7.0 Beta and Apache AXIS

 Why do you use Axis if you have BEA Weblogic 7.0 ?
  BEA has his own implementation of SOAP, I thought... (And its REALLY easy
 to use)
  -----Urspr�ngliche Nachricht-----
  Von: Adam Greene [mailto:[EMAIL PROTECTED]]
  Gesendet: Montag, 22. April 2002 23:04
  An: [EMAIL PROTECTED]
  Betreff: BEA 7.0 Beta and Apache AXIS

  I have a BEA Web Service that uses Conversations (their concept of
  Sessions) and it generates the WSDL at the bottom of this message, it is
  long I know, but what I'm interested in is figuring out what this error
  is about:

          This request doesn't conform to the target service/method's
  requirements
  .

          at org.apache.axis.message.SOAPFaultBuilder.endElement(Unknown
  Source)
          at
  org.apache.axis.encoding.DeserializationContextImpl.endElement(Unknow
  n Source)
          at
  org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)
          at
  org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLVa
  lidator.java:1550)
          at
  org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.disp
  atch(XMLDocumentScanner.java:1204)
          at
  org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentS
  canner.java:381)
          at
  org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1098)
          at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
          at
  org.apache.axis.encoding.DeserializationContextImpl.parse(Unknown Sou
  rce)
          at org.apache.axis.SOAPPart.getAsSOAPEnvelope(Unknown Source)
          at org.apache.axis.client.Call.invoke(Unknown Source)
          at org.apache.axis.client.Call.invoke(Unknown Source)
          at org.apache.axis.client.Call.invoke(Unknown Source)
          at org.apache.axis.client.Call.invoke(Unknown Source)
          at
  org.openuri.SessionizeSoapStub.contact(SessionizeSoapStub.java:101)
          at Go.<init>(Go.java:21)
          at Go.main(Go.java:32)

  -----------------------------------------------------------------------

  Here is the WSDL:

   <?xml version="1.0" encoding="utf-8" ?>
    - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"; xmlns:conv="
    http://openuri.org/soap/conversation/"; xmlns:cw="
    http://openuri.org/wsdl/conversation/"; xmlns:http="
    http://schemas.xmlsoap.org/wsdl/http/"; xmlns:jms="
    http://openuri.org/wsdl/jms/"; xmlns:mime="
    http://schemas.xmlsoap.org/wsdl/mime/"; xmlns:s="
    http://www.w3.org/2001/XMLSchema"; xmlns:s0="http://openuri.org/";
    xmlns:s1="http://openuri.org/encodedTypes"; xmlns:soap="
    http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:soapenc="
    http://schemas.xmlsoap.org/soap/encoding/"; xmlns:xm="
    http://bea.com/jws/xmlmap"; targetNamespace="http://openuri.org/";>
    - <types>
    - <s:schema attributeFormDefault="qualified" elementFormDefault="
    qualified" targetNamespace="http://openuri.org/";>
    - <s:element name="contactHttpGetOutBodyType">
      <s:complexType />
    </s:element>
    - <s:element name="contactHttpPostOutBodyType">
      <s:complexType />
    </s:element>
    - <s:element name="count">
      <s:complexType />
    </s:element>
    - <s:element name="countResponse">
    - <s:complexType>
    - <s:sequence>
      <s:element minOccurs="1" maxOccurs="1" name="return" type="s:int" />
    </s:sequence>
    </s:complexType>
    </s:element>
      <s:element name="int" type="s:int" />
    - <s:element name="goodbye">
      <s:complexType />
    </s:element>
    - <s:element name="goodbyeResponse">
      <s:complexType />
    </s:element>
    - <s:element name="goodbyeHttpGetOutBodyType">
      <s:complexType />
    </s:element>
    - <s:element name="goodbyeHttpPostOutBodyType">
      <s:complexType />
    </s:element>
    </s:schema>
    - <s:schema elementFormDefault="qualified" targetNamespace="
    http://openuri.org/soap/conversation/";>
      <s:element name="StartHeader" type="conv:StartHeader" />
      <s:element name="ContinueHeader" type="conv:ContinueHeader" />
      <s:element name="CallbackHeader" type="conv:CallbackHeader" />
    - <s:complexType name="StartHeader">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="conversationID" type="
    s:string" />
      <s:element minOccurs="0" maxOccurs="1" name="defaultCallbackLocation"
    type="s:string" />
    </s:sequence>
    </s:complexType>
    - <s:complexType name="ContinueHeader">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="conversationID" type="
    s:string" />
    </s:sequence>
    </s:complexType>
    - <s:complexType name="CallbackHeader">
    - <s:sequence>
      <s:element minOccurs="0" maxOccurs="1" name="callbackID" type="
    s:string" />
    </s:sequence>
    </s:complexType>
    </s:schema>
    </types>
    - <message name="contactSoapIn">
      <part name="name" type="s:string" />
    </message>
      <message name="contactSoapOut" />
    - <message name="contactHttpGetIn">
      <part name="name" type="s:string" />
    </message>
    - <message name="contactHttpGetOut">
      <part name="Body" element="s0:contactHttpGetOutBodyType" />
    </message>
    - <message name="contactHttpPostIn">
      <part name="name" type="s:string" />
    </message>
    - <message name="contactHttpPostOut">
      <part name="Body" element="s0:contactHttpPostOutBodyType" />
    </message>
    - <message name="countSoapIn">
      <part name="parameters" element="s0:count" />
    </message>
    - <message name="countSoapOut">
      <part name="parameters" element="s0:countResponse" />
    </message>
      <message name="countHttpGetIn" />
    - <message name="countHttpGetOut">
      <part name="Body" element="s0:int" />
    </message>
      <message name="countHttpPostIn" />
    - <message name="countHttpPostOut">
      <part name="Body" element="s0:int" />
    </message>
    - <message name="goodbyeSoapIn">
      <part name="parameters" element="s0:goodbye" />
    </message>
    - <message name="goodbyeSoapOut">
      <part name="parameters" element="s0:goodbyeResponse" />
    </message>
      <message name="goodbyeHttpGetIn" />
    - <message name="goodbyeHttpGetOut">
      <part name="Body" element="s0:goodbyeHttpGetOutBodyType" />
    </message>
      <message name="goodbyeHttpPostIn" />
    - <message name="goodbyeHttpPostOut">
      <part name="Body" element="s0:goodbyeHttpPostOutBodyType" />
    </message>
    - <message name="StartHeader">
      <part name="StartHeader" element="conv:StartHeader" />
    </message>
    - <message name="ContinueHeader">
      <part name="ContinueHeader" element="conv:ContinueHeader" />
    </message>
    - <portType name="SessionizeSoap">
    - <operation name="contact">
      <input message="s0:contactSoapIn" />
      <output message="s0:contactSoapOut" />
    </operation>
    - <operation name="count">
      <input message="s0:countSoapIn" />
      <output message="s0:countSoapOut" />
    </operation>
    - <operation name="goodbye">
      <input message="s0:goodbyeSoapIn" />
      <output message="s0:goodbyeSoapOut" />
    </operation>
    </portType>
    - <portType name="SessionizeHttpGet">
    - <operation name="contact">
      <input message="s0:contactHttpGetIn" />
      <output message="s0:contactHttpGetOut" />
    </operation>
    - <operation name="count">
      <input message="s0:countHttpGetIn" />
      <output message="s0:countHttpGetOut" />
    </operation>
    - <operation name="goodbye">
      <input message="s0:goodbyeHttpGetIn" />
      <output message="s0:goodbyeHttpGetOut" />
    </operation>
    </portType>
    - <portType name="SessionizeHttpPost">
    - <operation name="contact">
      <input message="s0:contactHttpPostIn" />
      <output message="s0:contactHttpPostOut" />
    </operation>
    - <operation name="count">
      <input message="s0:countHttpPostIn" />
      <output message="s0:countHttpPostOut" />
    </operation>
    - <operation name="goodbye">
      <input message="s0:goodbyeHttpPostIn" />
      <output message="s0:goodbyeHttpPostOut" />
    </operation>
    </portType>
    - <binding name="SessionizeSoap" type="s0:SessionizeSoap">
      <soap:binding transport="http://schemas.xmlsoap.org/soap/http"; style
    ="document" />
    - <operation name="contact">
      <soap:operation soapAction="http://openuri.org/contact"; style="rpc"
    />
      <cw:transition phase="start" />
    - <input>
      <soap:body use="encoded" namespace="http://openuri.org/";
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
      <soap:header wsdl:required="true" message="s0:StartHeader" part="
    StartHeader" use="literal" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/
    " />
    </input>
    - <output>
      <soap:body use="encoded" namespace="http://openuri.org/";
    encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; />
    </output>
    </operation>
    - <operation name="count">
      <soap:operation soapAction="http://openuri.org/count"; style="document
    " />
      <cw:transition phase="continue" />
    - <input>
      <soap:body use="literal" />
      <soap:header wsdl:required="true" message="s0:ContinueHeader" part="
    ContinueHeader" use="literal" xmlns:wsdl="
    http://schemas.xmlsoap.org/wsdl/"; />
    </input>
    - <output>
      <soap:body use="literal" />
    </output>
    </operation>
    - <operation name="goodbye">
      <soap:operation soapAction="http://openuri.org/goodbye"; style="
    document" />
      <cw:transition phase="finish" />
    - <input>
      <soap:body use="literal" />
      <soap:header wsdl:required="true" message="s0:ContinueHeader" part="
    ContinueHeader" use="literal" xmlns:wsdl="
    http://schemas.xmlsoap.org/wsdl/"; />
    </input>
    - <output>
      <soap:body use="literal" />
    </output>
    </operation>
    </binding>
    - <binding name="SessionizeHttpGet" type="s0:SessionizeHttpGet">
      <http:binding verb="GET" />
    - <operation name="contact">
      <http:operation location="/contact" />
      <cw:transition phase="start" />
    - <input>
      <http:urlEncoded />
    </input>
    - <output>
      <mime:mimeXml part="Body" />
    </output>
    </operation>
    - <operation name="count">
      <http:operation location="/count" />
      <cw:transition phase="continue" />
    - <input>
      <http:urlEncoded />
    </input>
    - <output>
      <mime:mimeXml part="Body" />
    </output>
    </operation>
    - <operation name="goodbye">
      <http:operation location="/goodbye" />
      <cw:transition phase="finish" />
    - <input>
      <http:urlEncoded />
    </input>
    - <output>
      <mime:mimeXml part="Body" />
    </output>
    </operation>
    </binding>
    - <binding name="SessionizeHttpPost" type="s0:SessionizeHttpPost">
      <http:binding verb="POST" />
    - <operation name="contact">
      <http:operation location="/contact" />
      <cw:transition phase="start" />
    - <input>
      <mime:content type="application/x-www-form-urlencoded" />
    </input>
    - <output>
      <mime:mimeXml part="Body" />
    </output>
    </operation>
    - <operation name="count">
      <http:operation location="/count" />
      <cw:transition phase="continue" />
    - <input>
      <mime:content type="application/x-www-form-urlencoded" />
    </input>
    - <output>
      <mime:mimeXml part="Body" />
    </output>
    </operation>
    - <operation name="goodbye">
      <http:operation location="/goodbye" />
      <cw:transition phase="finish" />
    - <input>
      <mime:content type="application/x-www-form-urlencoded" />
    </input>
    - <output>
      <mime:mimeXml part="Body" />
    </output>
    </operation>
    </binding>
    - <service name="Sessionize">
    - <port name="SessionizeSoap" binding="s0:SessionizeSoap">
      <soap:address location="http://adam:7001/Thunderbolt/Sessionize.jws";
    />
    </port>
    - <port name="SessionizeHttpGet" binding="s0:SessionizeHttpGet">
      <http:address location="http://adam:7001/Thunderbolt/Sessionize.jws";
    />
    </port>
    - <port name="SessionizeHttpPost" binding="s0:SessionizeHttpPost">
      <http:address location="http://adam:7001/Thunderbolt/Sessionize.jws";
    />
    </port>
    </service>
    </definitions>




***********************************************************************************

WARNING: All e-mail sent to and from this address will be received or
otherwise recorded by the A.G. Edwards corporate e-mail system and is
subject to archival, monitoring or review by, and/or disclosure to,
someone other than the recipient.
************************************************************************************


This message is for the designated recipient only and may contain
privileged, proprietary, or otherwise private information.  If you have
received it in error, please notify the sender immediately and delete the
original.  Any other use of the email by you is prohibited.

Reply via email to