IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Server did not recognize the value of http header soapaction


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ramasubramanian K

New User


Joined: 28 Apr 2013
Posts: 3
Location: United States

PostPosted: Thu May 02, 2013 4:40 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu May 02, 2013 5:16 am
Reply with quote

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
View user's profile Send private message
Ramasubramanian K

New User


Joined: 28 Apr 2013
Posts: 3
Location: United States

PostPosted: Thu May 02, 2013 5:46 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu May 02, 2013 6:52 am
Reply with quote

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
View user's profile Send private message
Ramasubramanian K

New User


Joined: 28 Apr 2013
Posts: 3
Location: United States

PostPosted: Thu May 02, 2013 7:09 am
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Insert header record with record coun... DFSORT/ICETOOL 14
No new posts Comparing Header and Trailer. DFSORT/ICETOOL 7
No new posts Z Monitoring server fails to start IBM Tools 1
No new posts The z/OS HTTP/HTTPS protocol PL/I & Assembler 6
No new posts Adding a header when change data DFSORT/ICETOOL 6
Search our Forums:

Back to Top