Results 1 to 7 of 7

Thread: "rmi over soap"

  1. #1
    Join Date
    Jan 2005
    Posts
    144

    Default "rmi over soap"

    Hello,

    I've a requirement to acces my business tier using soap/http. My business service methods don't have to be exposed to other apps : this is only a security constraint (firewall).

    How can I customize spring HttpInvoker to "decorate" the serialized invocation in an soap-compliant message like :
    Code:
    <SOAP:Envelope
    xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/"
    SOAP:encodingStyle="application/x-java-serialized-object">
      <SOAP:Body>
        <m:RemoteInvocation xmlns:m="http://myapp/"> 
          [[ Serailized object ]]
        </m:RemoteInvocation>
      </SOAP:Body>
    </SOAP:Envelope>

  2. #2
    Join Date
    Nov 2004
    Location
    Hilversum - The Netherlands
    Posts
    1,054

    Default

    Last edited by Alarmnummer; Jan 23rd, 2006 at 05:21 AM.

  3. #3
    Join Date
    Jan 2005
    Posts
    144

    Default

    The only acceptable protocol are Tuxedo and SOAP...

  4. #4
    Join Date
    Nov 2004
    Location
    Hilversum - The Netherlands
    Posts
    1,054

    Default

    You can use SOAP-RPC to expose your services using the SOAP protocol.

    Exposing services using JAX-RPC

  5. #5
    Join Date
    Jan 2005
    Posts
    144

    Default

    That is what we are going to do... but it requires lot's of changes : the busines methods uses Enums and interfaces that axis Java2Wsdl doesn't handle correctly, so I've got to manually maintain the WSDL.
    I was searching for something more "auto-magic".

    Thanks anyway.

  6. #6
    Join Date
    Nov 2004
    Location
    Hilversum - The Netherlands
    Posts
    1,054

    Default

    Maybe you can have a look at XFire

  7. #7
    Join Date
    Jan 2005
    Posts
    144

    Default

    I'll have a look, thanks for the link.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •