You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "indika priyantha kumara (JIRA)" <ji...@apache.org> on 2006/09/28 09:55:51 UTC

[jira] Created: (AXIS2-1258) Problem in ADB code generation for a WSDL with base64binary .

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....@apache.org>"; 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....@apache.org>
      <?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:E2C9B5653BE0A77B9D11594300750153@apache.org" 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....@apache.org>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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1258) Problem in ADB code generation for a WSDL with base64binary .

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1258?page=all ]

Davanum Srinivas resolved AXIS2-1258.
-------------------------------------

    Resolution: Fixed

Indika,

I think this is fixed. Please let me know if it isn't and we can reopen the bug.

thanks,
dims

> 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
>         Attachments: MtomServiceSkeleton.java, Soap11MtomUtf8.wsdl
>
>
> 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....@apache.org>"; 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....@apache.org>
>       <?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:E2C9B5653BE0A77B9D11594300750153@apache.org" 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....@apache.org>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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Reopened: (AXIS2-1258) Problem in ADB code generation for a WSDL with base64binary .

Posted by "Thilina Gunarathne (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1258?page=all ]

Thilina Gunarathne reopened AXIS2-1258:
---------------------------------------

             
Re open as per the comment
https://issues.apache.org/jira/browse/AXIS2-1258#action_12439097

> 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
>         Attachments: MtomServiceSkeleton.java, Soap11MtomUtf8.wsdl
>
>
> 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....@apache.org>"; 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....@apache.org>
>       <?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:E2C9B5653BE0A77B9D11594300750153@apache.org" 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....@apache.org>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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Updated: (AXIS2-1258) Problem in ADB code generation for a WSDL with base64binary .

Posted by "indika priyantha kumara (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1258?page=all ]

indika priyantha kumara updated AXIS2-1258:
-------------------------------------------

    Attachment: Soap11MtomUtf8.wsdl
                MtomServiceSkeleton.java

> 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
>         Attachments: MtomServiceSkeleton.java, Soap11MtomUtf8.wsdl
>
>
> 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....@apache.org>"; 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....@apache.org>
>       <?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:E2C9B5653BE0A77B9D11594300750153@apache.org" 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....@apache.org>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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1258) Problem in ADB code generation for a WSDL with base64binary .

Posted by "indika priyantha kumara (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1258?page=comments#action_12439097 ] 
            
indika priyantha kumara commented on AXIS2-1258:
------------------------------------------------

hi dims
i tested again three times with newly built jars. But same error was occurred. It is seem as bug is stil remain. 

thanks
indika

> 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
>         Attachments: MtomServiceSkeleton.java, Soap11MtomUtf8.wsdl
>
>
> 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....@apache.org>"; 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....@apache.org>
>       <?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:E2C9B5653BE0A77B9D11594300750153@apache.org" 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....@apache.org>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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-1258) Problem in ADB code generation for a WSDL with base64binary .

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-1258?page=all ]

Davanum Srinivas resolved AXIS2-1258.
-------------------------------------

    Resolution: Fixed

Fixed in latest SVN.

thanks,
dims

> 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
>         Attachments: MtomServiceSkeleton.java, Soap11MtomUtf8.wsdl
>
>
> 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....@apache.org>"; 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....@apache.org>
>       <?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:E2C9B5653BE0A77B9D11594300750153@apache.org" 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....@apache.org>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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-1258) Problem in ADB code generation for a WSDL with base64binary .

Posted by "indika priyantha kumara (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-1258?page=comments#action_12442240 ] 
            
indika priyantha kumara commented on AXIS2-1258:
------------------------------------------------


   [[ Old comment, sent by email on Mon, 2 Oct 2006 14:55:58 +0530 ]]

Hi dims

i tested again three times with newly built jars. But same error iwas
occurred. It is seem as bug is stil remain. Is it need to reopen jira?

Thanks

indika




> 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
>         Attachments: MtomServiceSkeleton.java, Soap11MtomUtf8.wsdl
>
>
> 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....@apache.org>"; 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....@apache.org>
>       <?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:E2C9B5653BE0A77B9D11594300750153@apache.org" 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....@apache.org>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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org