I wish I could but it is behind a firewall. Below is what is getting sent and what is returning.
You will notice that the <return> tag does not have a namespace. This is what I believe the problem is. Axis blows up on the next tag (root).... Here is what I am sending (from tcpmon): POST /xmla/msxisapi.dll HTTP/1.0 Content-Type: text/xml; charset=utf-8 Accept: application/soap+xml, application/dime, multipart/related, text/* User-Agent: Axis/1.0 Host: localhost Cache-Control: no-cache Pragma: no-cache SOAPAction: "urn:schemas-microsoft-com:xml-analysis:Discover" Content-Length: 598 <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ns1:Discover soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:schemas-microsoft-com:xml-analysis"> <RequestType xsi:type="xsd:string">DISCOVER_DATASOURCES</RequestType> <Properties xsi:type="xsd:string"></Properties> <Restrictions xsi:type="xsd:string"></Restrictions> </ns1:Discover> </soapenv:Body> </soapenv:Envelope> Here is what it is outputting (again, from tcpmon): HTTP/1.1 200 OK Server: Microsoft-IIS/5.0 Date: Thu, 13 Feb 2003 22:30:14 GMT Content-Type: text/xml <?xml version="1.0"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <m:DiscoverResponse xmlns:m="urn:schemas-microsoft-com:xml-analysis"> <return SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xsi:type="xsd:string" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <root xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:schema xmlns="urn:schemas-microsoft-com:xml-analysis:rowset" targetNamespace="urn:schemas-microsoft-com:xml-analysis:rowset" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sql="urn:schemas-microsoft-com:xml-sql" elementFormDefault="qualified"> <xsd:element name="root"> <xsd:complexType> <xsd:sequence minOccurs="0" maxOccurs="unbounded"> <xsd:element name="row" type="row"/></xsd:sequence></xsd:complexType></xsd:element> <xsd:complexType name="row"> <xsd:choice maxOccurs="unbounded" minOccurs="0"> <xsd:element name="DataSourceName" type="xsd:string" sql:field="DataSourceName"/> <xsd:element name="DataSourceDescription" type="xsd:string" sql:field="DataSourceDescription"/> <xsd:element name="URL" type="xsd:string" sql:field="URL"/> <xsd:element name="DataSourceInfo" type="xsd:string" sql:field="DataSourceInfo"/> <xsd:element name="ProviderName" type="xsd:string" sql:field="ProviderName"/> <xsd:element name="ProviderType" sql:field="ProviderType"> <xsd:complexType> <xsd:sequence maxOccurs="unbounded" minOccurs="0"> <xsd:any processContents="lax" maxOccurs="unbounded"/></xsd:sequence></xsd:complexType></xsd:element> <xsd:element name="AuthenticationMode" sql:type="xsd:string" sql:field="AuthenticationMode"/></xsd:choice></xsd:complexType></xsd:schema> <row> <DataSourceName>Local Analysis Server</DataSourceName> <DataSourceDescription>Microsoft Analysis Server 2000 on local machine</DataSourceDescription> <URL>http://localhost/xmla/msxisapi.dll</URL> <DataSourceInfo>Provider=MSOLAP;Data Source=local</DataSourceInfo> <ProviderName>Microsoft XML for Analysis</ProviderName> <ProviderType><TDP/><MDP/><DMP/></ProviderType> <AuthenticationMode>Unauthenticated</AuthenticationMode></row></root></retur n></m:DiscoverResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> ----- Original Message ----- From: "Weicheng Peng" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 5:12 PM Subject: Re: Unanswered questions > Can you give me the url of this service , and paste the output of that > service ? > > Weicheng > > ----- Original Message ----- > From: "Sloan Seaman" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, February 13, 2003 1:17 PM > Subject: Unanswered questions > > > > I've asked the following question four different ways and still no > response > > (I'm getting a ghost town feeling about this). > > > > I need to get this issue resolved in the next two days or give up on using > > Axis. > > > > Here is my issue: > > > > I am using Axis to query a service that it outside of my control. > > The quering goes fine and the service returns some XML. > > The XML is not formatted properly though. > > Axis blows up on it (child element found error). > > > > I need to find a way to manipulate the XML (i.e. fix it) so that Axis > > doesn't blow up on it. > > > > I'm guessing that I need to put my own object in a handler chain. > > > > Is this correct? > > > > I tried registering my own type map with my own deserializer but it never > > uses it. It always uses SimpleDeserializer. > > > > I emailed Rich Scheuerle (one of the axis developers) and he was going to > > help me but he has not responded in a few days. > > > > Please, I'd really like to use Axis for this project but if there is no > way > > to get to this XML before Axis blows up at least someone tell me. I'm new > > to SOAP and Axis. > > > > Thank you... > > > > -- > > Sloan > > > >
