[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"><?xml
version="1.0"?><REPORT> <PICTURE>
<!-- <image url="file:///C:/test/logos/fnbcolour.jpg"
plainwidth="120.0" plainheight="65.0"
align="Right"/> --> </PICTURE>
<newline/> <DATE>2 January 2007</DATE>
<newline/> <NORMAL>Pastor T EL
Staraxxx</NORMAL> <NORMAL>Po Box 112313</NORMAL>
<NORMAL>Faerie Glen</NORMAL>
<NORMAL>0043</NORMAL> <newline/>
<NORMAL>Dear Pastor T E L Strahleh</NORMAL>
<newline/> <CAREER_PAR1/> <newline/>
<CAREER_PAR2/> <newline/> <CAREER_PAR3/>
<newline/> <newline/> <heading>Facility
Details</heading> <newline/> <newline/>
<FACILITY_DETAILS_TABLE> <REPORT_ROW>
<REPORT_CELL>
<REPORT_HEADER_FONT>Sponsor</REPORT_HEADER_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_HEADER_FONT></REPORT_HEADER_FONT>
</REPORT_CELL> </REPORT_ROW> <REPORT_ROW>
<REPORT_CELL> <REPORT_COLUMN_FONT>Nominated
Child</REPORT_COLUMN_FONT> </REPORT_CELL>
<REPORT_CELL>
<REPORT_COLUMN_FONT>7000000000000</REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW>
<REPORT_ROW> <REPORT_CELL>
<REPORT_COLUMN_FONT>Start date</REPORT_COLUMN_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_COLUMN_FONT>7000000000000</REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW>
<REPORT_ROW> <REPORT_CELL>
<REPORT_COLUMN_FONT>Target date</REPORT_COLUMN_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_COLUMN_FONT>7000000000000</REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW>
<REPORT_ROW> <REPORT_CELL>
<REPORT_COLUMN_FONT>Savings Protection
Benefit</REPORT_COLUMN_FONT> </REPORT_CELL>
<REPORT_CELL>
<REPORT_COLUMN_FONT>7000000000000</REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW>
<REPORT_ROW> <REPORT_CELL>
<REPORT_COLUMN_FONT>Automatic contribution increases per
annum</REPORT_COLUMN_FONT> </REPORT_CELL>
<REPORT_CELL>
<REPORT_COLUMN_FONT>7000000000000</REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW>
</FACILITY_DETAILS_TABLE> <newpage/>
<newline/> <heading>Personal Details</heading>
<newline/> <PERSONAL_DETAILS_TABLE>
<REPORT_ROW> <REPORT_CELL>
<REPORT_HEADER_FONT></REPORT_HEADER_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_HEADER_FONT>Sponsor</REPORT_HEADER_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_HEADER_FONT>Nominated Child</REPORT_HEADER_FONT>
</REPORT_CELL> </REPORT_ROW>
<REPORT_ROW> <REPORT_CELL>
<REPORT_COLUMN_FONT>Full name and
title</REPORT_COLUMN_FONT> </REPORT_CELL>
<REPORT_CELL>
<REPORT_COLUMN_FONT>xxxxx</REPORT_COLUMN_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_COLUMN_FONT>xxxxx</REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW> <REPORT_ROW>
<REPORT_CELL> <REPORT_COLUMN_FONT>ID
number</REPORT_COLUMN_FONT> </REPORT_CELL>
<REPORT_CELL>
<REPORT_COLUMN_FONT>7000000000000</REPORT_COLUMN_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_COLUMN_FONT>7000000000000</REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW>
<REPORT_ROW> <REPORT_CELL>
<REPORT_COLUMN_FONT>Date of birth</REPORT_COLUMN_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_COLUMN_FONT>18 May</REPORT_COLUMN_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_COLUMN_FONT>19 Feb</REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW> <REPORT_ROW>
<REPORT_CELL> <REPORT_COLUMN_FONT>Postal
address</REPORT_COLUMN_FONT> </REPORT_CELL>
<REPORT_CELL> <REPORT_COLUMN_FONT>Po Box
929239</REPORT_COLUMN_FONT> </REPORT_CELL>
<REPORT_CELL>
<REPORT_COLUMN_FONT></REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW> <REPORT_ROW>
<REPORT_CELL>
<REPORT_COLUMN_FONT></REPORT_COLUMN_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_COLUMN_FONT>Faerie Glen</REPORT_COLUMN_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_COLUMN_FONT></REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW>
</PERSONAL_DETAILS_TABLE> <newline/>
<heading>Contributor's Details</heading>
<newline/> <CONTRIBUTOR_DETAILS_TABLE>
<REPORT_ROW> <REPORT_CELL>
<REPORT_HEADER_FONT>Sponsor</REPORT_HEADER_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_HEADER_FONT></REPORT_HEADER_FONT>
</REPORT_CELL> </REPORT_ROW> <REPORT_ROW>
<REPORT_CELL> <REPORT_COLUMN_FONT>Name and
title</REPORT_COLUMN_FONT> </REPORT_CELL>
<REPORT_CELL> <REPORT_COLUMN_FONT>Pastor Tracey
Elizabeth Loiusa Strahlendorf</REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW>
<REPORT_ROW> <REPORT_CELL>
<REPORT_COLUMN_FONT>ID Number</REPORT_COLUMN_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_COLUMN_FONT>690908i28438949</REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW>
<REPORT_ROW> <REPORT_CELL>
<REPORT_COLUMN_FONT>Bank</REPORT_COLUMN_FONT>
</REPORT_CELL> <REPORT_CELL>
<REPORT_COLUMN_FONT>Fnb - South
Africa</REPORT_COLUMN_FONT> </REPORT_CELL>
</REPORT_ROW> <REPORT_ROW> <REPORT_CELL>
<REPORT_COLUMN_FONT>Branch
number</REPORT_COLUMN_FONT> </REPORT_CELL>
<REPORT_CELL>
<REPORT_COLUMN_FONT>6282384839</REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW> <REPORT_ROW>
<REPORT_CELL> <REPORT_COLUMN_FONT>Account
number</REPORT_COLUMN_FONT> </REPORT_CELL>
<REPORT_CELL>
<REPORT_COLUMN_FONT>23442423</REPORT_COLUMN_FONT>
</REPORT_CELL> </REPORT_ROW>
</CONTRIBUTOR_DETAILS_TABLE> <newline/>
<paragraph>Yours sincerely</paragraph>
<!--<PICTURE> <image
url="file:///C:/test/logos/Zureida Signature.jpg"
plainwidth="120.0" plainheight="65.0"
align="Right"/> </PICTURE> -->
<paragraph>Zureida Ebrahim</paragraph>
<paragraph>Head: Operations</paragraph>
</REPORT></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
-----------------------------------------------------------------------