Jump to content

What's wrong with my SOAP call ? HELP !


Guest jjnfg

Recommended Posts

Guest jjnfg

My knowledge of SOAP/XML is very limited. I need help to find out why the SOAP call coming from my IBM Mainframe doesn't work and the one from the PC works.I have installed the trace utility from Microsoft SOAP Toolkit to trace the SOAP/HTTP calls. There are differences in the trace content but which one/ones actually is the culprit that the SOAP Server not happy with.The SOAP/HTTP call from the PC :0x00000000 50 4F 53 54 20 2F 73 6F 61 70 31 32 2F 74 65 73 POST /soap12/tes0x00000010 74 2D 72 70 63 20 48 54 54 50 2F 31 2E 31 0D 0A t-rpc HTTP/1.1..0x00000020 41 63 63 65 70 74 3A 20 2A 2F 2A 0D 0A 41 63 63 Accept: */*..Acc0x00000030 65 70 74 2D 4C 61 6E 67 75 61 67 65 3A 20 65 6E ept-Language: en0x00000040 2D 61 75 0D 0A 52 65 66 65 72 65 72 3A 20 66 69 -au..Referer: fi0x00000050 6C 65 3A 2F 2F 44 3A 5C 50 72 6F 67 72 61 6D 20 le://D:\Program 0x00000060 46 69 6C 65 73 5C 57 68 69 74 65 20 4D 65 73 61 Files\White Mesa0x00000070 20 53 6F 66 74 77 61 72 65 5C 57 68 69 74 65 20 Software\White 0x00000080 4D 65 73 61 20 53 4F 41 50 20 53 65 72 76 65 72 Mesa SOAP Server0x00000090 20 76 33 2E 32 5C 64 6F 63 72 6F 6F 74 5C 74 65 v3.2\docroot\te0x000000A0 73 74 2D 73 6F 61 70 31 32 5C 54 37 33 2D 65 63 st-soap12\T73-ec0x000000B0 68 6F 53 74 72 69 6E 67 2E 68 74 6D 0D 0A 43 6F hoString.htm..Co0x000000C0 6E 74 65 6E 74 2D 54 79 70 65 3A 20 61 70 70 6C ntent-Type: appl0x000000D0 69 63 61 74 69 6F 6E 2F 73 6F 61 70 2B 78 6D 6C ication/soap+xml0x000000E0 3B 20 63 68 61 72 73 65 74 3D 22 75 74 66 2D 38 ; charset="utf-80x000000F0 22 0D 0A 41 63 63 65 70 74 2D 45 6E 63 6F 64 69 "..Accept-Encodi0x00000100 6E 67 3A 20 67 7A 69 70 2C 20 64 65 66 6C 61 74 ng: gzip, deflat0x00000110 65 0D 0A 55 73 65 72 2D 41 67 65 6E 74 3A 20 4D e..User-Agent: M0x00000120 6F 7A 69 6C 6C 61 2F 34 2E 30 20 28 63 6F 6D 70 ozilla/4.0 (comp0x00000130 61 74 69 62 6C 65 3B 20 4D 53 49 45 20 36 2E 30 atible; MSIE 6.00x00000140 3B 20 57 69 6E 64 6F 77 73 20 4E 54 20 35 2E 31 ; Windows NT 5.10x00000150 3B 20 53 56 31 3B 20 49 6E 66 6F 50 61 74 68 2E ; SV1; InfoPath.0x00000160 31 29 0D 0A 48 6F 73 74 3A 20 6C 6F 63 61 6C 68 1)..Host: localh0x00000170 6F 73 74 3A 38 30 38 30 0D 0A 43 6F 6E 74 65 6E ost:8080..Conten0x00000180 74 2D 4C 65 6E 67 74 68 3A 20 35 38 38 0D 0A 43 t-Length: 588..C0x00000190 6F 6E 6E 65 63 74 69 6F 6E 3A 20 4B 65 65 70 2D onnection: Keep-0x000001A0 41 6C 69 76 65 0D 0A 43 61 63 68 65 2D 43 6F 6E Alive..Cache-Con0x000001B0 74 72 6F 6C 3A 20 6E 6F 2D 63 61 63 68 65 0D 0A trol: no-cache..0x000001C0 0D 0A 3C 3F 78 6D 6C 20 76 65 72 73 69 6F 6E 3D ..<?xml version=0x000001D0 22 31 2E 30 22 20 65 6E 63 6F 64 69 6E 67 3D 22 "1.0" encoding="0x000001E0 55 54 46 2D 38 22 3F 3E 0D 0A 3C 53 4F 41 50 2D UTF-8"?>..<SOAP-0x000001F0 45 4E 56 3A 45 6E 76 65 6C 6F 70 65 20 78 6D 6C ENV:Envelope xml0x00000200 6E 73 3A 53 4F 41 50 2D 45 4E 56 3D 22 68 74 74 ns:SOAP-ENV="htt0x00000210 70 3A 2F 2F 77 77 77 2E 77 33 2E 6F 72 67 2F 32 p://www.w3.org/20x00000220 30 30 33 2F 30 35 2F 73 6F 61 70 2D 65 6E 76 65 003/05/soap-enve0x00000230 6C 6F 70 65 22 20 78 6D 6C 6E 73 3A 53 4F 41 50 lope" xmlns:SOAP0x00000240 2D 45 4E 43 3D 22 68 74 74 70 3A 2F 2F 77 77 77 -ENC="http://www0x00000250 2E 77 33 2E 6F 72 67 2F 32 30 30 33 2F 30 35 2F .w3.org/2003/05/0x00000260 73 6F 61 70 2D 65 6E 63 6F 64 69 6E 67 22 20 78 soap-encoding" x0x00000270 6D 6C 6E 73 3A 78 73 64 3D 22 68 74 74 70 3A 2F mlns:xsd="http:/0x00000280 2F 77 77 77 2E 77 33 2E 6F 72 67 2F 32 30 30 31 /www.w3.org/20010x00000290 2F 58 4D 4C 53 63 68 65 6D 61 22 20 78 6D 6C 6E /XMLSchema" xmln0x000002A0 73 3A 78 73 69 3D 22 68 74 74 70 3A 2F 2F 77 77 s:xsi="http://ww0x000002B0 77 2E 77 33 2E 6F 72 67 2F 32 30 30 31 2F 58 4D w.w3.org/2001/XM0x000002C0 4C 53 63 68 65 6D 61 2D 69 6E 73 74 61 6E 63 65 LSchema-instance0x000002D0 22 3E 0D 0A 3C 53 4F 41 50 2D 45 4E 56 3A 42 6F ">..<SOAP-ENV:Bo0x000002E0 64 79 3E 0D 0A 3C 6D 3A 65 63 68 6F 53 74 72 69 dy>..<m:echoStri0x000002F0 6E 67 20 78 6D 6C 6E 73 3A 6D 3D 22 68 74 74 70 ng xmlns:m="http0x00000300 3A 2F 2F 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 74 ://example.org/t0x00000310 73 2D 74 65 73 74 73 22 20 53 4F 41 50 2D 45 4E s-tests" SOAP-EN0x00000320 56 3A 65 6E 63 6F 64 69 6E 67 53 74 79 6C 65 3D V:encodingStyle=0x00000330 22 68 74 74 70 3A 2F 2F 77 77 77 2E 77 33 2E 6F "http://www.w3.o0x00000340 72 67 2F 32 30 30 33 2F 30 35 2F 73 6F 61 70 2D rg/2003/05/soap-0x00000350 65 6E 76 65 6C 6F 70 65 2F 65 6E 63 6F 64 69 6E envelope/encodin0x00000360 67 2F 6E 6F 6E 65 22 3E 0D 0A 3C 69 6E 70 75 74 g/none">..<input0x00000370 53 74 72 69 6E 67 20 53 4F 41 50 2D 45 4E 56 3A String SOAP-ENV:0x00000380 65 6E 63 6F 64 69 6E 67 53 74 79 6C 65 3D 22 68 encodingStyle="h0x00000390 74 74 70 3A 2F 2F 77 77 77 2E 77 33 2E 6F 72 67 ttp://www.w3.org0x000003A0 2F 32 30 30 33 2F 30 35 2F 73 6F 61 70 2D 65 6E /2003/05/soap-en0x000003B0 63 6F 64 69 6E 67 22 3E 54 68 69 73 20 69 73 20 coding">This is 0x000003C0 61 20 74 65 73 74 2E 3C 2F 69 6E 70 75 74 53 74 a test.</inputSt0x000003D0 72 69 6E 67 3E 0D 0A 3C 2F 6D 3A 65 63 68 6F 53 ring>..</m:echoS0x000003E0 74 72 69 6E 67 3E 0D 0A 3C 2F 53 4F 41 50 2D 45 tring>..</SOAP-E0x000003F0 4E 56 3A 42 6F 64 79 3E 0D 0A 3C 2F 53 4F 41 50 NV:Body>..</SOAP0x00000400 2D 45 4E 56 3A 45 6E 76 65 6C 6F 70 65 3E 00 -ENV:Envelope>.The positive response from the SOAP Server :0x00000000 48 54 54 50 2F 31 2E 31 20 32 30 30 20 4F 4B 0D HTTP/1.1 200 OK.0x00000010 0A 44 61 74 65 3A 20 57 65 64 2C 20 32 36 20 41 .Date: Wed, 26 A0x00000020 70 72 20 32 30 30 36 20 32 33 3A 34 35 3A 30 34 pr 2006 23:45:040x00000030 20 47 4D 54 0D 0A 53 65 72 76 65 72 3A 20 57 68 GMT..Server: Wh0x00000040 69 74 65 4D 65 73 61 20 53 4F 41 50 20 53 65 72 iteMesa SOAP Ser0x00000050 76 65 72 2F 33 2E 32 0D 0A 43 6F 6E 74 65 6E 74 ver/3.2..Content0x00000060 2D 54 79 70 65 3A 20 61 70 70 6C 69 63 61 74 69 -Type: applicati0x00000070 6F 6E 2F 73 6F 61 70 2B 78 6D 6C 3B 20 63 68 61 on/soap+xml; cha0x00000080 72 73 65 74 3D 22 75 74 66 2D 38 22 0D 0A 43 6F rset="utf-8"..Co0x00000090 6E 74 65 6E 74 2D 4C 65 6E 67 74 68 3A 20 34 33 ntent-Length: 430x000000A0 38 0D 0A 43 6F 6E 6E 65 63 74 69 6F 6E 3A 20 63 8..Connection: c0x000000B0 6C 6F 73 65 0D 0A 0D 0A 3C 3F 78 6D 6C 20 76 65 lose....<?xml ve0x000000C0 72 73 69 6F 6E 3D 22 31 2E 30 22 20 65 6E 63 6F rsion="1.0" enco0x000000D0 64 69 6E 67 3D 22 55 54 46 2D 38 22 3F 3E 3C 53 ding="UTF-8"?><S0x000000E0 4F 41 50 2D 45 4E 56 3A 45 6E 76 65 6C 6F 70 65 OAP-ENV:Envelope0x000000F0 20 78 6D 6C 6E 73 3A 53 4F 41 50 2D 45 4E 56 3D xmlns:SOAP-ENV=0x00000100 22 68 74 74 70 3A 2F 2F 77 77 77 2E 77 33 2E 6F "http://www.w3.o0x00000110 72 67 2F 32 30 30 33 2F 30 35 2F 73 6F 61 70 2D rg/2003/05/soap-0x00000120 65 6E 76 65 6C 6F 70 65 22 3E 3C 53 4F 41 50 2D envelope"><SOAP-0x00000130 45 4E 56 3A 42 6F 64 79 3E 3C 6D 3A 65 63 68 6F ENV:Body><m:echo0x00000140 53 74 72 69 6E 67 52 65 73 70 6F 6E 73 65 20 53 StringResponse S0x00000150 4F 41 50 2D 45 4E 56 3A 65 6E 63 6F 64 69 6E 67 OAP-ENV:encoding0x00000160 53 74 79 6C 65 3D 22 68 74 74 70 3A 2F 2F 77 77 Style="http://ww0x00000170 77 2E 77 33 2E 6F 72 67 2F 32 30 30 33 2F 30 35 w.w3.org/2003/050x00000180 2F 73 6F 61 70 2D 65 6E 63 6F 64 69 6E 67 22 20 /soap-encoding" 0x00000190 78 6D 6C 6E 73 3A 6D 3D 22 68 74 74 70 3A 2F 2F xmlns:m="http://0x000001A0 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 74 73 2D 74 example.org/ts-t0x000001B0 65 73 74 73 22 3E 3C 53 4F 41 50 2D 52 50 43 3A ests"><SOAP-RPC:0x000001C0 72 65 73 75 6C 74 20 78 6D 6C 6E 73 3A 53 4F 41 result xmlns:SOA0x000001D0 50 2D 52 50 43 3D 22 68 74 74 70 3A 2F 2F 77 77 P-RPC="http://ww0x000001E0 77 2E 77 33 2E 6F 72 67 2F 32 30 30 33 2F 30 35 w.w3.org/2003/050x000001F0 2F 73 6F 61 70 2D 72 70 63 22 3E 72 65 74 75 72 /soap-rpc">retur0x00000200 6E 3C 2F 53 4F 41 50 2D 52 50 43 3A 72 65 73 75 n</SOAP-RPC:resu0x00000210 6C 74 3E 3C 72 65 74 75 72 6E 3E 54 68 69 73 20 lt><return>This 0x00000220 69 73 20 61 20 74 65 73 74 2E 3C 2F 72 65 74 75 is a test.</retu0x00000230 72 6E 3E 3C 2F 6D 3A 65 63 68 6F 53 74 72 69 6E rn></m:echoStrin0x00000240 67 52 65 73 70 6F 6E 73 65 3E 3C 2F 53 4F 41 50 gResponse></SOAP0x00000250 2D 45 4E 56 3A 42 6F 64 79 3E 3C 2F 53 4F 41 50 -ENV:Body></SOAP0x00000260 2D 45 4E 56 3A 45 6E 76 65 6C 6F 70 65 3E 00 -ENV:Envelope>.The SOAP/HTTP call from the IBM Mainframe :0x00000000 50 4F 53 54 20 2F 73 6F 61 70 31 32 2F 74 65 73 POST /soap12/tes0x00000010 74 2D 72 70 63 20 48 54 54 50 2F 31 2E 30 0D 0A t-rpc HTTP/1.0..0x00000020 48 6F 73 74 3A 20 31 37 32 2E 32 30 2E 36 37 2E Host: 172.20.67.0x00000030 31 34 3A 38 30 38 30 0D 0A 55 73 65 72 2D 61 67 14:8080..User-ag0x00000040 65 6E 74 3A 20 43 49 43 53 2D 54 72 61 6E 73 61 ent: CICS-Transa0x00000050 63 74 69 6F 6E 2D 53 65 72 76 65 72 2F 7A 4F 53 ction-Server/zOS0x00000060 2D 32 2E 32 2E 30 0D 0A 53 4F 41 50 41 63 74 69 -2.2.0..SOAPActi0x00000070 6F 6E 3A 20 22 22 0D 0A 43 6F 6E 74 65 6E 74 2D on: ""..Content-0x00000080 54 79 70 65 3A 20 74 65 78 74 2F 78 6D 6C 3B 20 Type: text/xml; 0x00000090 63 68 61 72 73 65 74 3D 69 73 6F 2D 38 38 35 39 charset=iso-88590x000000A0 2D 31 0D 0A 43 6F 6E 74 65 6E 74 2D 4C 65 6E 67 -1..Content-Leng0x000000B0 74 68 3A 20 35 33 35 0D 0A 0D 0A 3C 53 4F 41 50 th: 535....<SOAP0x000000C0 2D 45 4E 56 3A 45 6E 76 65 6C 6F 70 65 20 78 6D -ENV:Envelope xm0x000000D0 6C 6E 73 3A 53 4F 41 50 2D 45 4E 56 3D 22 68 74 lns:SOAP-ENV="ht0x000000E0 74 70 3A 2F 2F 73 63 68 65 6D 61 73 2E 78 6D 6C tp://schemas.xml0x000000F0 73 6F 61 70 2E 6F 72 67 2F 73 6F 61 70 2F 65 6E soap.org/soap/en0x00000100 76 65 6C 6F 70 65 2F 22 20 20 78 6D 6C 6E 73 3A velope/" xmlns:0x00000110 53 4F 41 50 2D 45 4E 43 3D 27 68 74 74 70 3A 2F SOAP-ENC='http:/0x00000120 2F 77 77 77 2E 77 33 2E 6F 72 67 2F 32 30 30 33 /www.w3.org/20030x00000130 2F 30 35 2F 73 6F 61 70 2D 65 6E 63 6F 64 69 6E /05/soap-encodin0x00000140 67 27 20 78 6D 6C 6E 73 3A 78 73 64 3D 27 68 74 g' xmlns:xsd='ht0x00000150 74 70 3A 2F 2F 77 77 77 2E 77 33 2E 6F 72 67 2F tp://www.w3.org/0x00000160 32 30 30 31 2F 58 4D 4C 53 63 68 65 6D 61 27 20 2001/XMLSchema' 0x00000170 78 6D 6C 6E 73 3A 78 73 69 3D 27 68 74 74 70 3A xmlns:xsi='http:0x00000180 2F 2F 77 77 77 2E 77 33 2E 6F 72 67 2F 32 30 30 //www.w3.org/2000x00000190 31 2F 58 4D 4C 53 63 68 65 6D 61 2D 69 6E 73 74 1/XMLSchema-inst0x000001A0 61 6E 63 65 27 3E 3C 53 4F 41 50 2D 45 4E 56 3A ance'><SOAP-ENV:0x000001B0 42 6F 64 79 3E 3C 6D 3A 65 63 68 6F 53 74 72 69 Body><m:echoStri0x000001C0 6E 67 20 6D 3D 27 68 74 74 70 3A 2F 2F 65 78 61 ng m='http://exa0x000001D0 6D 70 6C 65 2E 6F 72 67 2F 74 73 2D 74 65 73 74 mple.org/ts-test0x000001E0 73 27 20 53 4F 41 50 2D 45 4E 56 3A 65 6E 63 6F s' SOAP-ENV:enco0x000001F0 64 69 6E 67 53 74 79 6C 65 3D 27 68 74 74 70 3A dingStyle='http:0x00000200 2F 2F 77 77 77 2E 77 33 2E 6F 72 67 2F 32 30 30 //www.w3.org/2000x00000210 33 2F 30 35 2F 73 6F 61 70 2D 65 6E 76 65 6C 6F 3/05/soap-envelo0x00000220 70 65 2F 65 6E 63 6F 64 69 6E 67 2F 6E 6F 6E 65 pe/encoding/none0x00000230 27 3E 3C 69 6E 70 75 74 53 74 72 69 6E 67 20 53 '><inputString S0x00000240 4F 41 50 2D 45 4E 56 3A 65 6E 63 6F 64 69 6E 67 OAP-ENV:encoding0x00000250 53 74 79 6C 65 3D 27 68 74 74 70 3A 2F 2F 77 77 Style='http://ww0x00000260 77 2E 77 33 2E 6F 72 67 2F 32 30 30 33 2F 30 35 w.w3.org/2003/050x00000270 2F 73 6F 61 70 2D 65 6E 63 6F 64 69 6E 67 27 3E /soap-encoding'>0x00000280 54 68 69 73 20 69 73 20 61 20 74 65 73 74 2E 3C This is a test.<0x00000290 2F 69 6E 70 75 74 53 74 72 69 6E 67 3E 3C 2F 6D /inputString></m0x000002A0 3A 65 63 68 6F 53 74 72 69 6E 67 3E 3C 2F 53 4F :echoString></SO0x000002B0 41 50 2D 45 4E 56 3A 42 6F 64 79 3E 0D 0A 3C 2F AP-ENV:Body>..</0x000002C0 53 4F 41 50 2D 45 4E 56 3A 45 6E 76 65 6C 6F 70 SOAP-ENV:Envelop0x000002D0 65 3E 00 e>.The negative response from the SOAP Server:0x00000000 48 54 54 50 2F 31 2E 30 20 34 30 30 20 42 61 64 HTTP/1.0 400 Bad0x00000010 20 52 65 71 75 65 73 74 0D 0A 43 6F 6E 74 65 6E Request..Conten0x00000020 74 20 54 79 70 65 3A 20 74 65 78 74 2F 68 74 6D t Type: text/htm0x00000030 6C 0D 0A 0D 0A 3C 48 45 41 44 3E 3C 54 49 54 4C l....<HEAD><TITL0x00000040 45 3E 34 30 30 20 42 61 64 6C 79 20 46 6F 72 6D E>400 Badly Form0x00000050 65 64 20 52 65 71 75 65 73 74 3C 2F 54 49 54 4C ed Request</TITL0x00000060 45 3E 3C 2F 48 45 41 44 3E 0A 3C 42 4F 44 59 3E E></HEAD>.<BODY>0x00000070 3C 48 31 3E 34 30 30 20 42 61 64 6C 79 20 46 6F <H1>400 Badly Fo0x00000080 72 6D 65 64 20 52 65 71 75 65 73 74 3C 2F 48 31 rmed Request</H10x00000090 3E 0A 54 68 65 20 72 65 71 75 65 73 74 20 68 61 >.The request ha0x000000A0 64 20 62 61 64 20 73 79 6E 74 61 78 20 6F 72 20 d bad syntax or 0x000000B0 77 61 73 20 69 6E 68 65 72 65 6E 74 6C 79 20 69 was inherently i0x000000C0 6D 70 6F 73 73 69 62 6C 65 20 74 6F 20 62 65 20 mpossible to be 0x000000D0 73 61 74 69 73 66 69 65 64 2E 3C 42 52 3E 0A 3C satisfied.<BR>.<0x000000E0 2F 42 4F 44 59 3E 0D 0A 00 /BODY>...Thanks for your expert help in advance.Joseph

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...