You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Dave Meier (JIRA)" <ji...@apache.org> on 2008/01/30 01:22:34 UTC

[jira] Created: (AXIS2C-941) IIS Module: fails with large data element

IIS Module: fails with large data element
-----------------------------------------

                 Key: AXIS2C-941
                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
             Project: Axis2-C
          Issue Type: Bug
          Components: transport/http
    Affects Versions: Current (Nightly)
         Environment: Windows XP, IIS 5.1
            Reporter: Dave Meier
            Priority: Blocker


I have a web service that takes the following as input.  Here is the wsdl:

  <complexType name="FileAttachmentContents">
   <complexContent>
    <extension base="ae:FileAttachment">
     <sequence>
     <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
     <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
     </sequence>
    </extension>
   </complexContent>
  </complexType>

With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.

I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Re: (AXIS2C-941 and AXIS2C-940) IIS Module Problems: fails with large data element and response garbled on errors

Posted by Senaka Fernando <se...@wso2.com>.
OK, will have a look at it.

Regards,
Senaka

> Hi,
>
> Will this one be looked into soon?  This one and
> https://issues.apache.org/jira/browse/AXIS2C-940 are kind of big
> problems for me right now as it means I cannot release my code to others
> in my company to use with IIS unless they don't send anything but small
> requests and don't do anything that causes an error to be returned.
>
> Thanks,
>
> -Dave.
>
> -----Original Message-----
> From: Dinesh Premalal (JIRA) [mailto:jira@apache.org]
> Sent: Monday, February 04, 2008 7:40 AM
> To: axis-c-dev@ws.apache.org
> Subject: [jira] Updated: (AXIS2C-941) IIS Module: fails with large data
> element
>
>
>      [
> https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira
> .plugin.system.issuetabpanels:all-tabpanel ]
>
> Dinesh Premalal updated AXIS2C-941:
> -----------------------------------
>
>     Priority: Major  (was: Blocker)
>
> This issue is not a blocker for Axis2/C, I'm downgrading priority.
>
>> IIS Module: fails with large data element
>> -----------------------------------------
>>
>>                 Key: AXIS2C-941
>>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>>             Project: Axis2-C
>>          Issue Type: Bug
>>          Components: transport/http
>>    Affects Versions: Current (Nightly)
>>         Environment: Windows XP, IIS 5.1
>>            Reporter: Dave Meier
>>         Attachments: aewebservicesaxis70.wsdl
>>
>>
>> I have a web service that takes the following as input.  Here is the
> wsdl:
>>   <complexType name="FileAttachmentContents">
>>    <complexContent>
>>     <extension base="ae:FileAttachment">
>>      <sequence>
>>      <element name="checksum" type="xsd:long" minOccurs="1"
> maxOccurs="1"/>
>>      <element name="encodedContents" type="xsd:base64Binary"
> minOccurs="1" maxOccurs="1" nillable="false"/>
>>      </sequence>
>>     </extension>
>>    </complexContent>
>>   </complexType>
>> With the axis2_http_server.exe it works fine with a 163KB file, where
> the contents of the file are written in base64 into the
> "encodedContents" element.  But when I run the IIS module and run the
> same client test, I get back an error saying that the "encodedContents"
> element is NULL.
>> I tried a 1KB file with the IIS module and that worked great.  So
> there appears to be something limiting the sending of a large element
> when using the IIS module.
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and intended
> solely for the use of the individual or entity to whom they are addressed.
> Any unauthorized review, use, disclosure or distribution is prohibited. If
> you are not the intended recipient, please contact the sender by reply
> e-mail and destroy all copies of the original message.
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-c-dev-help@ws.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


(AXIS2C-941 and AXIS2C-940) IIS Module Problems: fails with large data element and response garbled on errors

Posted by Dave Meier <DM...@SERENA.com>.
Hi,

Will this one be looked into soon?  This one and
https://issues.apache.org/jira/browse/AXIS2C-940 are kind of big
problems for me right now as it means I cannot release my code to others
in my company to use with IIS unless they don't send anything but small
requests and don't do anything that causes an error to be returned.

Thanks,

-Dave. 

-----Original Message-----
From: Dinesh Premalal (JIRA) [mailto:jira@apache.org] 
Sent: Monday, February 04, 2008 7:40 AM
To: axis-c-dev@ws.apache.org
Subject: [jira] Updated: (AXIS2C-941) IIS Module: fails with large data
element


     [
https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira
.plugin.system.issuetabpanels:all-tabpanel ]

Dinesh Premalal updated AXIS2C-941:
-----------------------------------

    Priority: Major  (was: Blocker)

