Skip
repetitive navigational links
L-Soft  -  Home of  the  LISTSERV  mailing list  manager LISTSERV(R) 14.5
Skip repetitive navigational links
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 2001)Back to main ZNG pageJoin or leave ZNGReplyPost a new messageSearchProportional fontNon-proportional fontLog in
Date:         Mon, 19 Nov 2001 07:37:31 -0500
Reply-To:     "Z39.50 Next-Generation Initiative" <[log in to unmask]>
Sender:       "Z39.50 Next-Generation Initiative" <[log in to unmask]>
From:         "LeVan,Ralph" <[log in to unmask]>
Subject:      Re: No response from your server
Comments: To: "[log in to unmask]" <[log in to unmask]>
Comments: cc: "Z39. 50 Next-Generation Initiative (E-mail)" <[log in to unmask]>
Content-Type: text/plain; charset="iso-8859-1"

So, if I read this correctly, you have defined your searchRetrieve method as returning an object of type searchRetrieveResponse. I defined by searchRetrieve method as returning a string. I suspect that your response is correct as far as the WSDL is concerned. But, I believe the WSDL is in error as far as the extensibility claims for our prototype are concerned. If we are to return a well-known structured object, then there is no extensibility mechanism. There is no point in have a responseSchema in the request if the object that we are returning cannot carry the data required for the response. The only way we can vary our response with the responseSchema is if we return a simple string and embed an XML document in the string. Isn't that correct? Ralph > -----Original Message----- > From: [log in to unmask] [mailto:[log in to unmask]] > Sent: Sunday, November 18, 2001 11:06 PM > To: LeVan,Ralph > Subject: Re: No response from your server > > > On Tue, Nov 06, 2001 at 08:05:50AM -0500, LeVan,Ralph wrote: > > Some progress. Now I get this error: > > > > SOAPException=[SOAPException: faultCode=SOAP-ENV:Client; > msg=No Deserializer > > found to deserialize a > 'urn:z3950:ZNG_Prototype1:searchRetrieveResponse' > > using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.; > > targetException=java.lang.IllegalArgumentException: No > Deserializer found to > > deserialize a > 'urn:z3950:ZNG_Prototype1:searchRetrieveResponse' using > > encoding style 'http://schemas.xmlsoap.org/soap/encoding/.] > > > > I defined my server as returning a String and put the XML > document in it. > > It looks like you are returning an object of type > searchRetrieveResponse. > > > > Got a guess as to which one is right? If it's you, then > what do I have to > > do to get the message deserialized? > > > > Ralph > > I just came across this old email. It looks like my recent mail is > actually something we started talking about previously. > > Here is a working search/retreive conversation between my client and > server. This does not mean its correct. It just means its consistent > with itself. > > HTTP REQUEST: > > POST /z3950.simdb.com/Marc HTTP/1.1 > SOAPAction: "" > Content-Type: text/xml; charset=UTF-8 > Content-Length: 707 > User-Agent: SIM Soap Client 0.01 > Host: z3950.simdb.com:6745 > > <?xml version="1.0"?> > <SOAP-ENV:Envelope > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encodi > ng/" > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:ns0="http://www.w3.org/1999/XMLSchema" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <SOAP-ENV:Body> > <m:searchRetrieve xmlns:m="urn:z3950:ZNG_Prototype1"><query > xsi:type="ns0:string">title=smith</query><startRecord > xsi:type="ns0:int">1</startRecord><maximumRecords > xsi:type="ns0:int">1</maximumRecords><responseSchema > xsi:nil="true"/><recordSchema > xsi:nil="true"/></m:searchRetrieve></SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > > HTTP RESPONSE: > > HTTP/1.1 200 > Accept-Ranges: bytes > Content-Length: 1593 > Content-Type: text/xml > Date: Mon, 19 Nov 2001 04:04:38 GMT > Server: simwebs/3.1.9 > > <?xml version="1.0"?> > <SOAP-ENV:Envelope > SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > > xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:ns0="http://www.w3.org/1999/XMLSchema" > xmlns:ns1="urn:z3950:ZNG_Prototype1" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <SOAP-ENV:Body> > <m:searchRetrieveResponse > xmlns:m="urn:z3950:ZNG_Prototype1"><return > xsi:type="ns1:searchRetrieveResponse"><resultSetReference > xsi:type="ns1:resultSetReference"><resultSetName > xsi:type="xsd:string">default</resultSetName><resultSetTTL > xsi:type="xsd:duration">P0DT00H05M00S</resultSetTTL></resultSe > tReference><totalHits > xsi:type="xsd:int">1</totalHits><records > xsi:type="SOAP-ENC:Array" > SOAP-ENC:arrayType="ns1:record[1]"><record > xsi:type="ns1:record"><schema > xsi:type="xsd:string">SUTRS</schema><recordData > xsi:type="xsd:string">MARC: > > 041 0 a eng > 100 1 a Bierce, Ambrose > d 1842-1914? > 245 00 a Can such things be > 260 b Johnathan Cape and Harrison Smith > c 1909 > 440 a Internet Wiretap Edition > 856 s 339k > u > gopher://wiretap.spies.com:70/00/Library/Classic/cansuch.txt > 956 b 1909 > 958 a Crowley, Rebecca > b [log in to unmask] > 959 a Fiction > </recordData></record></records><status > xsi:type="ns1:status"><statusCode > xsi:type="xsd:int">0</statusCode><diagnostic xsi:nil="true" > xsi:null="1"/></status></return></m:searchRetrieveResponse> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> >


Back to: Top of message | Previous page | Main ZNG page

LISTSERV.LOC.GOV CataList email list search Powered by LISTSERV email list manager