The <wsdl:types> section must specify the schema(s) that describe your input and output messages. The schemas may be defined inline, or they may be imported or included using <xsd:import> or <xsd:include>.
In all cases, what is transferred between the client and the service is an XML message wrapped in a SOAP envelope. Typically, though, the runtime framework (e.g., Axis, .NET, etc) translates the XML message into a set of language-specific objects. If you want direct access to the XML message in Axis, you must use the low-level messaging API. Anne On 12/12/06, Melanie Courtot <[EMAIL PROTECTED]> wrote:
Hi Anne, Thank you for your reply. I have a few more questions: - I have a method Term term1 = port.getTermById(144); If my non java clients want to access the Term, they will have to build the same kind of structure in their own language, which means I need to distribute the XML schema. Using the ant java2wsdl how can I specify the schemaLocation to import? - Is it possible to get the XML without using any structure? I guess I'm just confused about what is sent back by Axis, I thought it was just XML in a SOAP envelop (document wrapped style), so I thought there would be the 2 options, either using the java objects or getting the raw XML, but I don't see how I can test that I can actually get the raw XML. Thanks again, Melanie > It depends on how Castor is serializing your objects. If Castor > converts your objects into reasonably straightforward XML schema > structures, it should work. What you don't want to do is use SOAP > encoding to serialize the objects, because it has a tendency to > produce XML that can't be easily processed by non-Java applications. > > Anne > > On 12/11/06, Melanie Courtot <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I'm fairly new at webservices, and I've been developing a webservice >> based >> on axis 1.4. >> To send back complex objects that I already had I'm using the castor >> serializer. >> I was wondering if some of my clients don't use java to access my >> webservices if it was still possible for them to get the XML? >> Dose somebody have a basic example? >> >> I found this on the web: >> http://mail-archives.apache.org/mod_mbox/ws-axis-user/200407.mbox/[EMAIL PROTECTED] >> Does this means that I have to modify my methods to send back basic >> types? >> >> Thanks for any help, >> Melanie >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
