[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Please help, I have used the HTTPAPI to call a web service from RPG
it works perfectly for the Translate webservice.

I have created my own webservice in in java and it works perfecly if i
call it using a client. Here are the results below:

My Question is I want to formulate a soap statement in RPG and I am
battling. I have used the request shown below and it does not work.

The error message I get is The prefix "soap" for element
"soap:Enevelop" is not bound

Please please help
Regards


-----------------------------<<<  REQUEST
>>----------------------------------------------

Using TCPMON here is my request:
POST /AspireAxisWEB/services/FacilityDocumentationGeneratorSBService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.3
Host: 127.0.0.1:8080
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Content-Length: 10399

<?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:generateFacilityDocumentationUsingDoc
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="http://documentation.facility.aspire.com";><facilityDoc
href="#id0"/></ns1:generateFacilityDocumentationUsingDoc><multiRef
id="id0" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xsi:type="ns2:FacilityDoc"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns2="http://model.documentation.aspire.com";><addressLine1
xsi:type="soapenc:string" xsi:nil="true"/><addressLine2
xsi:type="soapenc:string" xsi:nil="true"/><addressLine3
xsi:type="soapenc:string" xsi:nil="true"/><addressLine4
xsi:type="soapenc:string" xsi:nil="true"/><awdBrokerCode
xsi:type="soapenc:string">F3048476</awdBrokerCode><awdIDNumber
xsi:type="soapenc:string">7505125083080</awdIDNumber><awdSourceType
xsi:type="soapenc:string">ASPSOB</awdSourceType><communicationMode
href="#id1"/><emailAddress
xsi:type="soapenc:string">ntobeko.ngcobo@xxxxxxxxxxxxxxxxxxxx</emailAddress><envelopeName
xsi:type="soapenc:string" xsi:nil="true"/><faxNumber
xsi:type="soapenc:string" xsi:nil="true"/><fileName
xsi:type="soapenc:string" xsi:nil="true"/><message
xsi:type="soapenc:string">New Career SOB</message><nodeDescriptor
xsi:type="soapenc:string">aspire/templates/sob/careersob</nodeDescriptor><policyNumber
xsi:type="soapenc:string">AL209387378</policyNumber><policyNumnber
xsi:type="soapenc:string" xsi:nil="true"/><postalCode
xsi:type="soapenc:string" xsi:nil="true"/><property
xsi:type="soapenc:string">xml</property><subject
xsi:type="soapenc:string">New Career SOB</subject><templateFilename
xsi:type="soapenc:string" xsi:nil="true"/><xmlData
xsi:type="soapenc:string">&lt;?xml
version=&quot;1.0&quot;?&gt;&lt;REPORT&gt;     &lt;PICTURE&gt;
&lt;!-- &lt;image url=&quot;file:///C:/test/logos/fnbcolour.jpg&quot;
 plainwidth=&quot;120.0&quot; plainheight=&quot;65.0&quot;
align=&quot;Right&quot;/&gt; --&gt;    &lt;/PICTURE&gt;
&lt;newline/&gt;    &lt;DATE&gt;2 January 2007&lt;/DATE&gt;
&lt;newline/&gt;        &lt;NORMAL&gt;Pastor T EL
Staraxxx&lt;/NORMAL&gt;    &lt;NORMAL&gt;Po Box 112313&lt;/NORMAL&gt;
 &lt;NORMAL&gt;Faerie Glen&lt;/NORMAL&gt;
&lt;NORMAL&gt;0043&lt;/NORMAL&gt;        &lt;newline/&gt;
&lt;NORMAL&gt;Dear Pastor T E L Strahleh&lt;/NORMAL&gt;
&lt;newline/&gt;    &lt;CAREER_PAR1/&gt;    &lt;newline/&gt;
&lt;CAREER_PAR2/&gt;    &lt;newline/&gt;    &lt;CAREER_PAR3/&gt;
&lt;newline/&gt;        &lt;newline/&gt;    &lt;heading&gt;Facility
Details&lt;/heading&gt;    &lt;newline/&gt;    &lt;newline/&gt;
&lt;FACILITY_DETAILS_TABLE&gt;      &lt;REPORT_ROW&gt;
&lt;REPORT_CELL&gt;
&lt;REPORT_HEADER_FONT&gt;Sponsor&lt;/REPORT_HEADER_FONT&gt;
&lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_HEADER_FONT&gt;&lt;/REPORT_HEADER_FONT&gt;
&lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;      &lt;REPORT_ROW&gt;
    &lt;REPORT_CELL&gt;          &lt;REPORT_COLUMN_FONT&gt;Nominated
Child&lt;/REPORT_COLUMN_FONT&gt;        &lt;/REPORT_CELL&gt;
&lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;7000000000000&lt;/REPORT_COLUMN_FONT&gt;
 &lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;
&lt;REPORT_ROW&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;Start date&lt;/REPORT_COLUMN_FONT&gt;
&lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;7000000000000&lt;/REPORT_COLUMN_FONT&gt;
 &lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;
&lt;REPORT_ROW&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;Target date&lt;/REPORT_COLUMN_FONT&gt;
 &lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;7000000000000&lt;/REPORT_COLUMN_FONT&gt;
 &lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;
&lt;REPORT_ROW&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;Savings Protection
Benefit&lt;/REPORT_COLUMN_FONT&gt;        &lt;/REPORT_CELL&gt;
&lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;7000000000000&lt;/REPORT_COLUMN_FONT&gt;
 &lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;
&lt;REPORT_ROW&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;Automatic contribution increases per
 annum&lt;/REPORT_COLUMN_FONT&gt;        &lt;/REPORT_CELL&gt;
&lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;7000000000000&lt;/REPORT_COLUMN_FONT&gt;
 &lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;
&lt;/FACILITY_DETAILS_TABLE&gt;    &lt;newpage/&gt;
&lt;newline/&gt;    &lt;heading&gt;Personal Details&lt;/heading&gt;
&lt;newline/&gt;        &lt;PERSONAL_DETAILS_TABLE&gt;
&lt;REPORT_ROW&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_HEADER_FONT&gt;&lt;/REPORT_HEADER_FONT&gt;
&lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_HEADER_FONT&gt;Sponsor&lt;/REPORT_HEADER_FONT&gt;
&lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_HEADER_FONT&gt;Nominated Child&lt;/REPORT_HEADER_FONT&gt;
   &lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;
&lt;REPORT_ROW&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;Full name and
title&lt;/REPORT_COLUMN_FONT&gt;        &lt;/REPORT_CELL&gt;
&lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;xxxxx&lt;/REPORT_COLUMN_FONT&gt;
&lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;xxxxx&lt;/REPORT_COLUMN_FONT&gt;
&lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;      &lt;REPORT_ROW&gt;
    &lt;REPORT_CELL&gt;          &lt;REPORT_COLUMN_FONT&gt;ID
number&lt;/REPORT_COLUMN_FONT&gt;        &lt;/REPORT_CELL&gt;
&lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;7000000000000&lt;/REPORT_COLUMN_FONT&gt;
 &lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;7000000000000&lt;/REPORT_COLUMN_FONT&gt;
 &lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;
&lt;REPORT_ROW&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;Date of birth&lt;/REPORT_COLUMN_FONT&gt;
 &lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;18 May&lt;/REPORT_COLUMN_FONT&gt;
&lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;19 Feb&lt;/REPORT_COLUMN_FONT&gt;
&lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;      &lt;REPORT_ROW&gt;
    &lt;REPORT_CELL&gt;          &lt;REPORT_COLUMN_FONT&gt;Postal
address&lt;/REPORT_COLUMN_FONT&gt;        &lt;/REPORT_CELL&gt;
&lt;REPORT_CELL&gt;          &lt;REPORT_COLUMN_FONT&gt;Po Box
929239&lt;/REPORT_COLUMN_FONT&gt;        &lt;/REPORT_CELL&gt;
&lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;&lt;/REPORT_COLUMN_FONT&gt;
&lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;      &lt;REPORT_ROW&gt;
    &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;&lt;/REPORT_COLUMN_FONT&gt;
&lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;Faerie Glen&lt;/REPORT_COLUMN_FONT&gt;
 &lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;&lt;/REPORT_COLUMN_FONT&gt;
&lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;
&lt;/PERSONAL_DETAILS_TABLE&gt;        &lt;newline/&gt;
&lt;heading&gt;Contributor's Details&lt;/heading&gt;
&lt;newline/&gt;        &lt;CONTRIBUTOR_DETAILS_TABLE&gt;
&lt;REPORT_ROW&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_HEADER_FONT&gt;Sponsor&lt;/REPORT_HEADER_FONT&gt;
&lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_HEADER_FONT&gt;&lt;/REPORT_HEADER_FONT&gt;
&lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;      &lt;REPORT_ROW&gt;
    &lt;REPORT_CELL&gt;          &lt;REPORT_COLUMN_FONT&gt;Name and
title&lt;/REPORT_COLUMN_FONT&gt;        &lt;/REPORT_CELL&gt;
&lt;REPORT_CELL&gt;          &lt;REPORT_COLUMN_FONT&gt;Pastor Tracey
Elizabeth Loiusa          Strahlendorf&lt;/REPORT_COLUMN_FONT&gt;
 &lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;
&lt;REPORT_ROW&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;ID Number&lt;/REPORT_COLUMN_FONT&gt;
&lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;690908i28438949&lt;/REPORT_COLUMN_FONT&gt;
   &lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;
&lt;REPORT_ROW&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;Bank&lt;/REPORT_COLUMN_FONT&gt;
&lt;/REPORT_CELL&gt;        &lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;Fnb - South
Africa&lt;/REPORT_COLUMN_FONT&gt;        &lt;/REPORT_CELL&gt;
&lt;/REPORT_ROW&gt;      &lt;REPORT_ROW&gt;        &lt;REPORT_CELL&gt;
       &lt;REPORT_COLUMN_FONT&gt;Branch
number&lt;/REPORT_COLUMN_FONT&gt;        &lt;/REPORT_CELL&gt;
&lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;6282384839&lt;/REPORT_COLUMN_FONT&gt;
&lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;      &lt;REPORT_ROW&gt;
    &lt;REPORT_CELL&gt;          &lt;REPORT_COLUMN_FONT&gt;Account
number&lt;/REPORT_COLUMN_FONT&gt;        &lt;/REPORT_CELL&gt;
&lt;REPORT_CELL&gt;
&lt;REPORT_COLUMN_FONT&gt;23442423&lt;/REPORT_COLUMN_FONT&gt;
&lt;/REPORT_CELL&gt;      &lt;/REPORT_ROW&gt;
&lt;/CONTRIBUTOR_DETAILS_TABLE&gt;        &lt;newline/&gt;
&lt;paragraph&gt;Yours sincerely&lt;/paragraph&gt;
&lt;!--&lt;PICTURE&gt;    &lt;image
url=&quot;file:///C:/test/logos/Zureida Signature.jpg&quot;
plainwidth=&quot;120.0&quot; plainheight=&quot;65.0&quot;
align=&quot;Right&quot;/&gt;    &lt;/PICTURE&gt; --&gt;
&lt;paragraph&gt;Zureida Ebrahim&lt;/paragraph&gt;
&lt;paragraph&gt;Head: Operations&lt;/paragraph&gt;
&lt;/REPORT&gt;</xmlData><xmlDataFilename xsi:type="soapenc:string"
xsi:nil="true"/><xmlTags xsi:type="soapenc:string"
xsi:nil="true"/></multiRef><multiRef id="id1" soapenc:root="0"
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xsi:type="xsd:int"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>2</multiRef></soapenv:Body></soapenv:Envelope>



----------------------------------<<<  RESPONSE
>>-----------------------------------------------

HTTP/1.0 200 OK
Content-Type: text/xml; charset=utf-8
Content-Language: en-ZA
Date: Wed, 24 Jan 2007 08:33:17 GMT

<?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:generateFacilityDocumentationUsingDocResponse
soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="http://documentation.facility.aspire.com";><generateFacilityDocumentationUsingDocReturn
xsi:type="xsd:boolean">true</generateFacilityDocumentationUsingDocReturn></ns1:generateFacilityDocumentationUsingDocResponse></soapenv:Body></soapenv:Envelope>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------