[jbossws-dev] [Design of JBoss Web Services] - Re: JBWS-1260 - such a part must refer to an element named a

thomas.diesler@jboss.com do-not-reply at jboss.com
Fri Jan 12 07:32:26 EST 2007


In that case a wsdl like this


  |   <types>
  |     <schema ...>
  |       <complexType name="paraListType">
  |         <sequence>
  |           <element name="username" type="string" nillable="true"/>
  |           <element name="password" type="string" nillable="true"/>
  |           <element name="operationName" type="string" nillable="true"/>
  |           <element name="inputXML" type="string" nillable="true"/>
  |         </sequence>
  |       </complexType>
  |       <complexType name="responseType">
  |         <sequence>
  |           <element name="result" type="string" nillable="true"/>
  |         </sequence>
  |       </complexType>
  |       <element name="paraList2" type="tns:paraListType"/>
  |       <element name="responseXML" type="tns:responseType"/>
  |     </schema>
  |   </types>
  |   <message name="attachRequest">
  |     <part name="parameters" element="ns2:paraList2"/>
  |     <part name="attachmentContents" type="xsd:string"/>
  |   </message>
  |   <message name="attachResponse">
  |     <part name="result" element="ns2:responseXML"/>
  |   </message>
  |   <portType name="TransmulatorInterface">
  |     <operation name="invokeAttach">
  |       <input message="tns:attachRequest"/>
  |       <output message="tns:attachResponse"/>
  |     </operation>
  |   </portType>
  | 

should work and the generated java method name should be paraList2 instead of invokeAttach.

AFAICS the requriment pertains only the the java realm and not to the abstract contract in wsdl.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000885#4000885

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000885



More information about the jbossws-dev mailing list