Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Server did not recognize the value of http header soapaction

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Server did not recognize the value of http header soapaction
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: 8002
Location: Bellevue, IA

PostPosted: Thu May 02, 2013 5:16 am    Post subject:
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    Post subject: Server did not recognize the value of http header soapaction
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: 8002
Location: Bellevue, IA

PostPosted: Thu May 02, 2013 6:52 am    Post subject:
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    Post subject: Server did not recognize the value of http header soapaction
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts FTP Server and FTP.DATA vasanthz All Other Mainframe Topics 2 Wed Oct 12, 2016 11:49 pm
No new posts FTP from windows server into Mainfram... sathyajes All Other Mainframe Topics 24 Wed Jul 20, 2016 1:33 pm
No new posts How to perform Digest Access Authenti... vasanthz All Other Mainframe Topics 0 Tue Mar 15, 2016 4:47 pm
No new posts Any Mobile Apps use Mainframe Server? jobseeker All Other Mainframe Topics 2 Wed Feb 24, 2016 3:58 pm
No new posts Remove header only knobi SYNCSORT 5 Mon Feb 15, 2016 10:42 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us