Re: supporting both rpc/encoded and wrapped doc/lit

2005-04-16 Thread Yves Erb
Hello Tim,
In Axis 1.2 each Service is bound to a ServiceDesc with Use and Style
fields. So they can't support both rpc/enc and wrapped/lit. I think
you could use some tricks by patching the source and dynamically
attribute providers to process the request message but you will have a
problem when you want to show both wsdl at the same time.


Re: supporting both rpc/encoded and wrapped doc/lit

2005-04-16 Thread Yves Erb
Yes, it should work.


Re: Java interface type mapping

2005-04-01 Thread Yves Erb
Sorry, I see my explanation wasn't clear   :-)
In fact I don't want to send a class nor an interface, just datas. The
point is that I'd want a type mapping for the interface. Let me give
an example.

  ...
  xsd:complexType name=I abstract=true/

  xsd:complexType name=A
xsd:complexContent
  xsd:extension base=I
xsd:sequence
  xsd:element name=name nillable=true type=xsd:string/
/xsd:sequence
  /xsd:extension
/xsd:complexContent
  /xsd:complexType
  ...
  element name=getIResponse
complexType
  sequence
element name=getIReturn type=I/
  /sequence
/complexType
  /element
  ...

With such a WSDL I could send objects implementing I (A for example).
Well, I mean data objects, not classes.