[jbossws-dev] [Design of JBoss Web Services] - Re: Soap with Attachments and document/literal

darran.lofthouse@jboss.com do-not-reply at jboss.com
Wed Jan 17 16:14:59 EST 2007


Here is the correct extract: -

  <schema targetNamespace='http://www.jboss.org/support/photoalbum/types' 
  |           xmlns='http://www.w3.org/2001/XMLSchema' 
  |           xmlns:soap11-enc='http://schemas.xmlsoap.org/soap/encoding/' 
  |           xmlns:tns='http://www.jboss.org/support/photoalbum/types' 
  |           xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
  |           xmlns:ref='http://ws-i.org/profiles/basic/1.1/xsd'>
  |    <complexType name='Photo'>
  |     <sequence>
  |      <element name='caption' nillable='true' type='string'/>
  |      <element name='image' type='ref:swaRef'/>
  |     </sequence>
  |    </complexType>
  |    <element name='publishPhoto' type='tns:Photo'/>
  |    <element name='publishPhotoResponse' type='int'/>
  |   </schema>
  |  </types>
  | 
  |  <message name='AlbumEndpoint_publishPhoto'>
  |   <part element='ns1:publishPhoto' name='publishPhoto'/>
  |   <part name='mimepart' type='xsd:hexBinary'/>    
  |  </message>

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

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



More information about the jbossws-dev mailing list