Anne Thomas Manes wrote:
It's viewLesson, sorry for the mistake. I can't give much info as my project is classified (I think).Dimitris, The snippet of your WSDL isn't valid. This:<wsdl:part name="part1" element="ns0:viewObservation"/> should be this: <wsdl:part name="part1" element="ns0:viewLesson"/> We actually don't have enough information to determine if the style is wrapped doc/literal. What is the name of the operation? If it is "viewLesson", then most toolkits will interpret the style as wrapped doc/literal. If you want all toolkits to recognize it as wrapped doc/literal, then the part names should be "parameters" rather than "part1", e.g.: <wsdl:part name="parameters" element="ns0:viewLesson"/> For more information on the wrapped style, see these links: http://atmanes.blogspot.com/2005/03/wrapped-documentliteral-convention.html http://pzf.fremantle.org/2007/05/handlign.html Anne On 10/23/07, Dimitris Mouchritsas <[EMAIL PROTECTED]> wrote:Hi everyone, I'm kind of new in web services so I need your help once again. Say I have the following wsdl: .... .... <wsdl:definitions targetNamespace="http://www.example.org "> <wsdl:documentation> Blah blah </wsdl:documentation> <wsdl:types> <xs:schema targetNamespace="http://www.example.org " attributeFormDefault="qualified" elementFormDefault="qualified"> <xs:element name="viewLesson"> <xs:complexType> <xs:sequence> <xs:element name="lesson_id" type="xs:long"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> </wsdl:types> <wsdl:message name="viewLessonMessage"> <wsdl:part name="part1" element="ns0:viewObservation"/> </wsdl:message> <wsdl:message name="viewLessonResponse"> <wsdl:part name="part1" element="ns0:viewLessonResponse"/> </wsdl:message> .... .... so I send and receive messages like (minus the soap envelope): <ns0:viewLesson ...namespace stuff....> <ns0:lesson_id>1</ns0:lesson_id> </ns0:viewLesson> Which style am I using? I think I'm using document/wrapped but am I right? I've read the developer works article on this but I'm not certain yet. Thanks in advance. -- Dimitris Mouchritsas Computer Services--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This is why I didn't flat out copy-paste the entire wsdl file. I've read the second link you gave me and I have all the checkpoints except the parameters part which I just corrected. I'm using XML Studio and it's been recognizing the xml it needs to send so I suppose I'm ok? Thank you once again. Dimitris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] |
- Which style am I using? Dimitris Mouchritsas
- Re: Which style am I using? Anne Thomas Manes
- Re: Which style am I using? Dimitris Mouchritsas