Hussain, Most of the time there is a namespace problem when the result of the web service does not show up in the response data structure. Please check that like this: 1) Locate an element which has a value in the debug log. 2) Search the operation module (Based on WS_OPER) for the statement where the UnMarshaller copies the element to the data structure. In SEU type: F ''anyType' Please notice the two preceding single quotes! select; when (g_isAXIS_2095 and name = 'CityStateToZipCodeResult' and namespace = 'http://www.ripedev.com/') or (not g_isAXIS_2095 and name = 'anyType' and namespace = 'http://www.ripedev.com/'); if (not Value_isNil(attrs)); UnMarshaller_setFieldIdentifier(name: path: x); UnMarshaller_toStringV6( %addr(currentItem) : %addr(currentItem: *DATA) : %size(currentItem) : itemValue.pData : itemValue.size); endif; Add a breakpoint to the 'when' statement and when the name of the element matches the exected value, compare the namespace value with the generated namespace literal. If they do not mtach, send the wsdl file along with the debug log to me. The next update of WSDL2RPG (coming this weekend) generates a new *_Redirectresponse_toStmf() procedure. With that procedure you can save the response to a stream file for later use like this: // Redirect response to stream file if (stmf <> ''); ZipCodeSoap_RedirectResponse_toStmf(stmf: REPLACE_YES); endif; // Set the paramater values of the request message // of the web service. // assign values here parameters.City = 'Boston'; parameters.State = 'MA'; // Now let's call the web service. CityStateToZipCodeResponse = ZipCodeSoap_CityStateToZipCode( parameters: errText); See the attached sample that has been slightly patched to compile for WSDL2RPG v1.15.1. (Added WSDL_AUTH_NTLM to member ZIPCODE). Thomas. ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx schrieb am 27.09.2012 20:03:39: > Von: hsn752@xxxxxxxxx > An: ftpapi@xxxxxxxxxxxxxxxxxxxxxx, > Datum: 28.09.2012 05:01 > Betreff: Unable to Get the WSDL2RPG Values. > Gesendet von: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx > > Hello, > > I have generte the stubs using WSDL2RPG V1.5 and its test program. All the > program and Service program run fine. But When i try to fetch the Data > Value from the DS its shows me Blank even in the Debug log the Response is > coming with the proper values. > > Can any body suggest the possible solution. Also i need to know Can i > directly write the Response to some Data file which i receive from the WEB > SERVICE. > > Urgent Help needed. > > *Thanks & Regards* > > *Hussain Nooruddin* > > *hussain@xxxxxxxxxxxxxx* <hussain@xxxxxxxxxxxxxx>** > > *+1.630.225.0510 Ext : 420* > ----------------------------------------------------------------------- > This is the FTPAPI mailing list. To unsubscribe, please go to: > [1]http://www.scottklement.com/mailman/listinfo/ftpapi > ----------------------------------------------------------------------- -- IMPORTANT NOTICE: This email is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and email confirmation to the sender. References 1. http://www.scottklement.com/mailman/listinfo/ftpapi
Attachment:
SaveResponseToStmf_Sample.zip
Description: Zip archive
----------------------------------------------------------------------- This is the FTPAPI mailing list. To unsubscribe, please go to: http://www.scottklement.com/mailman/listinfo/ftpapi -----------------------------------------------------------------------