all groups > sql server reporting services > april 2005 >
You're in the

sql server reporting services

group:

MSRS Java Client


MSRS Java Client James
4/20/2005 6:31:03 PM
sql server reporting services:
We tried to develop a MSRS Java Client to communicate with the MSRS server
via web services. Because of integrated windows authentication, we
encountered an access denial error. Has anyone encountered this problem and
know how to embed windows security in the Java client. By the way, I used
Apache Axis to create client stub classes from a WSDL file. I obtained the
WSDL file from the MSRS server directly.

Thanks,

RE: MSRS Java Client Josh Hensley
7/8/2005 11:17:03 AM
James, I am trying to do exactly what you are describing and have run into
the same problem. Did you ever discover a solution?

Thanks!

[quoted text, click to view]
RE: MSRS Java Client LT
8/9/2005 9:30:04 AM

Josh, James, I'm having this problem as well. Was there a solution?

[quoted text, click to view]
RE: MSRS Java Client Josh Hensley
8/12/2005 3:10:03 PM
Hey LT,

I did find a solution, but forgot to come back and mention it here.

The problem comes from the fact that we need to call the Render method
without specifying some optional parameters (like historyID). When you call
a Web Service API method from Java and leave out an optional parameter, the
SOAP message that is generated by AXIS can either exclude the tag for that
missing parameter or include the tag with a special attribute saying it's not
being used (xsi:nil="true"). The default for behavior for AXIS is to send
the tag with the special attribute but apparently Microsoft Reporting
Services doesn't want the tag sent at all. So you have to modify AXIS to
satisfy Reporting Services and stop sending tags for arguments that aren't
specified.

A much more detailed explanation is in this article written by a fella from
France. (You will have to register on their site to read the article)

http://www.sqlreportingservices.net/Tools/1996.aspx

Good luck!

[quoted text, click to view]
AddThis Social Bookmark Button