[ http://issues.apache.org/jira/browse/AXIS2-1382?page=all ]

GNANASEKARAN VINAYAKAMURTHY updated AXIS2-1382:
-----------------------------------------------

    Attachment: ReportExecutionServiceStub.java

Hi Amila,

Thanks for your follow up. I did some fix in the generated stub class and works 
fine. 
I think WSDL file from MS reporting services should not have any problem. And I 
have attached the generated stub class with this. And following is the fix, I 
tried...

Method in stub class : public static RenderResponse 
parse(javax.xml.stream.XMLStreamReader reader){...} . In this method: at line 
number: 17670, I have added a if check : 
java.lang.String contentText = reader.getElementText();
                                        if(contentText != null) {
                                            
object.setResult(org.apache.axis2.databinding.utils.ConverterUtil.convertToBase64Binary(contentText));
                                        }

Since the existing if(reader.hasText()) returns null and so result content was 
not stored in Response object.

The above changes works fine..

Thanks,
Vinay




> Parsing problem in Axis2
> ------------------------
>
>                 Key: AXIS2-1382
>                 URL: http://issues.apache.org/jira/browse/AXIS2-1382
>             Project: Apache Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: client-api, codegen
>    Affects Versions: nightly
>         Environment: Windows XP SP2, jdk 1.5, Axis2 nightly build(October 6, 
> 2006), Microsoft SQL Reporting Services 2005
>            Reporter: GNANASEKARAN VINAYAKAMURTHY
>         Attachments: Render-tcpmon-output.xml, reportexecution2005.wsdl, 
> ReportExecutionServiceStub.java
>
>
> Parsing problem for report render result from MS Reporting Services. 
> Method parse(javax.xml.stream.XMLStreamReader reader) in generated stub class 
> does't parse the Render response result from MS reporting services and so it 
> returns empty Response object to client class with no parsed result value in 
> it.
> But using tcpmon, the soap response  can be identified with render response 
> result values.

-- 
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