RE: XML from CICS IESSOAPE

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: RE: XML from CICS IESSOAPE
From: Jon Morgan (jmorgan@clarkpud.com)
Date: Thu Aug 21 2008 - 16:23:08 EDT


Thanks Ingo, I appreciate your help.

Your suggestion did simplify somewhat the way the parameter RIOORDNbr
was coded in the XML.  But the value 304152 still did not get to the
application behind the web service.

Here is the request when RIOOrdNbr is defined as "unspecified";

C2 0118 IESSOAPC ----- XML Buffer Display
13:00:29
C2 0118 <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:env="h

C2 0118 ttp://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.

C2 0118 w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/200

C2 0118 1/XMLSchema"><env:Body><ns1:ReqPrint xmlns:ns1="http://tempuri.o

C2 0118 rg/" env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding

C2 0118 /"><RIOOrdNbr xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan

C2 0118 ce">304152</RIOOrdNbr></ns1:ReqPrint></env:Body></env:Envelope>

C2 0118 IESSOAPC ----- End XML Buffer Display
13:00:29

If I could just eliminate the
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   then it would be
very similar to the sample request below given by the wsdl, and to the
VB generated XML that consumes the webservice successfully.

SOAP 1.1
The following is a sample SOAP 1.1 request. The placeholders shown need
to be replaced with actual values.

POST /RPRQ/RPRQ.asmx HTTP/1.1
Host: d08a045
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ReqPrint"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ReqPrint xmlns="http://tempuri.org/">
      <RIOOrdNbr>string</RIOOrdNbr>
    </ReqPrint>
  </soap:Body>
</soap:Envelope>


Jon Morgan
Clark Public Utilities


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Fri Aug 29 2008 - 00:50:14 EDT