El mié, 06-12-2006 a las 14:07 -0500, Bhatra, Junaid escribió: > If you have the WSDL you can certainly try WSDL2Java (Axis 1.x or Axis2) and > check if it handles this for you. I don't know if it can, so you will have to > try it out. Even though you are writing the WSDL, it has to be consistent w/ > the SOAP messages that your web service expects (input messages w/ more than > 1 part for doc/literal style), so you don't have much leeway in authoring the > WSDL.
That's what my original message is about... I am trying to write the WSDL so that Axis produces the result I need. So far my attempts haven't been successful, so I'm pleading here for help. > > -----Original Message----- > > From: Javier Kohen [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, December 05, 2006 8:16 PM > > To: [email protected] > > Subject: Messages with many parts > > > > I'm trying to write the WSDL for an already existing web service that > > requires including two elements as children of the Body element. The web > > service uses SOAP and expects the request's body in the form > > <soap:Body><ElementA xmlns="mynamespace">content</ElementA><ElementB > > xmlns="mynamespace">content</ElementB></soap:Body> > > > > As I'm using Axis on the client side, I'd like to know what > > Axis-compatible construction I can use to generate the above message. > > I have tried many options with Axis 1.4 and Axis2 1.1, to no avail. The > > best I could achieve was to have both elements inside a wrapper element, > > but the web service rejects that. I'd like to start moving my codebase > > to Axis2 now that 1.1 seems to be able to handle my other WDSLs > > correctly, but I'm still using Axis 1.4 at the moment, so either is fine > > with me. > > > > In case you were wondering the server is using .Net and there's no way I > > can have them change the definition. The WSDL itself is simply not > > available, so I can't work from there either. > > > > Thanks in advance, -- Javier Kohen <[EMAIL PROTECTED]> ICQ: blashyrkh #2361802 Jabber: [EMAIL PROTECTED]
signature.asc
Description: Esta parte del mensaje está firmada digitalmente
