Problem in ADB code generation for a WSDL with base64binary .
-------------------------------------------------------------

                 Key: AXIS2-1258
                 URL: http://issues.apache.org/jira/browse/AXIS2-1258
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: databinding
            Reporter: indika priyantha kumara


I generated skeleton for WSDL with  base64binary and filled and deployed . When 
calling services it throws axis fault 

Request

POST /axis2/services/MtomService HTTP/1.1
SOAPAction: http://xmlsoap.org/echoBinaryAsString
User-Agent: Axis2
Host: localhost:8081
Transfer-Encoding: chunked
Content-Type: multipart/related; 
boundary=MIMEBoundaryurn_uuid_E2C9B5653BE0A77B9D11594300749681; 
type="application/xop+xml"; start="<0.urn:uuid:[EMAIL PROTECTED]>"; 
start-info="text/xml"; charset=UTF-8
3c2
--MIMEBoundaryurn_uuid_E2C9B5653BE0A77B9D11594300749681
content-type: application/xop+xml; charset=UTF-8; type="text/xml";
content-transfer-encoding: binary
content-id: 
   <0.urn:uuid:[EMAIL PROTECTED]>
      <?xml version='1.0' encoding='UTF-8'?>
         <soapenv:Envelope 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
            <soapenv:Header />
            <soapenv:Body>
               <ns2:EchoBinaryAsString xmlns:ns2="http://xmlsoap.org/Ping";>
                  <ns2:array>
                     <xop:Include href="cid:1.urn:uuid:[EMAIL PROTECTED]" 
xmlns:xop="http://www.w3.org/2004/08/xop/include"; />
                  </ns2:array>
               </ns2:EchoBinaryAsString>
            </soapenv:Body>
         
</soapenv:Envelope>--MIMEBoundaryurn_uuid_E2C9B5653BE0A77B9D11594300749681content-type:
 application/octet-streamcontent-transfer-encoding: binarycontent-id: 
         <1.urn:uuid:[EMAIL PROTECTED]>Axis2- the next generation web services 
engine—MIMEBoundaryurn_uuid_E2C9B5653BE0A77B9D11594300749681--0

response

Axis fault 

org.apache.axis2.AxisFault: java.lang.RuntimeException: Unexpected subelement 
Include



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to