This issue is not a blocker for Axis2/C, I'm downgrading priority.

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the
wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1"
maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary"
minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where
the contents of the file are written in base64 into the
"encodedContents" element.  But when I run the IIS module and run the
same client test, I get back an error saying that the "encodedContents"
element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So
there appears to be something limiting the sending of a large element
when using the IIS module.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


**********************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. 
**********************************************************************


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Resolved: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Senaka Fernando resolved AXIS2C-941.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3.0

Hi Dave,

I have now fixed this issue. IIS uses a 48K read buffer, and we did not properly handle payloads beyond 48K. On your machine, it seems that it is rather a 64K read buffer according to what you say. I don't understand the differences in these buffer sizes. :)... But, as far as I'm concerned this issue is solved. I tested this with a 3.66MB attachment and it worked well.

There however, still seems to be an issue with larger attachments of sizes 50MB+. This seems to be something related to the mtom mime_parser rather than IIS therefore, it seems to have nothing to do with this issue.

Regards,
Senaka

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>            Assignee: Senaka Fernando
>             Fix For: 1.3.0
>
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Dinesh Premalal (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dinesh Premalal updated AXIS2C-941:
-----------------------------------

    Priority: Major  (was: Blocker)

This issue is not a blocker for Axis2/C, I'm downgrading priority.

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Dave Meier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12568683#action_12568683 ] 

Dave Meier commented on AXIS2C-941:
-----------------------------------

Hi Senaka,

Any update on this one?  It fails using the IIS module whenever I send a file > 64K just using base64 encoding with no mtom, so it's not only specific to mtom.

Thanks,

-Dave.

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>            Assignee: Senaka Fernando
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Updated: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Dave Meier (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Meier updated AXIS2C-941:
------------------------------

    Attachment: aewebservicesaxis70.wsdl

The call I am making is CreateFileAttachment (see in the attached wsdl).

The request looks like:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
  <soap:Header>
    <wsa:Action></wsa:Action>
    <wsa:MessageID>urn:uuid:780c518c-6056-4f84-af21-0552f856a6fd</wsa:MessageID>
    <wsa:ReplyTo>
      <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
    </wsa:ReplyTo>
    <wsa:To>http://localhost/axis2/services/aewebservices70</wsa:To>
    <wsse:Security>
      <wsu:Timestamp wsu:Id="Timestamp-e17217ea-4d66-4ba9-8a7f-7f4239ab9265">
        <wsu:Created>2008-01-29T22:43:02Z</wsu:Created>
        <wsu:Expires>2008-01-29T22:48:02Z</wsu:Expires>
      </wsu:Timestamp>
    </wsse:Security>
  </soap:Header>
  <soap:Body>
    <CreateFileAttachment xmlns="urn:aewebservices70">
      <auth>
        <userId>joe</userId>
        <password />
        <hostname xsi:nil="true" />
      </auth>
      <itemID>1000:42</itemID>
      <attachmentContents>
        <name>TeamTrack Change Management</name>
        <fileName>tt.pdf</fileName>
        <showAsImage>true</showAsImage>
        <modificationDateTime>2008-01-29T14:43:01.2138881-08:00</modificationDateTime>
        <url xsi:nil="true" />
        <accessType>ATTACHACCESS-DEFAULT</accessType>
        <checksum>59215</checksum>
        <encodedContents>JVBERi0xLjQNJeL...Q0KJSVFT0YNCg==</encodedContents>
      </attachmentContents>
    </CreateFileAttachment>
  </soap:Body>
</soap:Envelope>

I replaced the middle of the large "encodedContents" value with "..." to avoid cluttering this issue.

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>            Priority: Blocker
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Assigned: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Senaka Fernando reassigned AXIS2C-941:
--------------------------------------

    Assignee: Senaka Fernando

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>            Assignee: Senaka Fernando
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Dave Meier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565966#action_12565966 ] 

Dave Meier commented on AXIS2C-941:
-----------------------------------

Hi Senaka,

I have reproduced the same problem using the mtom sample.

Steps:

1.  Build Axis2C in release (non-debug) mode.
2.  Turn on mtom in the axis2.xml in the deploy folder.
3.  Set up IIS to point to the release mode deploy folder and follow all the other IIS module instructions.
4.  Start IIS.
5.  Run the mtom sample with a small file to make sure that works to ensure everything is set up correctly.
     I used "mtom http://localhost/axis2/services/mtom math.exe davemath.exe do_not_optimize"
     This was successful and I found the "davemath.exe" file in my deploy/lib directory.
6.  Now run the mtom sample again with a 163KB or larger file.  I used a pdf file I test with.
     Command was "mtom http://localhost/axis2/services/mtom tt.pdf ttdave.pdf do_not_optimize" where tt.pdf is 163KB.

It fails on step 6 with either "mtom client invoke FAILED!" or a message saying the element was NULL.

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12566039#action_12566039 ] 

Senaka Fernando commented on AXIS2C-941:
----------------------------------------

Hi Dave,

I see your point. Now the failure has something to do with mtom. That is what I basically wanted to clarify. There is an issue with the mime parser, specifcally in the way it handles attachments. AFAIK, there are two issues raised for this, when it comes to apache server + mtom. I will hold on this issue until it has been fixed with apache, which will be done soon. AFAIK Manjula is handling this. If the issue on IIS still lasts even after the fix has been made for mod_axis2 (apache httpd module), meaning that it is an IIS specific issue, I will have a look on that.


Regards,
Senaka

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Dave Meier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571142#action_12571142 ] 

Dave Meier commented on AXIS2C-941:
-----------------------------------

Hi Senaka,

Just got the latest code and now have successfully sent and received an attachment of 58MB using IIS.  It does use a fair amount of memory but it works!  The 58MB being sent is using regular base64 encoding without mtom.

Thanks,

-Dave.

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>            Assignee: Senaka Fernando
>             Fix For: 1.3.0
>
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571169#action_12571169 ] 

Senaka Fernando commented on AXIS2C-941:
----------------------------------------

Hi Dave,

That's good news. Well, I tried a 56MB attachment with mtom optimization, but had no luck. This may have something to do with the machine I used too I guess.

Regards,
Senaka

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>            Assignee: Senaka Fernando
>             Fix For: 1.3.0
>
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Dave Meier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565967#action_12565967 ] 

Dave Meier commented on AXIS2C-941:
-----------------------------------

Hi Senaka,

I think this problem is a 64K buffer problem because I just ran the mtom client again without the "do_not_optimize" and it seemed to work, but it only wrote out 64KB of the file instead of the full 163KB.  Same test with axis2_http_server.exe wrote out the whole file.

Here's what I did: "mtom http://localhost/axis2/services/mtom tt.pdf ttdave.pdf"

I see the 64KB file "ttdave.pdf" in deploy/lib.  Rerunning it again, I sometimes get 52KB and sometime 64KB.

Thanks,

-Dave.



> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565873#action_12565873 ] 

Senaka Fernando commented on AXIS2C-941:
----------------------------------------

Hi Dave,

Will it be possible for you to attach your generated code, with some dummy logic and required resources, so that I can reproduce this issue?

Thanks,
Senaka

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Senaka Fernando (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570352#action_12570352 ] 

Senaka Fernando commented on AXIS2C-941:
----------------------------------------

Hi Dave,

Seems that one issue has been resolved. Also, Samisa has reported some build errors on Windows with regard to the new mime_parser code, and therefore for sure, some of the logic has been already committed. This resolution happened today, so did not yet find some time to have a look at how it should be worked out on Windows. I will take a look at the issue on IIS, based on the modified logic and fix this issue. I hope this won't take that long. However, I'm not sure whether the modifications have been finalized. If they are not, perhaps, we might need more time. But, I believe it wont be that long as the Axis2/C 1.3.0 release is due.

Regards,
Senaka

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>            Assignee: Senaka Fernando
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[jira] Commented: (AXIS2C-941) IIS Module: fails with large data element

Posted by "Dave Meier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570345#action_12570345 ] 

Dave Meier commented on AXIS2C-941:
-----------------------------------

Hi Senaka,

Is the other developer working on a fix for this yet?  I want to give my code to others to use, but this prevents them from doing anything beyond simple stuff.

Thanks,

-Dave.

> IIS Module: fails with large data element
> -----------------------------------------
>
>                 Key: AXIS2C-941
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-941
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: transport/http
>    Affects Versions: Current (Nightly)
>         Environment: Windows XP, IIS 5.1
>            Reporter: Dave Meier
>            Assignee: Senaka Fernando
>         Attachments: aewebservicesaxis70.wsdl
>
>
> I have a web service that takes the following as input.  Here is the wsdl:
>   <complexType name="FileAttachmentContents">
>    <complexContent>
>     <extension base="ae:FileAttachment">
>      <sequence>
>      <element name="checksum" type="xsd:long" minOccurs="1" maxOccurs="1"/>
>      <element name="encodedContents" type="xsd:base64Binary" minOccurs="1" maxOccurs="1" nillable="false"/>
>      </sequence>
>     </extension>
>    </complexContent>
>   </complexType>
> With the axis2_http_server.exe it works fine with a 163KB file, where the contents of the file are written in base64 into the "encodedContents" element.  But when I run the IIS module and run the same client test, I get back an error saying that the "encodedContents" element is NULL.
> I tried a 1KB file with the IIS module and that worked great.  So there appears to be something limiting the sending of a large element when using the IIS module.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org