Originally posted by vishal degweker
Not sure what i am doing wrong here. Getting error "Unable to handle request without a valid action parameter. Please supply a valid soap action"
Script i am using:
proc tps_abc_soap_message { args } {
set module "tps_abc_soap_message"
package require base64
keylget args MODE mode
set dispList {}
switch -exact -- $mode {
start {}
run {
keylget args MSGID mh
set msg [msgget $mh]
set Message [base64::encode $msg]
msgset $mh [subst {xmlns:tem="
http://tempuri.org/">xyzxyz<tem:MESSAGEDATA><![CDATA[$Message]]></tem:MESSAGEDATA></tem:Request_x0020_or_x0020_Post_x0020_Information_x0020_from_x0020_the_x0020_Immunization_x0020_Registry>}]
lappend dispList "CONTINUE $mh"
}
time {}
shutdown {}
default {}
}
return $dispList
}
****************************
However this works in SOAP UI:
SOAP UI (WORKING):
<soap:Envelope xmlns:soap="
http://www.w3.org/2003/05/soap-envelope" xmlns:tem="
http://tempuri.org/">
<soap:Header/>
<soap:Body>
<tem:Request_x0020_or_x0020_Post_x0020_Information_x0020_from_x0020_the_x0020_Immunization_x0020_Registry>
<!--Optional:-->
<tem:PASSWORD>xyz</tem:PASSWORD>
<!--Optional:-->
<tem:FACILITYID>xyz</tem:FACILITYID>
<!--Optional:-->
<tem:MESSAGEDATA><![CDATA[Message Masked]]></tem:MESSAGEDATA>
</tem:Request_x0020_or_x0020_Post_x0020_Information_x0020_from_x0020_the_x0020_Immunization_x0020_Registry>
</soap:Body>
</soap:Envelope>