You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Wetsig, Brian" <bw...@pesolutions.com> on 2000/10/12 21:02:10 UTC

apache_listener.asp question

I've been testing along with the apache_listener.asp, and for some reason
I'm not getting my parameter passed back to my java client code -which is a
BSTR in param in my com component, it appears it's not even making it to my
SDL Wizard generated .asp file.  
Has anyone got this working correctly?
my greeting response is this:
<GreetingResponse>
 			<return xsi:type="xsd:string">The time is
11:44;38</return>
 		</GreetingResponse>
--But , it should be:
<return xsi:type="xsd:string">The time is 11:44;38 Brian</return>

Here is the TcpTunnelGui output I'm getting:

This is from my java Client request:

POST /newone/Auto.asp HTTP/1.0
Host: bwetsig:4040
Content-Type: text/xml
Content-Length: 408
SOAPAction: ""
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">

<SOAP-ENV:Body>

<ns1:Greeting xmlns:ns1="urn:AUTOMATIONLib"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<Brian xsi:type="xsd:string">Brian</Brian>
</ns1:Greeting>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

GET /newone/Auto.xml HTTP/1.0
User-Agent: MSDNWS
Host: bwetsig:4040  

Here is the Server output:

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Thu, 12 Oct 2000 18:44:37 GMT
Content-Type: text/xml
Accept-Ranges: bytes
Last-Modified: Tue, 10 Oct 2000 20:13:14 GMT
ETag: "069ef84f632c01:952"
Content-Length: 1367

<?xml version='1.0' ?>
<!-- Generated 10/10/2000 1:13:13 PM by Microsoft SOAP Toolkit Wizard,
Version 205.0.3 -->
<serviceDescription name='AUTOMATIONLib'
      xmlns='urn:schemas-xmlsoap-org:sdl.2000-01-25' 
      xmlns:dt='http://www.w3.org/1999/XMLSchema'
      xmlns:Auto='Auto'  >
 <import namespace='Auto' location='#Auto'/>
      <soap xmlns='urn:schemas-xmlsoap-org:soap-sdl-2000-01-25'>
         <interface name='Auto'>
             <requestResponse name='Greeting'>
                 <request ref='Auto:Greeting'/>
                 <response ref='Auto:GreetingResponse'/>
                 <parameterorder>bstrName</parameterorder>
             </requestResponse>
         </interface>
         <service>
             <addresses>
                 <address uri='http://bwetsig/newone/Auto.asp'/>
             </addresses>
             <implements name='Auto'/>
         </service>
     </soap>
       <Auto:schema id='Auto' targetNamespace='Auto'
xmlns='http://www.w3.org/1999/XMLSchema'>
         <element name='Greeting'>
             <type>
                 <element name='bstrName' type='dt:string'/>
             </type>
         </element>
         <element name='GreetingResponse'>
             <type>
                 <element name='return' type='dt:string'/>
             </type>
         </element>
     </Auto:schema>
  </serviceDescription>


 HTTP/1.1 200 OK
 Server: Microsoft-IIS/5.0
 Date: Thu, 12 Oct 2000 18:44:37 GMT
 Connection: Keep-Alive
 Content-Length: 413
 Content-Type: text/xml; charset="utf-8"
 Expires: Thu, 12 Oct 2000 18:44:37 GMT
 Set-Cookie: ASPSESSIONIDGGQGQMFK=HNIJBEHCINBLDBEMFOJEKAAP; path=/
 Cache-control: private
  <?xml version="1.0"?>
 <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" 
SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
 xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
 xmlns:xsd="http://www.w3.org/1999/XMLSchema">
 	<SOAP:Body>
 		<GreetingResponse>
 			<return xsi:type="xsd:string">The time is
11:44;38</return>
 		</GreetingResponse>
 	</SOAP:Body>
 </SOAP:Envelope>