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

RE: LIBHTTP Building the soap message problem



Steve,

Not sure if it matters...but the URIs that appear various places don't seem quite right -- don't match exactly, are "funky".

Please send the WSDL and the debug log file for the non-working example.

Mike

> 
> 
> SOAPUI  information.  second program
> 
> 
> 
> 
> operation
> 
> 
> 
> 
> 
> getVersion
> 
> Literal
> 
> false
> 
> oucMobileData_processJob_webServices_v1_jobService_Binder_getVersion
> 
> 
> 
> POST
> https://eistst:5541/ws/jcpMobileData.processJob.webServices.v1:jobServi
> ce
> HTTP/1.1
> 
> Accept-Encoding: gzip,deflate
> 
> Content-Type: text/xml;charset=UTF-8
> 
> SOAPAction:
> "jcpMobileData_processJob_webServices_v1_jobService_Binder_getVersion"
> 
> User-Agent: Jakarta Commons-HttpClient/3.1
> 
> Host: eistst:5541
> 
> Content-Length: 256
> 
> 
> 
> <soapenv:Envelope
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";
> xmlns:job="http://jcp.com/oucMobileData/processJob/webServices/v1/jobSe
> rvice
> ">
> 
>    <soapenv:Header/>
> 
>    <soapenv:Body>
> 
>       <job:getVersion/>
> 
>    </soapenv:Body>
> 
> </soapenv:Envelope>
> 
> 
> 
> RPG Code.second program   DOES NOT WORK    Results in RC=-1
> 
> 
> 
> 45.00    SOAP = '<soapenv:Envelope'+
> 
> 
> 46.00         '
> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope";' +
> 
> 
> 47.00         ' xmlns:job="http://jcp.com/jcpMobileData/processJob/' +
> 
> 
> 48.00         'v1/jobService"' +
> 
> 
> 49.00       '<soapenv:Body>' +
> 
> 
> 50.00        '<job:GetVersion/>' +
> 
> 
> 51.00       '</soapenv:Body>'+
> 
> 
> 52.00       '</soapenv:Envelope>';
> 
> 
> 53.00
> 
> 
> 54.00    http_debug(*ON);
> 
> 
> 55.00
> 
> 
> 56.00    urlp ='https://eistst:4451/ws/jcpMobileData.processJob' +
> 
> 
> 57.00          'webServices.v1:jobService' ;
> 
> 
> 58.00    urlps='jcpMobileData_processJob_webServices_v1_' +
> 
> 
> 59.00          'jobService_Binder_getVersion' ;
> 
> 
> 60.00
> 
> 
> 61.00    rc = http_url_post_xml(
> 
> 
> 62.00                  urlp
> 
> 
> 63.00                  : %addr(SOAP) + 2
> 
> 
> 64.00                  : %len(SOAP)
> 
> 65.00                  : *NULL
> 
> 66.00                  : %paddr(Incoming)
> 
> 67.00                  : %addr(City)
> 
> 68.00                  : HTTP_TIMEOUT
> 
> 69.00                  : HTTP_USERAGENT
> 
> 70.00                  : 'text/xml; charset=UTF-8'
> 
> 71.00                  : urlps);
> 
> 72.00    If (rc<>1);
> 
> 
> 
> 

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------