View previous topic :: View next topic
|
Author |
Message |
Ramasubramanian K
New User
Joined: 28 Apr 2013 Posts: 3 Location: United States
|
|
|
|
Hi
I am working on a web service requester program in COBOL-CICS which is failing with "INVREQ ".
Resp = 16
Resp2 = 06
Below is the error message from the log
"Server did not recognize the value of http header soapaction: http://address/Operation/Service"
XML message send from the program:
<tbl><col1>1</col1></tbl>
Command that invokes the webservice in the program:
Exec cics invoke webservice(ws-webservice)
Operation(Ws-operation)
channel(ws-channel)
resp1(ws-resp1)
resp2(ws-resp2)
end-exec
I have reviewed manuals and searched in google but without any help.
Thanks in advance !!! |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
There is a link to IBM Manuals at the top of this page. I clicked on it, opened the CICS Application Programming Reference manual, found the INVOKE WEBSERVICE API command, and discovered RESP2 is described:
Quote: |
6
The invoked WEBSERVICE returned a SOAP fault. The description of the fault is available in its XML format in the container DFHWS-BODY. |
So did you look at DFHWS-BODY? |
|
Back to top |
|
|
Ramasubramanian K
New User
Joined: 28 Apr 2013 Posts: 3 Location: United States
|
|
|
|
Thanks for the reply..
Yes i did look at the DFHWS-BODY and from there only i took the soap fault message that said
"Server did not recognize the value of http header soapaction: http://address/Operation/Service"
Couldn't find a way to resolve this issue |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I Googled Server did not recognize the value of http header soapaction and got over 13,000 hits, so I'm not sure why you have such trouble finding information about this error.
If your site has never used SOAP before, you need to work with your site support group to get everything defined correctly and tested; if your site has other SOAP applications then you are doing something wrong in your code and you need to review the other applications to see where your code is different from the ones that work. |
|
Back to top |
|
|
Ramasubramanian K
New User
Joined: 28 Apr 2013 Posts: 3 Location: United States
|
|
|
|
yeah. you are right.. there are lot of information available for this error but they are calling the webservice from different applications like java, dotnet and others. There isnt much info available when this error occurs while calling the service from COBOL-CICS program. I tried few of the suggestions from few sites (fetched from google) but they didnt work out.
Even i tried using CCSID=1145 which helps the webservice in reading the XML content while sending through CICS, but unfortunately the pipeline version of our system doesnt support any other version other than 1.0, hence i couldnt use CCSID=1145.
Also i tried calling the webservice using SoapUI with the same WSDL file, it works perfectly. But it fails while calling from COBOL-CICS program.
Thanks |
|
Back to top |
|
|
|