You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Russell Butek <bu...@us.ibm.com> on 2001/09/26 16:18:44 UTC

Problems with SEOM

Here are some problems I found with SEOM when I ran my inout test's WSDL
through it.

1.  If the first output parameter is really an inout parameter, then SEOM
splits it into two, returning the output part and making the input part an
input parameter.  For example:

    <message name="Msg1">
      <part name="name" type="xsd:string"/>
    </message>

    <message name="Msg2">
      <part name="name" type="xsd:string"/>
      <part name="address" type="typens:address"/>
    </message>

    <operation name="out1_inout1_in0">
      <input message="tns:Msg1"/>
      <output message="tns:Msg2"/>
      <fault name="TestFailed" message="tns:Msg0"/>
    </operation>

This SHOULD produce the signature:

    public Address out1_inout1_in0 (StringHolder name) throws
java.rmi.RemoteException, TestFailed;

instead, it produces:

    public String out1_inout1_in0(StringHolder name, AddressHolder address)
throws java.rmi.RemoteException;

I don't know what it would take to fix this.


2.  As you can see from the signature above, SEOM hasn't given the emitter
the TestFailed fault, so the emitter didn't create the TestFailed exception
from it.  The code exists to handle faults, so I'm guessing that this is
just a simple bug to fix.


3.  Since the collection of interfaces is a HashSet, and HashSet has no
order, the order of method signatures in generated code ends up being
different than the order of operations in the WSDL.  This isn't a bug since
the spec makes no statement about operation order, but it's a real nuisance
if you made an attempt to organize the operations in the WSDL doc like I
did.  Rick, would changing this to a Vector or some other ordered
collection preserve the WSDL order?


Russell Butek
butek@us.ibm.com


Axis and proxies

Posted by Matthew Langham <ml...@sundn.de>.
I now get a socket timeout when trying to access the remote SOAP service. I
need to use an http proxy server to get out of the company network. How do I
set up Axis to use the proxy (can I?)? Hit me with it if I could have read
this somewhere :-)

Thanks.

Matthew

--
Open Source Group               sunShine - Lighting up e:Business
=================================================================
Matthew Langham, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
Tel: +49-5251-1581-30   [mlangham@sundn.de - http://www.sundn.de]
=================================================================