× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,
I was able to generate java client for a WSDL using WDSCi. first, I
generated the web client and tested it.  And then,  I exported all
java classes  (Java Source) to i5 as a jar. an then, I called java
proxy program from RPGLE and returns result XML as i expected. I am
happy about it.


now, I want to do the same for a password protected web service.
there are 2 problems.
1. If Array is specified in WSDL, WDSc ignores the complete operation.
It generates only
  getentpoint, setendpoint and use JDNI functions, since other
functions are having arrays.
2. Request SOAP should contain Header information like

<?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:Header>
   <ApplicationAccountHeader xmlns="http://xxxx.xxxxx.com/webservices";>
     <Name>string</Name>
     <Password>string</Password>
   </ApplicationAccountHeader>
 </soap:Header>
 <soap:Body>
  :
  :
   :
     </customDataInput>
   </Charge>
 </soap:Body>
</soap:Envelope>


The Header information is completely ignored by WDSCi. not sure how
can i configure the header information.

Any help wud be really appreciated.

Sashi

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.