axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Freeman" <>
Subject Microsoft Reporting Services sessioning / SimpleSessionHandler
Date Wed, 28 Jul 2004 03:17:24 GMT
Hi all!

I'm new to Axis and have been working with getting a Microsoft Reporting Services client working.
I've gotten through our NTML authentication issues with talking to Reporting Services and
am stuck on getting the sessioning operational.

Several threads I've seen refer to using SimpleSessionHandler and I've added the following
to client-config.wsdd

  <handler name="session" type="java:org.apache.axis.handlers.SimpleSessionHandler"/>
  <service name="ReportingServiceSoap" provider="java:RPC" style="rpc" use="encoded">
        <handler type="session"/>
        <handler type="session"/>
      <parameter name="wsdlTargetNamespace" value=""/>
      <parameter name="wsdlServiceElement"  value="ReportingService"/>
      <parameter name="wsdlServicePort"     value="ReportingServiceSoap"/>
      <parameter name="className"           value=""/>
      <parameter name="wsdlPortType"        value="ReportingServiceSoap"/>
      <parameter name="allowedMethods"      value="*"/>
      <parameter name="scope"               value="Session"/>

but I'm getting faults on code that was previously working and obviously don't have the above
block correct. 

AxisFault faultCode: {}Server.userException faultSubcode:
faultString: org.xml.sax.SAXException: Deserializing parameter &apos;CatalogItems&apos;:
could not find deserializer for type {}ArrayOfCatalogItem
faultActor: faultNode: faultDetail: {}stackTrace: org.xml.sax.SAXException:
Deserializing parameter 'CatalogItems': could not find deserializer for type {}ArrayOfCatalogItem
at org.apache.axis.message.RPCHandler.onStartChild( at org.apache.axis.encoding.DeserializationContextImpl.startElement(
at org.apache.axis.message.SAX2EventRecorder.replay( at org.apache.axis.message.MessageElement.publishToHandler(
at org.apache.axis.message.RPCElement.deserialize( at org.apache.axis.message.RPCElement.getParams(
at org.apache.axis.client.Call.invoke( at org.apache.axis.client.Call.invoke(
at org.apache.axis.client.Call.invoke( at


Has anyone already done this/any ideas where I can look for information about these wsdl*
parameters and what I'm missing? 

The approach I'm on, is:
- add SimpleSessionHandler into client-config.wsdd
- add SimpleSessionHandler into my stub
- set _call.setClientHandlers() to the created SimpleSessionHandler in my client
and pray that it works ;)
Does that sound right?

View raw message